Home > Web Front-end > H5 Tutorial > body text

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

黄舟
Release: 2017-06-18 13:29:37
Original
2589 people have browsed it
  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!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template