2015年10月15日学习html基础笔记_html/css_WEB-ITnose
一个互联网公司的分工,小公司要求全能,拿一个项目全部做出来。大公司分工明细,主要步奏为策划人员策划方案,美工人员设计图有.psd.rp等,前端人员做静态页面,后台人员获取数据java php .net。无论是处于那块的人员,都要对于其他的有所了解。
www网页服务,FTP文件上传下载,telnet远程控制
Apache2.2服务器
windows+r=运行,输入services.msc调出服务控制台
本地:127.0.0.1,访问自己本地服务器,需要使用Apache架起服务器之后,将文件放置到htdocs文件夹当中。安装Apache时要注意不能有中文文字不能有空格,可以直接安装到C盘下,不要安装到默认文件夹中。
主要使用的测试浏览器有IE、firefox、chrome、opera、safari
服务器端技术与客户端技术
常见的服务器端技术(运行在服务器上):
JSP/PHP/ASPX
(前端)常见的客户端技术(运行在浏览器上):
HTML/CSS/JS/SWF(flash)
计算机语言,HTML与JAVA/C/PHP不同,一门语言有三种结构,顺序执行、循环执行、选择执行。HTML里没有循环、选择等基本结构,只有纯文本和52个标签。
双标记标签:文本标签名>
单标记标签: 单标记标签中不能包含内容
水平线
换行
Meta标记的使用
多个关键字内容之间可以用“,”分割
设置描述:
设置作者:
设置字符集:或者utf-8
gb2312主要用于中文文字较多的,而utf-8是国标,在国际上使用较多。
设置页面定时跳转:
html与xhtml的区别,xhtml首先所有字母都小写,其次所有标记都要有关闭。
格式:内容标记>
不同标签具有不同的属性,所有标签都具备以下四个属性:
id:整个文档每个标签可以声明一个唯一的id号
style:为元素指定css样式
class:指定元素所属的类型
title:指定标签的弹出提示语
写代码前需要声明文档类型,否则会影响到css和javascript的解释执行,很多效果就会出不来。
文档类型声明:(所有工具都能生成这句话)
UTLIC “-//W3C//DTD XHTML1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”>
windows+d可以将桌面调出来。
meta data:元数据-描述数据的数据(视频1day02视频1的35分)
元数据,写在head里面title上面比较好,这样会告诉浏览器以下的文字内容以这个标准来解析。避免出现乱码问题。
转义字符:
正常来说是无法显示的,会被认为是告诉浏览器的语言,所以需要使用转义字符来显示到前台。
基本格式:&xxxx
空格 是
& 是&
© 是©
? 是™
® 是®;
XHTML中不使用描述样式,都是使用CSS来控制样式,而在html中描述样式和描述语义是混杂的。例如和,前面是描述样式,后面是描述语义,在xhtml中描述样式标签就不可存在了。xhtml中,代替。
如今新网页中大多都是用的xhtml,为什么html却没被废弃呢?因为之前很多老网页没有修改过,都还是用的描述样式的方式,所以无法废弃,只是新的不再使用。
html元素类型,共有100多个元素类型,差不多各占一半,有的只能用于区块元素中,有的只能用于内联元素中。如果区块元素的用于内联元素中,那么效果就不会显示出来。
- 区块元素(block),必须自己独立占一行,例如
- 内联元素(inline),自己有多宽就占多宽,同时也与其他的处于同一行中。
区块标签:
到
Copy after login

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics

The official account web page update cache, this thing is simple and simple, and it is complicated enough to drink a pot of it. You worked hard to update the official account article, but the user still opened the old version. Who can bear the taste? In this article, let’s take a look at the twists and turns behind this and how to solve this problem gracefully. After reading it, you can easily deal with various caching problems, allowing your users to always experience the freshest content. Let’s talk about the basics first. To put it bluntly, in order to improve access speed, the browser or server stores some static resources (such as pictures, CSS, JS) or page content. Next time you access it, you can directly retrieve it from the cache without having to download it again, and it is naturally fast. But this thing is also a double-edged sword. The new version is online,

The article discusses using HTML5 form validation attributes like required, pattern, min, max, and length limits to validate user input directly in the browser.

Article discusses best practices for ensuring HTML5 cross-browser compatibility, focusing on feature detection, progressive enhancement, and testing methods.

This article demonstrates efficient PNG border addition to webpages using CSS. It argues that CSS offers superior performance compared to JavaScript or libraries, detailing how to adjust border width, style, and color for subtle or prominent effect

The article discusses the HTML <datalist> element, which enhances forms by providing autocomplete suggestions, improving user experience and reducing errors.Character count: 159

The article discusses the HTML <meter> element, used for displaying scalar or fractional values within a range, and its common applications in web development. It differentiates <meter> from <progress> and ex

This article explains the HTML5 <time> element for semantic date/time representation. It emphasizes the importance of the datetime attribute for machine readability (ISO 8601 format) alongside human-readable text, boosting accessibilit

The article discusses the HTML <progress> element, its purpose, styling, and differences from the <meter> element. The main focus is on using <progress> for task completion and <meter> for stati
