Home  >  Article  >  Web Front-end  >  Detailed graphic and text explanation of escaping entity characters, metadata, jumps and global attributes in HTML5

Detailed graphic and text explanation of escaping entity characters, metadata, jumps and global attributes in HTML5

黄舟
黄舟Original
2017-06-18 13:29:372519browse
  1. 实体

    Html 实体就是把特殊字符通过代码显示出来, 比如, <>在浏览器会识别为标签,不能正常显示, 这是你就需要安如<去表达左尖括号.

 

 

  1. 元数据

    2. 声明字符编码

    3.模拟http表头字段 跳转页面

     

  2. 全局属性

    id    配合css js 表示式样  页面内唯一性

    class         class 属性用来给元素归类, 通过文档中某一个或者多个元素同时设置css样式

    id用"#"连接样式

    class 用"."来连接样式

 

contenteditable 能暂时直接修改文本

dir 设置文本的方向

 

hidden    隐藏元素

lang     设置语言 不单在建表的时候设置语言, 还可以在局部设置.

title    对元素的内容尽量额外提示(鼠标悬停)

tabindex    

style

 

 

The above is the detailed content of Detailed graphic and text explanation of escaping entity characters, metadata, jumps and global attributes in HTML5. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn