Home >Web Front-end >HTML Tutorial >Beginners get in touch with HTML and learn some HTML tags (3)_HTML/Xhtml_Web page production
Beginners come into contact with HTML and learn some HTML tags.
Related articles: Beginners get in touch with HTML and learn some HTML tags (2)
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.
41------
Beginners come into contact with HTML and understand some HTML tags.
Related articles: Beginners get in touch with HTML and learn about some HTML tags (2)
The HTML tags introduced do not necessarily 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.
41---------------------------------------- ----------------------------------
<HTML
TITLE=text
>
Description: HTML text starting element, informing the browser that the document is an HTML document. Knot markers required.
42------------------------------------------------ ----------------------------
<I
CLASS =classname
ID=value
LANG=language
LANGUAGE=JAVASCRIPT|JSCRIPT|VBSCRIPT|VBS
STYLE=css1-properties
TITLE=text
event=script
> ;
Description: Display the text in italics. A closing tag is required.
43------------------------------------------------ ----------------------------------
<IFRAME
ALIGN=ABSBOTTOM|ABSMIDDLE|BASELINE|BOTTOM|LEFT|MIDDLE|
RIGHT|TEXTTOP|TOP
BORDER=pixels
BORDERCOLOR=color
CLASS=classname
DATAFLD= colname
DATASRC=#ID
FRAMEBORDER=NO|YES|0|1
FRAMESPACING=pixels
HEIGHT=n
HSPACE=pixels
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
STYLE=css1-properties
TITLE=text
VSPACE=pixels
WIDTH=n
>
Note: In the documentation Embed a floating frame in it. A closing tag is required.
44------------------------------------------------ ----------------------------------
<IMG
ALIGN=ABSBOTTOM|ABSMIDDLE|BASELINE|BOTTOM|LEFT|MIDDLE|
RIGHT|TEXTTOP|TOP
ALT=text
BORDER=n
CLASS=classname
DATAFLD= colname
DATASRC=#ID
DYNSRC=url
HEIGHT=n
HSPACE=n
ID=value
ISMAP
LANG=language
LANGUAGE=JAVASCRIPT|JSCRIPT |VBSCRIPT|VBS
LOOP=n
LOWSRC=url
NAME=name
SRC=url
STYLE=css1-properties
TITLE=text
USEMAP=url
VSPACE=n
WIDTH=n
event=script
>
Description: Insert an image or video into the document.
45------------------------------------------------ ----------------------------------
<INPUT
ACCESSKEY=key
ALIGN=LEFT|CENTER|RIGHT
ALT=text
CLASS=classname
DISABLED
DYNSRC=url
ID=value
LANG =language
LANGUAGE=JAVASCRIPT|JSCRIPT|VBSCRIPT|VBS
LOWSRC=url
MAXLENGTH=n
NAME=name
READONLY
SIZE=n
SRC=url
STYLE=css1-properties
TABINDEX=n
TITLE=text
TYPE=BUTTON|CHECKBOX|FILE|HIDDEN|IMAGE|PASSWORD|RADIO|
RESET|SUBMIT|TEXT
VALUE= value
event=script
>
Description: Set the input control in FORM. The TYPE attribute indicates the control type and NAME needs to be set. No closing tag.
46------------------------------------------------ ----------------------------------
<INS
CLASS=classname
ID=value
LANG=language
LANGUAGE=JAVASCRIPT|JSCRIPT|VBSCRIPT|VBS
STYLE=css1-properties
TITLE=text
event =script
>
Description: Point out the text content of the newly added document. A closing tag is required.
47------------------------------------------------ ----------------------------------
<ISINDEX
CLASS=classname
ID=value
LANG=language
LANGUAGE=JAVASCRIPT|JSCRIPT|VBSCRIPT|VBS
STYLE=css1-properties
PROMPT=text
> ;
Description: Notify the browser that the document is an index file. Users can perform keyword searches on the document.
48--------------------------------------------- -------------------------------------
<KBD
CLASS=classname
ID=value
LANG=language
LANGUAGE=JAVASCRIPT|JSCRIPT|VBSCRIPT|VBS
STYLE=css1-properties
TITLE=text
event=script
>
Description: Specify the text that the user should input using the keyboard, usually displayed in a fixed-width font. A closing tag is required.
49------------------------------------------------ ----------------------------------
<LABEL
ACCESSKEY=key
CLASS=classname
DATAFLD=colname
DATAFORMATAS=HTML|TEXT
DATASRC=#ID
FOR=ID
ID=value
LANG=language
LANGUAGE=JAVASCRIPT|JSCRIPT|VBSCRIPT|VBS
STYLE=css1-properties
TITLE=text
event=script
>
Description: Describe a label. Not nestable. A closing tag is required.
#p#
Beginners come into contact with HTML and understand some HTML tags.
50------------------------------------------------ ----------------------------------
<LEGEND
ALIGN=BOTTOM|CENTER|LEFT|RIGHT|TOP
CLASS=classname
ID=value
LANG=language
LANGUAGE=JAVASCRIPT|JSCRIPT|VBSCRIPT|VBS
STYLE =css1-properties
TITLE=text
VALIGN=BOTTOM|TOP
event=script
>
Description: Determine the area collection defined by the FIELDSET element. Must be the first element in FIELDSET.
51------------------------------------------------ ----------------------------------
<LI
CLASS=classname
ID=value
LANG=language
LANGUAGE=JAVASCRIPT|JSCRIPT|VBSCRIPT|VBS
STYLE=css1-properties
TITLE=text
TYPE =1|a|A|i|I
VALUE=value
event=script
>
Description: Represents an entry in the list, which can be used in DIR, MENU, DL, and UL. The closing tag is optional.
52------------------------------------------------ ----------------------------------
<LINK
DISABLED
HREF=url
ID=value
MEDIA=SCREEN|PRINT|ALL
REL=STYLESHEET
TITLE=text
TYPE="text/css"
>
Description: Establish a hyperlink between the current HTML document and other resources. Can only be used in HEAD.
53------------------------------------------------ ----------------------------------
<LISTING
CLASS=classname
ID=string
LANG=language
LANGUAGE=JAVASCRIPT|JSCRIPT|VBSCRIPT|VBS
STYLE=css1-properties
TITLE=text
event =script
>
Note: Use fixed-width font to display text, not recommended. It is recommended to use the PRE element.
54------------------------------------------------ ----------------------------------
<MAP
CLASS=classname
ID=value
LANG=language
NAME=name
STYLE=css1-properties
TITLE=text
event=script
> ;
Description: Specify a collection of hotspot areas for client image mapping. A closing tag is required.
55------------------------------------------------ ----------------------------------
<MARQUEE
BEHAVIOR=AlterNATE|SCROLL|SLIDE
BGCOLOR=color
CLASS=classname
DATAFLD=colname
DATAFORMATAS=HTML|TEXT
DATASRC=#ID
DIRECTION= DOWN|LEFT|RIGHT|UP
HEIGHT=n
HSPACE=n
ID=value
LANG=language
LANGUAGE=JAVASCRIPT|JSCRIPT|VBSCRIPT|VBS
LOOP=n
SCROLLAMOUNT=n
SCROLLDELAY=milliseconds
STYLE=css1-properties
TITLE=text
TRUESPEED
VSPACE=n
WIDTH=n
event=script
>
Description: Create a scrolling text area. A closing tag is required.
56------------------------------------------------ ----------------------------------
<MENU
CLASS=classname
ID=value
LANG=language
STYLE=css1-properties
TITLE=text
event=script
>
Instructions: Create a menu and use LI to define the items in the menu. A closing tag is required.
57------------------------------------------------ ----------------------------------
<META
CONTENT=description
HTTP-EQUIV=response
NAME=text
TITLE=text
URL=url
>
Description: For browsers and search engines or other programs to provide HTML document information. Must be used in HEAD. The closing tag is optional.
58------------------------------------------------ -------------------------------------
<NOBR
ID=value
STYLE=css1-properties
TITLE=text
>
Note: No line breaks. The closing tag is optional.
59------------------------------------------------ -------------------------------------
<NOFRAMES
ID=value
STYLE=css1-properties
TITLE=text
>
Description: Provided for browsers that do not support FRAMESET. Requires closing tag
60---------------------------------------- ----------------------------------------
<NOSCRIPT>
Description: Display the included content in browsers that do not support scripts. A closing tag is required.