Home  >  Article  >  Web Front-end  >  Beginners get in touch with HTML and learn about some HTML tags (1)_HTML/Xhtml_Web page production

Beginners get in touch with HTML and learn about some HTML tags (1)_HTML/Xhtml_Web page production

PHP中文网
PHP中文网Original
2016-05-16 16:45:141245browse

Beginners are exposed to 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!                   ​ 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
​                   ​​​​​​​​​​​​​​                  
Beginners are introduced to HTML and learn some HTML tags. 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 when making the actual layout. For example, B tags and FONT tags do not comply with XHTML specifications.
1---------------------------------------------- ----------------------------------

Note: Comment mark, the content between "" will not be displayed in the browser.
2------------------------------------------------- --------------------------

Description: describes the HTMLDTD that the file conforms to, which is used to briefly explain the compatibility of the file.
3------------------------------------------------- --------------------------
<A
ACCESSKEY= key
CLASS=classname
DATAFLD=colname
DATASRC=#ID
HREF=url
ID=value
LANG=language
LANGUAGE=JAVASCRIPT|JSCRIPT|VBSCRIPT|VBS
METHODS=http-method
NAME=name
REL="stylesheet"
REV="stylesheet"
STYLE=css1-properties
TABINDEX=n
TARGET=window_name |_blank|_parent|_self|_top
TITLE=text
URN=urn
event=script
>
Description: Describe the starting position or target of the hyperlink. It is required that the herf= or name= attribute must be defined. A closing tag is required.

4---------------------------------------------- -------------------------------------
<ACRONYM
CLASS=classname
ID=value
LANG=language
LANGUAGE=JAVASCRIPT|JSCRIPT|VBSCRIPT|VBS
STYLE=css1-properties
TITLE=text
event=script
>
Description: Describe an abbreviation. This flag does not affect the display of text in the browser. Requires closing tag
5---------------------------------------------- -------------------------------------
<ADDRESS
CLASS=classname
ID=value
LANG=language
LANGUAGE=JAVASCRIPT|JSCRIPT|VBSCRIPT|VBS
STYLE=css1-properties
TITLE=text
event=script
>
Description: Commonly used to describe address, signature and author information. A closing tag is required.
6------------------------------------------------ ----------------------------------
<APPLET
ALIGN=ABSBOTTOM|ABSMIDDLE|BASELINE|BOTTOM|LEFT|MIDDLE|
RIGHT|TEXTTOP|TOP
ALT=text
CLASS=classname
CODE=filename
CODEBASE= url
DATAFLD=colname
DATASRC=#ID
HEIGHT=n
HSPACE=n
ID=value
NAME=name
SRC=url
STYLE=css1 -properties
TITLE=text
VSPACE=n
WIDTH=n
event=script
>
Description: Place executable content in the page. A closing tag is required.
7------------------------------------------------ ----------------------------------
<AREA
ALT=text
CLASS=classname
COORDS=coordinates
HREF=url
ID=value
LANG=language
LANGUAGE=JAVASCRIPT|JSCRIPT|VBSCRIPT|VBS
NOHREF
SHAPE=CIRC|CIRCLE|POLY|POLYGON|RECT|RECTANGLE
STYLE=css1-properties
TABINDEX=n
TARGET=window_name|_blank|_parent|_self|_top
TITLE=text
event=script
>
Description: Describe the outline shape of the hyperlink hotspot in the client image mapping MAP. No closing tag is required.
8------------------------------------------------ ----------------------------------
<B
CLASS=classname
ID=value
LANG=language
LANGUAGE=JAVASCRIPT|JSCRIPT|VBSCRIPT|VBS
STYLE=css1-properties
TITLE=text
event =script
>
Instructions: Display text in bold. A closing tag is required.
9------------------------------------------------ ----------------------------------
<BASE
HREF=url
TARGET=window_name|_blank|_parent|_self|_top
>
Description: Describes the basic address of the document, and the browser converts the relative address accordingly. Can only be used in HEAD tags, no closing tag is required.

