Home  >  Article  >  Web Front-end  >  HTML Tutorial: Collection of Commonly Used HTML Tags (6)_HTML/Xhtml_Web Page Production

HTML Tutorial: Collection of Commonly Used HTML Tags (6)_HTML/Xhtml_Web Page Production

WBOY
WBOYOriginal
2016-05-16 16:44:151354browse

相关文章:初学者接触HTML了解一些HTML标记(5)
  这些所介绍的HTML标记不一定完全符合XHTML规范。各位在实际布局时应有所取舍,如:B标记,FONT标记,都是不符合XHTML规范的。
1、基本TAG元素
--------------------------------------------------------------------------
文件格式 (HTML文件的开头与结尾)
主题 (必须放在文头区段)
文头区段 (描述文件,如「主题」)
内文区段 (内容所在)
2、与结构相关的元素
--------------------------------------------------------------------------
标题 ?> (有六种:H1,H2,H3,H4,H5,H6)
标题对齐 ?>
区段

区段对齐

Short Quotes and
are for some quoted files if the quoted part is not long. Then you can consider using this tag, which is the new syntax of HTML3.0.
Citation section
(usually indented when displayed) blockquote is used to indicate that the document in the area refers to a person or information in a document. Commonly quoted text is marked using
and
. Then most browsers will represent it in another way when reading these words. This representation simply reminds readers that this is a reference to someone else.​
Emphasis (usually shown in italics)
Strong emphasis (usually shown in bold) This character that particularly emphasizes the tone is STRONG, which is the same as
EM They are all used to strengthen the tone. Most browsers use boldface to represent words marked with and .
Quotation sentences (usually shown in italics) Use and to mark quotes from others
Program source code If the reader is writing something about computers , then you can use the tag CODE
to mark some related words, and the method used is also to use to mark related words.
Program output sample without modification in HTML, if you want to print out the syntax of HTML
. Then readers may need to use some special techniques to print these characters. Outside these characters, readers can use the SAMP
symbol to mark them. The characteristic of this label is that the marked text will be represented by a fixed width.
Keyboard input KBD This tag is usually used to inform readers which words can be typed. These words marked as
KBD are usually represented by fixed-width bold fonts. But some browsers only use fixed-width characters.
Program Variables For some words that may change, HTML provides a
VAR tag to display it. This tag means variables or words that may be easily changed, etc. They can be marked using and
. This alerts the user that these variables are subject to change.
Definition (Some browsers do not have this function) If the reader uses some definition words in HTML
. Then readers can consider using the DFN tag. If the reader uses Mosaic browser. Then the text marked by and
will be in italics. Other browsers may not.
Author address

Large letters
Small letters
Language
In a document, if you use two If there are more than one language, you can use and to mark it. This is also the new syntax of HTML3.0.
Author (AU)
and do not represent general AU files. This tag means if it is in the reader's article. If certain authors are mentioned, they can be marked with a tag. This is also a tag specially designed for authors by
HTML 3.0.
Personal
(PERSON) In many indexing programs, the program sometimes displays some information pages, and when displaying these information pages. If some individuals are mentioned by name. Then you can use
and to mark these names. This syntax is also new in HTML 3.0.
A word made up of several words (ACRONYM)
In English, some words are made up of several words. If readers encounter such words, readers may consider using and
tags to specifically bracket them. Although this is new syntax in HTML3.0. But for those of us who use Chinese, such a grammar is not very helpful.
The abbreviation (ABBREV) is the same as ACRONYM. There are many abbreviations in English. HTML 3.0
also has a new tag for these abbreviations. This new tag is called . Of course, it also has an end. The symbol is called .
Insertion (INS) In HTML files, if a certain word is inserted into an original document, readers can consider using and
to mark these words. This will make it easier for readers to know whether this document has been revised when checking it. Of course, this syntax is also new in HTML 3.0
.
Delete (DEL) This syntax is used to tell readers that certain words will be deleted, or some parts about deletion. This kind of new tag also appears in HTML3.0.
3. TAG elements related to display mode
---------------------------------- ---------------------------------------
Bold
Italics
Underline (Some browsers do not have this feature)
Strikethrough (Some browsers do not have this feature)
Strikethrough (some browsers do not have this feature)
Subscripts
Superscripts
打字机体 (空白字元与其他文元之宽度相同的字体)
依据预定格式
 (保持文字间的相对位置) 
预定格式的宽度
 (以字元计) 
