First, HTML identity syntax basics

Source: Internet
Author: User
Tags tag name

the best way to learn HTML: Refer to someone else's Web page, source code.

1.HTML is a specific symbol used to describe the content of a Web page. HTML is not a programming language, but rather a descriptive language that describes how content is displayed in a Web page, such as what color and size the text displays.

2. How to view the source code: Open Web page, right mouse button, view the source file.

3.html Web files are viewed through a browser.

4. How to make an HTML Web page file: Create a new Notepad file and rename it to *.html; Enter the information for the Web page, plus an HTML identifier on both sides of the content to be decorated.

5.html the most basic syntax is:< identifier > content </identifier;. Identifiers are usually used in pairs, with an opening tag and an end tag.

Example: <font size= "7" > Content </font>

6.html Identification Syntax Summary

Single mark:< tag name > (single type, no attribute value), such as:<br/>;

< identity name attribute = "attribute value" > (single type, with attribute value), such as:

Double mark:< Tag name >...</identity name > (no attribute value), such as:<title>...<title/>;

< identity name attribute = "attribute value" >...</identification name > (with attribute value) such as: <font size= "7" >...</font>

A. Tags and attributes, separated by spaces.

B. Attributes are not prioritized, and properties are not required.

Note : Although the markup in HTML is not case-sensitive, all tokens in XHTML must be lowercase, so it is recommended that all tags be lowercase from now on.

First, HTML identity syntax basics

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.