10------------------------------------------------- ----------------------------------
<BASEFONT
CLASS=classname
COLOR=color
FACE=font
ID=value
LANG=language
SIZE=n
>
Description: Describe the basic font type, Text used to display the default font. Can be used in the HEAD tag, no closing tag is required.                                                                                         #p#
​                   ​​​​​​​​​​​​​​                  
11------------------------------------------------ ----------------------------------
<BGSOUND
BALANCE=n
CLASS=classname
ID=value
LANG=language
LOOP=n
SRC=url
TITLE=text
VOLUME=n
>
Instructions: Add background music to the page. Can be used in HEAD tag, closing tag is optional.
12------------------------------------------------ ----------------------------------
<BIG
CLASS=classname
ID=value
LANG=language
LANGUAGE=JAVASCRIPT|JSCRIPT|VBSCRIPT|VBS
STYLE=css1-properties
TITLE=text
event =script
>
Description: Display text in a slightly larger font than the currently used font. A closing tag is required.
13------------------------------------------------ ----------------------------------
<BLOCKQUOTE
CLASS=classname
ID=value
LANG=language
LANGUAGE=JAVASCRIPT|JSCRIPT|VBSCRIPT|VBS
STYLE=css1-properties
TITLE=text
event =script
>
Note: Quoting content from other resources may be indented and italicized, usually with blank lines above and below. A closing tag is required.
14------------------------------------------------ ----------------------------------
<BODY
ALINK=color
BACKGROUND=url
BGCOLOR=color
BGPROPERTIES=FIXED
BOTTOMMARGIN=pixels
CLASS=classname
ID=value
LANG=language
LANGUAGE=JAVASCRIPT|JSCRIPT|VBSCRIPT|VBS
LEFTMARGIN=pixels
LINK=color
RIGHTMARGIN=pixels
SCROLL=YES|NO
STYLE=css1-properties
TEXT =color
TITLE=string
TOPMARGIN=n
VLINK=color
event=script
>
Description: Describe the beginning and end of the document body. A closing tag is required.
15------------------------------------------------ ----------------------------------
<BR
CLASS=classname
CLEAR=ALL|LEFT|RIGHT
ID=value
LANGUAGE=JAVASCRIPT|JSCRIPT|VBSCRIPT|VBS
STYLE=css1-properties
TITLE=text
>
Description: Line break mark.
16------------------------------------------------ ----------------------------------
<BUTTON
ACCESSKEY=string
CLASS=classname
DATAFLD=colname
DATAFORMATAS=HTML|TEXT
DATASRC=#ID
DISABLED
ID=value
LANG= language
LANGUAGE=JAVASCRIPT|JSCRIPT|VBSCRIPT|VBS
STYLE=css1-properties
TITLE=text
TYPE=BUTTON|RESET|SUBMIT
event=script
>
Description: Set a button. A closing tag is required.

17------------------------------------------------ -------------------------------------
<CAPTION
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: Add a title to TABLE. A closing tag is required.
18------------------------------------------------ ----------------------------------
<CENTER
CLASS=classname
ID=value
LANG=language
LANGUAGE=JAVASCRIPT|JSCRIPT|VBSCRIPT|VBS
STYLE=css1-properties
TITLE=text
event =script
>
Description: Arrange the content in the center. A closing tag is required.

19------------------------------------------------ ---------------------------------------
<CITE
CLASS=classname
ID=value
LANG=language
LANGUAGE=JAVASCRIPT|JSCRIPT|VBSCRIPT|VBS
STYLE=css1-properties
TITLE=text
event=script
>
Description: Briefly describe a quote, and the content is in italics. A closing tag is required.
20------------------------------------------------ ----------------------------------
<CODE
CLASS=classname
ID=value
LANG=language
LANGUAGE=JAVASCRIPT|JSCRIPT|VBSCRIPT|VBS
STYLE=css1-properties
TITLE=text
event=script
>
Description: Display a piece of code in a fixed-width font. A closing tag is required.                                                                                                                                          

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn