HTML Basic-chapter3

Source: Internet
Author: User

HTML Basic Examples

HTML Documents

All HTML documents must start with a documents type declaration:<! DOCTYPE html>

The HTML document itself begins with

The visible part of the HTML document is between <body> and </body>.

HTML headings

HTML headings is defined with the

Example

HTML paragraphs

HTML paragraphs is defined with the <p> tag:

Example

<p>this is a paragraph.</p>

<p>this is another paragraph.</p>

HTML Links

HTML links is defined with the <a>tag:

Example

<a href= "http://www.w3schools.com" >this is a link</a>

The link ' s destination is specified in the href attribute.

Attributes is used to provide additional information about HTML elements.

HTML Images

HTML images is defined with the tag.

The source file (SRC), alternative text (ALT), and size (width and height) are provided as attributes:

Example

HTML Basic-chapter3

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.