html基础布局介绍_html/css_WEB-ITnose
Jun 21, 2016 am 09:00 AM
通过百度的源代码为例,来介绍html的基础布局
1.百度首页源代码
baidu.jpg
2.依次介绍html的基础布局
从头开始依次介绍
2.1. 2.1.1.用处
html的头文件,因为html有很多版本,浏览器只有知道html的确切版本,才能正确的显示出html页面信息。因此这就是头文件的作用,用来声音html的版本
2.1.2.用法规范
它必须是html文档的第一行,位于标签之前,并且值得注意的是,它不是一个标签ps:这里是html5的声明
2.2.
所有的html文件都必须包含在html文件当中,如果把一个人比作一个html,那这个人的一切(
、),都必须包含在当中2.3.
2.3.1用处
是html文档的头部信息,它用来描述html的各种属性和信息,例如编码格式,标题,或者文字显示形式,通常这部分信息不会作为内容真正给读者显示2.3.2用法规范
应该把
标签放在文档的开始处,紧跟在 后面,并处于 标签或
Hot Article

Hot tools Tags

Hot Article

Hot Article Tags

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

Difficulty in updating caching of official account web pages: How to avoid the old cache affecting the user experience after version update?

How do I use HTML5 form validation attributes to validate user input?

How to efficiently add stroke effects to PNG images on web pages?

What is the purpose of the <iframe> tag? What are the security considerations when using it?

What are the security implications of using iframes, and how can I mitigate them?

How do I use the HTML5 <meter> element to display numerical data within a range?

What are the best practices for cross-browser compatibility in HTML5?

How do I use HTML links effectively for navigation and SEO?
