Basic understanding of HTML tags and attributes

Source: Internet
Author: User
Tags closing tag opening and closing tags
Basic understanding of tags and attributes:
  1. The contents of an HTML page are mainly composed of "elements" or "tags". Use tags to describe the contents of a Web page.
  2. Tag tags are usually paired, starting and closing tags, or opening and closing tags, such as <b> and </b>;
  3. The HTML5 specification redefined and combed the label, and the label list is basically the page element that HTML5 can support;
  4. Most tags can have attributes, which are descriptions or constraints on the characteristics of a particular aspect of the label;
  5. Attributes are generally described in the start tag, not in the closing tag;
  6. Attributes are always in the form of name/value pairs, such as: Name= "value";
  7. 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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.