HTML learning "HTML elements"

Source: Internet
Author: User

HTML Elements

HTML elements are all the code from the start tag to the end tag.


HTML element Syntax

    • The HTML element begins with the start of the tag and terminates at the end tag.

    • element content is the content between the start tag and the end tag.

    • HTML elements can be empty content.

    • Empty elements are closed in the start tag (ending with the end of the start tag).

    • HTML elements can have properties.


Nested HTML elements

    • Most HTML elements can be nested (including other HTML elements).

    • HTML documents are composed of nested HTML elements.

HTML Element Example

The results show:

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/49/16/wKiom1QOr7LwdFmnAABpuH89cWo729.jpg "title=" 2014-09-09 15_02_08-my First HTML document.png "alt=" Wkiom1qor7lwdfmnaabpuh89cwo729.jpg "/>

This article comes from the "action speaks louder Than Words" blog, so be sure to keep this source http://vikxiao.blog.51cto.com/9189404/1550247

HTML learning "HTML elements"

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.