The main syntax for HTML is elements and tags. Elements are part of a document that conforms to a DTD (document type definition), such as title (document title), IMG (image), table (table), and so on. Element names are case-insensitive. HTML uses tags to specify the attributes of the element and its position in the document. Labels are separated by separate labels and paired occurrences of the label in both. Most of the labels are paired, with the first label and the tail tag. The format of the first label is the < element name, and the tail label is </element name >. A paired label is used to specify the range of elements contained in the element, such as <title> and </title> tags, which define the range of the heading elements, i.e. The section between <title>**</title> is the title of the HTML document. The format of the individual label is the < element name, and its function is to insert the element at the appropriate position. such as the <BR> tag indicates that a newline character is inserted where the label is located.
The
1, 2, <title> tags are paired. Used to specify the title of the HTML document. The content between <title> and </title> is displayed in the title bar of the Web browser window. For example:
<title> This is a test page </title>
<isindex> tag is a separate label that is used to specify the properties of the document, which indicates that the document can be indexed by keyword, and we use a simple code to illustrate the role of the tag. You can copy the code to your own browser to see the effect.
<title> This is a "isinndex" case </title>
<isindex>
</ Head>
<body>
where you can search for the index. Please type the keyword you want to search "is automatically added to IE browser." When a browser types a keyword to be queried in a blank text bar and presses ENTER to confirm, the cursor moves to that keyword or to the word that contains the keyword. At this point, the word matching the keyword Fu Yiliang blue.
The grammatical basis and rules of the HTM language