《HTML入门笔记1》

99 阅读1分钟

《HTML入门笔记1》

1. HTML是由Tim Berners lee发明的,又称为李爵士
2. HTML起手应该写感叹号再按tab键
3. 常用的表章节的标签和意思有
  1. h1~h6-标题
  2. section-章节
  3. article-文章
  4. main-主要内容
  5. aside-旁支内容
  6. paragraph-段落
  7. header-头部
  8. footer-脚部
  9. div-划分。
4. 全局属性有
  1. class
  2. title
  3. style
  4. tabindex
  5. hidden
  6. id
  7. contenteditable。
  8. accesskey
  9. contextmenu
  10. data-*
  11. dir
  12. draggable
  13. dropzone
  14. lo
  15. ang
  16. spellcheck
  17. translate
5.常用的内容标签和意思有
  1. a-链接
  2. strong-重要的
  3. em-强调
  4. code-等宽
  5. pre-保留空格
  6. hr-分割线
  7. br-换行
  8. quote-引用
  9. block-quote快级引用
  10. ol+li-有序列表
  11. ul+li-无序列表
  12. dl+dt+dd-描述列表。