Blogger Information
Blog 94
fans 0
comment 0
visits 91660
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
【HTMLl】html 基础(结构-元素-emmet语法)
可乐随笔
Original
384 people have browsed it

1. html 文档结构

  1. element = tag + attribute
  2. 元素 = 标签 + 属性
  3. html文档 =+
  4. html文档根元素 =+

2.html 渲染方式

  1. 自动修复: 校正语法,缺失元素
  2. 显示顺序: 书写顺序一致,左->右,上->下,同步/异步.

3. html 页面三宝

  1. element: DOM元素
  2. css: 层叠样式表
  3. JavaScript: 前端脚本

4. html 渲染

  1. 排列顺序: 可以自定义
  2. 元素类型:
    • 块 block:h1,p,div,ul,table,footer,nav等等;
    • 行内 inline:a,li等;
    • 行内块 inline-block: 通常用来描述外部资源,图像,视频,表单控件等;
  3. 行内元素,默认”水平排列”, 自动换行,默认从左到右显示;
  4. 可以通过自定义布局和JS调整显示位置;

5. Emmet语法

       
Correcting teacher:PHPzPHPz

Correction status:qualified

Teacher's comments:
Statement of this Website
The copyright of this blog article belongs to the blogger. Please specify the address when reprinting! If there is any infringement or violation of the law, please contact admin@php.cn Report processing!
All comments Speak rationally on civilized internet, please comply withNews Comment Service Agreement
0 comments
Author's latest blog post
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!