Related articles: Beginners come into contact with HTML to learn about some HTML tags (5)
These introduced HTML tags do not necessarily comply with the XHTML specification. You should make some choices when making actual layouts, such as: B marks and FONT marks, which do not comply with XHTML specifications.
1. Basic TAG elements
--------------------------------------------------------------------------
File format <HTML></HTML> (the beginning and end of the HTML file)
Topic <TITLE></TITLE> (must be placed in the header section)
Header section <HEAD></HEAD> (Description file, such as "theme")
Internal text section <BODY></BODY> (Content)
2. Elements related to structure
--------------------------------------------------------------------------
Title <H?></H?> (There are six types: H1, H2, H3, H4, H5, H6)
Title Alignment <H? ALIGN=LEFT|CENTER|RIGHT></H?>
Section <DIV></DIV>
Section Alignment <DIV ALIGN=LEFT|RIGHT|CENTER></DIV>
Short quotes <Q> and</Q>
It is for some referenced files, if the referenced part is not long. Then you can consider using this tag, which is the new syntax of HTML3.0.
Citation section
<BLOCKQUOTE></BLOCKQUOTE> (It is usually retracted when displayed) blockquote is used to indicate that a file in the area refers to a person or information in a file. Usually quoted texts are used with <BLOCKQUOTE>
</BLOCKQUOTE> If you want to mark them. Then most browsers will express these words in another way when reading them. Such a representation is just a reminder that this is the part that quotes others.
Emphasis <EM></EM> (usually displayed in italics)
Strongly stressed <STRONG></STRONG> (usually shown in bold) This extraordinary strengthening character is STRONG this and
EM is just a way to enhance the tone. Most browsers use bold bold to represent words marked by <STRONG> and</STRONG>.
Quotation statement <CITE></CITE> (usually displayed in italics) Use <CITE> and </CITE> to mark quotes to others
Program original code <CODE></CODE> If readers write some computer-related things, they can use CODE
This tag marks some related words, and uses <CODE> and </CODE> to mark related words.
Program output sample <SAMP></SAMP> is not repaired in HTML, if you want to print out HTML
syntax. Then readers may need to use some extraordinary skills to print these characters. And outside these characters, readers can use SAMP
This symbol marks them. The feature of this tag is that the marked text will be represented by a fixed width.
Keyboard input <KBD></KBD> KBD This tag is usually used to tell readers what words they can type in, and these are marked as
KBD characters are usually represented in bold characters of fixed width. However, some browsers only represent characters of fixed width.
Program variable <VAR></VAR> provides a HTML for some words that may be changed.
VAR tags to show it, this tag means variables or words that may be easily changed, etc. You can use <VAR> and
<VAR> to mark them. This reminds the user that these variables may change.
Definition <DFN></DFN> (Some browsers do not have this function) If the reader is in HTML
What is used are some definition words. Then readers can consider using the DFN tag. If the reader uses Mosaic browser. Then by <DFN>
</DFN>The marked text will be represented in italics. Other browsers may not be sure. 5 pages in total Previous page 12345Next page