对中
(文字与图形都会对中)
闪烁
字体大小 (由 1到 7)
改变字体大小
基本字体大小 (默认值为 3)
字体颜色
指定字形
多栏位
栏位内文与边缘间隔 (默认值为10象素)
栏位宽度
留白
留白型态
留白大小
留白尺寸
留白位置
4、超文本连结与图形元素
--------------------------------------------------------------------------
连结指定URL
连结到锚点 (锚点在另一份文件)
(锚点在同一文件)
连结到指定之FRAME TARGET="HTML Tutorial: Collection of Commonly Used HTML Tags (6)_HTML/Xhtml_Web Page Production|_blank|_self|_parent|_top">
设定「锚点」
正向关连 (有些浏览器无此功能)
反向关连 (有些浏览器无此功能)
显示图形 HTML Tutorial: Collection of Commonly Used HTML Tags (6)_HTML/Xhtml_Web Page Production
图形位置 HTML Tutorial: Collection of Commonly Used HTML Tags (6)_HTML/Xhtml_Web Page Production
图形位置 HTML Tutorial: Collection of Commonly Used HTML Tags (6)_HTML/Xhtml_Web Page Production
替代图形文字 HTML Tutorial: Collection of Commonly Used HTML Tags (6)_HTML/Xhtml_Web Page Production (如果无法显示图形而显示的文字)
可点选图形 HTML Tutorial: Collection of Commonly Used HTML Tags (6)_HTML/Xhtml_Web Page Production (需要与.map文件配合)
客户端端可点选图形 HTML Tutorial: Collection of Commonly Used HTML Tags (6)_HTML/Xhtml_Web Page Production
点选图名称
指定可点选区域
图形尺寸 HTML Tutorial: Collection of Commonly Used HTML Tags (6)_HTML/Xhtml_Web Page Production (以象素为单位)描述图形显示的宽度和高度。
边线大小 HTML Tutorial: Collection of Commonly Used HTML Tags (6)_HTML/Xhtml_Web Page Production (以象素为单位) 图形外的框线宽度。
四周留白 HTML Tutorial: Collection of Commonly Used HTML Tags (6)_HTML/Xhtml_Web Page Production (以象素为单位)
vspace,hspace描述图形和文字的垂直和水平间隔。
低解析度图形 HTML Tutorial: Collection of Commonly Used HTML Tags (6)_HTML/Xhtml_Web Page Production 用户端定时更新 HTTP-EQUIV="Refresh" CONTENT="?; URL=URL">
Plug-in 物件 (把Plug-in物件加入文件)
物件大小
5、划分段落TAG元素
--------------------------------------------------------------------------
段落

(结束标记通常可省略)
指定文字对齐方式


Force line break

Specify the starting point after line break

Horizontal line

Horizontal line position

Horizontal line thickness (down)
(with in pixels)
Horizontal line length (to the right)
(in pixels)
Horizontal line ratio width
(percentage of relative page width)
Solid line
(No bumpy three-dimensional effect)
No line breaks
Line breaks possible (Line breaks can be made here if necessary)
6. List elements
---------------------------------------- -------------------------------------
Unordered enumeration

Simplification

    Header symbol type
      (used for all enumerated items)
    • (this item and subsequent items)
      Sequential enumeration

      Simplification

        Number type
          (for all enumerated items)
        1. (this item and its following items)
          Starting number
            (for all enumerated items)
          1. (this item and subsequent items)
            Definitional enumeration
            (
            =define items,
            =define content)
            Simplification

            Menu-style enumeration
          2. (
          3. is placed before each enumeration item )
            Simplification
            Directory enumeration
          4. (
          5. is placed before each enumeration item)
            Simplification
            7. Background and color TAG elements
            ---------------------------------------- -------------------------------------
            Background pattern
            Background color
            Text color
            Color of unconnected points
            Color of connected points
            Color of positive connected points
            8. Special character substitution (the following substitution marks must be in lowercase)
            --------------------------------- --------------------------------------------------
            Special characters& #?; ( ? is ISO 8859-1 code)
            > >
            & &
            " "
            Registered TM ?
            Copyright ?
            Non-Breaking Space
            9. Mathematical equations
            ---------------------------------- ----------------------------------------
            Example 1,

            H(s)=∫0
            esth(t)dt

            Example 2,

            CdVout
            dt
            =Ib
            &tanh;(κ(Vin
            -Vout)2

            CdVoutdt=Ib &tanh;(κ(Vin-Vout) 2
            Example 3,

            (
            &ldet;
            x11
            x12
            x21
            x22
            &rdet;
            yz
            )
            ,
            As you can see from these three examples:
            We use &int to represent the "integral symbol", and to represent the following superscript;
            is used to indicate that the following items will be treated as a group; represents the division sign, is used to process the symbol of the matrix, align=. C|L|R> represents the center, left and right position in the item. The item is represented by added in front of the data. &Ldet represents the left side of the determinant, and &Rdet represents the right side of the determinant.
            (carriage return and line feed)

            (space character)
            & (AND symbol) &
            > (right angle bracket, greater than ) >
            ° (degree) °
            ? (spacer) •
            ′ ´
            " "
            " "
            " ”
            ‰ ‰
            ← ←
            ↑ ↑
            → →
            ↓ ↓
            ? ↔
            √ √
            ∝ ∝
            ∞ ∞
            ∠ ∠
            ∧ ∧
            ∨ ∨
            ∩ ∩
            ∪ ∪
            ? Ø
            ∫ ∫
            ∴ ∴
            ≈ ≈
            ¥(RMB) ¥
            ≠ ≠
            ≡ ≡
            ≤ ≤
            ≥ ≥
            ⊕ ⊕
            λ λ
            μ μ
            ν ν
            ξ ξ
            ν ν
            ξ ξ
            ∏ ∏
            ∑ ∑
            ¥ ¥
            … …
            1 (power symbol) ¹
            2 (square symbol) ²
            3 (cubic symbol) ³
            (superscript case) n r
            (subscript case) Ci
            boldbold
            italicitalic
            Underline Underline
            ± (plus and minus sign) ±
            × (multiplication sign) ×
            ÷ (division sign) ÷
            ? (all rights reserved) ©
            ? ( Registered trademark) ®
            ? (trademark symbol) ™
            — (dash) —
      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