Basic understanding of tags and attributes:
- The contents of an HTML page are mainly composed of "elements" or "tags". Use tags to describe the contents of a Web page.
- Tag tags are usually paired, starting and closing tags, or opening and closing tags, such as <b> and </b>;
- The HTML5 specification redefined and combed the label, and the label list is basically the page element that HTML5 can support;
- Most tags can have attributes, which are descriptions or constraints on the characteristics of a particular aspect of the label;
- Attributes are generally described in the start tag, not in the closing tag;
- Attributes are always in the form of name/value pairs, such as: Name= "value";
- In Mac, command+? Comment on a line or uncomment it;
Several important tags: 1, iframe url This URL points to a different Web page. 2. CSS3, script scripts <script> tags are used to define client script, such as JavaScript. The <script> element can contain either a script statement or an external script file via the SRC attribute. JavaScript is most commonly used for picture operations, form validation, and dynamic content updates. 4, more tags, you can refer to the HTML reference manual: Http://www.runoob.com/tags/html-reference.html
Basic understanding of HTML tags and attributes