Home >Web Front-end >HTML Tutorial >Beginners get in touch with HTML and learn about some HTML tags (2)_HTML/Xhtml_Web page production
Related articles: Beginners get in touch with HTML and learn some HTML tags (1)
Beginners come into contact with HTML and understand some HTML tags. They are introduced one after another. It can help beginners learn HTML, or it can be used as a reference for friends who have already started!
The HTML tags introduced may not fully comply with the XHTML specification. You should make some choices in actual layout, such as: B mark, FONT mark,
Related articles: Beginners come into contact with HTML and learn some HTML tags (1)
Beginners come into contact with HTML and learn some HTML tags. They are introduced one after another. They can help beginners learn HTML, or friends who have already started as a The reference is pretty good too!
The HTML tags introduced may not fully comply with the XHTML specification. You should make some choices when making the actual layout. For example, B tags and FONT tags do not comply with XHTML specifications.
21------------------------------------------------ --------------------------
<COL
ALIGN=CENTER|LEFT |RIGHT
CLASS=classname
ID=value
SPAN=n
STYLE=css1-properties
TITLE=text
VALIGN=BASELINE|BOTTOM|MIDDLE|TOP
WIDTH =n
>
Description: Define the attributes of a column in TABLE. No closing tag is required.
22------------------------------------------------ ----------------------------------
<COLGROUP
ALIGN=CENTER|LEFT|RIGHT
CLASS=classname
ID=value
SPAN=n
STYLE=css1-properties
TITLE=text
VALIGN=BASELINE |BOTTOM|MIDDLE|TOP
WIDTH=n
>
Description: Used to define a column group in TABLE. No closing tag is required.
23------------------------------------------------ ----------------------------------
<COMMENT
ID=value
LANG=language
TITLE=text
>
Description: Comment mark, not recommended. It is recommended to use .
24------------------------------------------------ -------------------------------------
<DD
CLASS=classname
ID=value
LANG=language
LANGUAGE=JAVASCRIPT|JSCRIPT|VBSCRIPT|VBS
STYLE=css1-properties
TITLE=text
event=script
>
Description: Explain a term in the list, displayed to the right. The closing tag is optional.
25------------------------------------------------ ----------------------------------
<DEL
CLASS=classname
ID=value
LANG=language
LANGUAGE=JAVASCRIPT|JSCRIPT|VBSCRIPT|VBS
STYLE=css1-properties
TITLE=text
event =script
>
Description: Indicates that the text has been deleted from the document. A closing tag is required.
26------------------------------------------------ ----------------------------------
<DFN
CLASS=classname
ID=value
LANG=language
LANGUAGE=JAVASCRIPT|JSCRIPT|VBSCRIPT|VBS
STYLE=css1-properties
TITLE=text
event =script
>
Description: Define a term. A closing tag is required.
27------------------------------------------------ ----------------------------------
<DIR
CLASS=classname
ID=value
LANG=language
LANGUAGE=JAVASCRIPT|JSCRIPT|VBSCRIPT|VBS
STYLE=css1-properties
TITLE=text
event =script
>
Description: Represents a series of short entries. The text after this begins with LI and should not exceed 20 characters each.
28------------------------------------------------ ----------------------------------
<p
ALIGN=CENTER|LEFT|RIGHT
CLASS=classname
DATAFLD=colname
DATAFORMATAS=HTML|TEXT
DATASRC=#ID
ID=value
LANG= language
LANGUAGE=JAVASCRIPT|JSCRIPT|VBSCRIPT|VBS
STYLE=css1-properties
TITLE=text
event=script
>
Description: Describe different properties in the document Elements, such as chapters, paragraphs, abstracts, etc. A closing tag is required.
29------------------------------------------------ ----------------------------------
<DL
CLASS=classname
COMPACT
ID=value
LANG=language
LANGUAGE=JAVASCRIPT|JSCRIPT|VBSCRIPT|VBS
STYLE=css1-properties
TITLE=text
event=script
>
Description: Represents a list. DT and DD are used to define items in the list. A closing tag is required.
30------------------------------------------------ ----------------------------------
<DT
CLASS=classname
ID=value
LANG=language
LANGUAGE=JAVASCRIPT|JSCRIPT|VBSCRIPT|VBS
STYLE=css1-properties
TITLE=text
event =script
>
Description: Define a term in the list, displayed in the left column. The closing tag is optional.
#p#
31---------------------------------------------- -------------------------------------
<EM
CLASS=classname
ID=value
LANG=language
LANGUAGE=JAVASCRIPT|JSCRIPT|VBSCRIPT|VBS
STYLE=css1-properties
TITLE=text
event=script
>
Description: used for text to be emphasized, usually displayed in italics. A closing tag is required.
32------------------------------------------------ ----------------------------------
<EMBED
ALIGN=ABSBOTTOM|ABSMIDDLE|BASELINE|BOTTOM|LEFT|MIDDLE|
RIGHT|TEXTTOP|TOP
ALT=text
CLASS=classname
CODE=filename
CODEBASE= url
HEIGHT=n
HSPACE=n
ID=value
NAME=name
SRC=url
STYLE=css1-properties
TITLE=text
UNITS= value
VSPACE=n
WIDTH=n
>
Description: Insert any type of document, but the user must have an application installed on their computer that can interpret such documents. A closing tag is required.
33------------------------------------------------ -------------------------------------
<FIELDSET
ALIGN=LEFT|CENTER|RIGHT
CLASS=classname
ID=value
LANG=language
LANGUAGE=JAVASCRIPT|JSCRIPT|VBSCRIPT|VBS
STYLE= css1-properties
TITLE=text
event=script
>
Description: Similar to p, it can be used to describe the relationship between a group of areas and can be nested. A closing tag is required.
34------------------------------------------------ ----------------------------------
<FONT
CLASS=classname
COLOR=color
FACE=font
ID=value
LANG=language
LANGUAGE=JAVASCRIPT|JSCRIPT|VBSCRIPT|VBS
SIZE=n
STYLE=css1-properties
TITLE=text
event=script
>
Description: Set font properties. A closing tag is required.
35------------------------------------------------ ----------------------------------
<FORM
ACTION=url
CLASS=classname
ENCTYPE=encoding
ID=value
LANG=language
LANGUAGE=JAVASCRIPT|JSCRIPT|VBSCRIPT|VBS
METHOD=GET |POST
NAME=name
STYLE=css1-properties
TARGET=window_name|_blank|_parent|_self|_top
TITLE=text
event=script
>
Description: Describes a form containing controls. A closing tag is required.
36------------------------------------------------ ----------------------------------
<FRAME
BORDERCOLOR=color
CLASS=classname
DATAFLD=colname
DATASRC=#ID
FRAMEBORDER=NO|YES|0|1
HEIGHT=n
ID= value
LANG=language
LANGUAGE=JAVASCRIPT|JSCRIPT|VBSCRIPT|VBS
MARGINHEIGHT=pixels
MARGINWIDTH=pixels
NAME=window_name|_blank|_parent|_self|_top
NORESIZE= NORESIZE|RESIZE
SCROLLING=AUTO|NO|YES
SRC=url
TITLE=text
WIDTH=n
event=script
>
Note: In FRAMESET Describes a single frame.
37------------------------------------------------ ----------------------------------
<FRAMESET
BORDER=pixels
BORDERCOLOR=color
CLASS=classname
COLS=col-widths
FRAMEBORDER=NO|YES|0|1
FRAMESPACING=spacing
ID =value
LANG=language
LANGUAGE=JAVASCRIPT|JSCRIPT|VBSCRIPT|VBS
ROWS=row-heights
TITLE=text
>
Description: Set levels in mixed documents , the number and size of vertical frames, use FRAME in FRAMESET to set the content and attributes of each frame. Can be used nested. A closing tag is required.
38------------------------------------------------ ----------------------------------
<HEAD
CLASS=classname
ID=value
TITLE=text
>
Description: Appears at the beginning of the document, indicating the title or introduction of the document, including the disorder of the document information. BASE, LINK, MATE, TITLE, BASEFONT, BGSOUND elements can be used in it. A closing tag is required.
39------------------------------------------------ ----------------------------------
<Hn
ALIGN=CENTER|LEFT|RIGHT
CLASS=classname
ID=value
LANG=language
LANGUAGE=JAVASCRIPT|JSCRIPT|VBSCRIPT|VBS
STYLE=css1-properties
TITLE=text
event=script
>
Description: From H1 to H6, six types of titles, displayed in bold. A closing tag is required.
40------------------------------------------------ ----------------------------------
<HR
ALIGN=CENTER|LEFT|RIGHT
CLASS=classname
COLOR=color
ID=value
LANG=language
LANGUAGE=JAVASCRIPT|JSCRIPT|VBSCRIPT|VBS
NOSHADE
SIZE=n
STYLE=css1-properties
TITLE=text
WIDTH=n
event=script
>
Description: Display a horizontal line. No closing tag.