search
HomeWeb Front-endHTML TutorialSummary of learning about html tags

全部HTML代码学习文件类型 (放在档案的开头与结尾) 
文件主题

(必须放在「文头」区块内) 
文头 http://www.php.cn/html/html-HEAD-2.html" target="_blank">head> (描述性资料,像是「主题」) 
文体 (文件本体) 

结构性定义(由浏览器控制的显示风格) 

标题 ?> (从1到6,有六层选择) 
3.0 标题的对齐 ?> 
3.0 区分
 
3.0 区分的对齐

Quotation block
(usually indented)
Emphasis (usually displayed in italics)
Special emphasis (usually shown in bold)
Citation (usually shown in italics)
Code (show original Code use)
Sample
Keyboard input
Variables
Definition (some browsers do not provide it)
Address

3.0 Big characters
3.0 Small characters

Appearance-related tags (author’s customized expression)

Bold
Italic< ;/i>
3.0 Bottom line (Some browsers still don’t provide it)
3.0 Strikethrough (Some browsers still don’t provide it)
3.0 Subscript
3.0 Superscript
Typewriter body (displayed in single space font )
Predetermined format
 (retain the size of spaces in the file) 
Predetermined format width
width=?>
( Calculated in characters)
n1.0+ Align with center
(Both text and pictures are acceptable)
n1.0 Shine (All time The most mocked tag)
n1.0 Font size (from 1 to 7)
n1.0 Change font size
n1.0 Base font size (from 1 to 7; defaults to 3)
n2.0 Font color


Links and Graphics

Link
Link to Anchor (if the anchor is in another file)
(if the anchor is the current file)
n2.0 Link to target viewbox
Set anchor point
GraphicsSummary of learning about html tags
Graphics alignment methodSummary of learning about html tags
n1.0 Graphic alignment methodSummary of learning about html tagsalign=left|right|texttop|absmiddle|baseline|absbottom>
Replace text*** (If there is no way to display the graphic, this text will be displayed)
Click on the imageSummary of learning about html tags (requires cgi program)
n2 .0 Click on the imageSummary of learning about html tags
n2.0 Map (Describe the map)
n2.0 Paragraph
3.0 SizeSummary of learning about html tags (in pixels)
n1.0 Graphic edgeSummary of learning about html tags (in pixels)
n1.0 Graphic edge spaceSummary of learning about html tags (in pixels)
n1.0 Low-resolution graphicsSummary of learning about html tags
n1.1 Client Pull (automatically updated on the client side)
n2.0 Embedded object (replace the object Insert page)
n2.0 Embedded object size


Separate paragraphs

(usually two returns)
3.0 Paragraph

(newly defined as a container tag)
3.0 Text alignment


Line break
(a return)
n1.0 Text part alignment
(when used with graphics)
Horizontal line



n1.0 Horizontal line alignment

n1.0 Horizontal line thickness
(in pixels)
n1.0 Horizontal line width
(in pixels)
n1.0 Horizontal line ratio width
(page width is 100%)
n1.0 Solid line
(no three-dimensional effect)
n1.0 No line breaks (no line breaks)
n1.0 Line breaks (line breaks can be made here if necessary)


Listing (can be nested Status enumeration)

Unordered enumeration
(
  • placed before each item)
    n1.0 Public enumeration
      (define all enumeration items)
    • (define this and subsequent enumeration items)
      Sequential enumeration
      (
    • placed before each item)
      n1.0 Number type
        (define all List items)
      1. (Define this and subsequent list items)
        n1.0 Starting number
          (Definition All enumerated items)
        1. (Define this and subsequent enumerated items)
          Definitional enumeration
          (
          Item,
          Definition)
          Form-based enumeration
        2. (
        3. is placed before each item)
          Directory-style enumeration< ;dir>
        4. (
        5. placed before each item)


          Background and color

          3.0 Repeated background
          n1.1+ Background color (red, green, blue in order)
          n1.1+ Text color
          n1.1+ Link color
          n1.1+ Viewed links
          n1.1 Link in use


          Special characters (the following tags must be in lowercase)

          Special symbols?; (where ? represents the encoding of iso 8859-1)
          > & lt;& gt;
          Registered trademark tm & reg;
          n1.0+ Registered trademark tm & reg;
          Copyright symbol & copy;
          n1.0+ Copyright symbol & copy;

          Form (usually required to cooperate with cgi program)

          Define form

          n2.0 Upload file

          Field name
          Column Default value
          Selected (applies to checkboxes and radio boxes)
          Field width (starts with (in characters)
          Maximum number of characters (in characters)
          Drop-down menu
          Drop-down menu name
          Number of menu items
          Multiple-select menu
          Input area name
          n2.0 Input area line wrapping method


          Table

          3.0 Define table

          3.0 Table border
          (with or without)
          n1.1 Table border
          (values ​​can be set)
          n1.1 Leave blank space on the left and right of the cell
          n1.1 Leave blank space on the top and bottom of the cell< ;table cellpadding=?>
          n1.1 Table width
          (in pixels)
          n1.1 Width ratio
          (page width is 100 %)
          3.0 表格列  
          3.0 表格列内容看齐  
          3.0 储存格 (须与列并用) 
          3.0 储存格内容看齐 (跟 
          3.0 表格抬头看齐
           
          3.0 不换行
           
          n3.0 储存格背景颜色
           
          3.0 储存格横向连接
           
          3.0 储存格纵向连接
           
          n1.1 储存格宽度
          (以pixels为单位) 
          n1.1 储存格宽度比率
          (页宽为100%) 
          3.0 表格标题
          一样,不过会对中并加粗) 
          3.0 表格标题对齐
           
          3.0 表格标题不换行
           
          3.0 表格标题占几栏
           
          3.0 表格标题占几列
           
          n1.1 表格标题宽度
          (以pixels为单位) 
          n1.1 表格标题比率宽度
          (页宽为100%) 
          3.0 表格抬头
          (在表格之上/之下) 


          视框 (定义与控制萤幕上的特定区域) 

          n2.0 视框格式总定义 (取代) 
          n2.0 视框行长度分配 (pixels 或 %) 
          n2.0 视框行长度分配 (* = 相对大小) 
          n2.0 视框栏宽度分配 (pixels 或 %) 
          n2.0 视框栏宽度分配 (* =相对大小) 
          n2.0 定义个别视框 (定义个别视框) 
          n2.0 个别视框内容  
          n2.0 个别视框名称  
          n2.0 边缘宽度 (「左」与「右」边界) 
          n2.0 边缘高度 (「天顶」与「地底」边界) 
          n2.0 卷动条  
          n2.0 不可改变大小  
          n2.0 无视框时的内容 (如果浏览器不提供视框功能的话) 


          杂项 

          说明 (浏览器不会显示) 
          档案型态声明  
          3.0 档案型态声明  
          可搜寻 (指示可搜寻的索引项) 
          n1.0 提示 (要求输入的提示文字) 
          送出搜寻条件 (其中的问号不是数字,而是「问号」) 
          基本档案的url (必须放在「文头」区段内) 
          n2.0 基本视窗名称 (必须放在「文头」区段内) 
          相关性 (必须放在「文头」区段内) 
          背景资讯 (必须放在「文头」区段内) 
          ====================================================

          标准允许使用的:

          结构性定义:

          标题 ?> (从1到6,有六层选择) 
          区分

          Emphasis on (usually displayed in italics)
          Special emphasis on (usually displayed in bold)
          Citation (usually displayed in italics)
          code (used to display the source code)
          Sample
          Keyboard Enter
          Variables

          Links and graphics

          Links< ;/a>
          Link to anchor
          (if the anchor is in another file)
          (if the anchor point is the current file)
          Set anchor point
          GraphicSummary of learning about html tags

          Separated

          Paragraph



          Enumeration (can be nested)

          Unordered enumeration

            (
          • placed before each item)
            n1.0 Public enumeration
              (define all enumeration items)
            • (define this and subsequent enumeration items)
              Sequential enumeration
              (
            • placed Before each item)
              n1.0 Number type
                (define all enumerated items)
              1. (define this and subsequent enumerations)

    • The above is the detailed content of Summary of learning about html tags. For more information, please follow other related articles on the PHP Chinese website!

      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
      HTML vs. CSS and JavaScript: Comparing Web TechnologiesHTML vs. CSS and JavaScript: Comparing Web TechnologiesApr 23, 2025 am 12:05 AM

      HTML, CSS and JavaScript are the core technologies for building modern web pages: 1. HTML defines the web page structure, 2. CSS is responsible for the appearance of the web page, 3. JavaScript provides web page dynamics and interactivity, and they work together to create a website with a good user experience.

      HTML as a Markup Language: Its Function and PurposeHTML as a Markup Language: Its Function and PurposeApr 22, 2025 am 12:02 AM

      The function of HTML is to define the structure and content of a web page, and its purpose is to provide a standardized way to display information. 1) HTML organizes various parts of the web page through tags and attributes, such as titles and paragraphs. 2) It supports the separation of content and performance and improves maintenance efficiency. 3) HTML is extensible, allowing custom tags to enhance SEO.

      The Future of HTML, CSS, and JavaScript: Web Development TrendsThe Future of HTML, CSS, and JavaScript: Web Development TrendsApr 19, 2025 am 12:02 AM

      The future trends of HTML are semantics and web components, the future trends of CSS are CSS-in-JS and CSSHoudini, and the future trends of JavaScript are WebAssembly and Serverless. 1. HTML semantics improve accessibility and SEO effects, and Web components improve development efficiency, but attention should be paid to browser compatibility. 2. CSS-in-JS enhances style management flexibility but may increase file size. CSSHoudini allows direct operation of CSS rendering. 3.WebAssembly optimizes browser application performance but has a steep learning curve, and Serverless simplifies development but requires optimization of cold start problems.

      HTML: The Structure, CSS: The Style, JavaScript: The BehaviorHTML: The Structure, CSS: The Style, JavaScript: The BehaviorApr 18, 2025 am 12:09 AM

      The roles of HTML, CSS and JavaScript in web development are: 1. HTML defines the web page structure, 2. CSS controls the web page style, and 3. JavaScript adds dynamic behavior. Together, they build the framework, aesthetics and interactivity of modern websites.

      The Future of HTML: Evolution and Trends in Web DesignThe Future of HTML: Evolution and Trends in Web DesignApr 17, 2025 am 12:12 AM

      The future of HTML is full of infinite possibilities. 1) New features and standards will include more semantic tags and the popularity of WebComponents. 2) The web design trend will continue to develop towards responsive and accessible design. 3) Performance optimization will improve the user experience through responsive image loading and lazy loading technologies.

      HTML vs. CSS vs. JavaScript: A Comparative OverviewHTML vs. CSS vs. JavaScript: A Comparative OverviewApr 16, 2025 am 12:04 AM

      The roles of HTML, CSS and JavaScript in web development are: HTML is responsible for content structure, CSS is responsible for style, and JavaScript is responsible for dynamic behavior. 1. HTML defines the web page structure and content through tags to ensure semantics. 2. CSS controls the web page style through selectors and attributes to make it beautiful and easy to read. 3. JavaScript controls web page behavior through scripts to achieve dynamic and interactive functions.

      HTML: Is It a Programming Language or Something Else?HTML: Is It a Programming Language or Something Else?Apr 15, 2025 am 12:13 AM

      HTMLisnotaprogramminglanguage;itisamarkuplanguage.1)HTMLstructuresandformatswebcontentusingtags.2)ItworkswithCSSforstylingandJavaScriptforinteractivity,enhancingwebdevelopment.

      HTML: Building the Structure of Web PagesHTML: Building the Structure of Web PagesApr 14, 2025 am 12:14 AM

      HTML is the cornerstone of building web page structure. 1. HTML defines the content structure and semantics, and uses, etc. tags. 2. Provide semantic markers, such as, etc., to improve SEO effect. 3. To realize user interaction through tags, pay attention to form verification. 4. Use advanced elements such as, combined with JavaScript to achieve dynamic effects. 5. Common errors include unclosed labels and unquoted attribute values, and verification tools are required. 6. Optimization strategies include reducing HTTP requests, compressing HTML, using semantic tags, etc.

      See all articles

      Hot AI Tools

      Undresser.AI Undress

      Undresser.AI Undress

      AI-powered app for creating realistic nude photos

      AI Clothes Remover

      AI Clothes Remover

      Online AI tool for removing clothes from photos.

      Undress AI Tool

      Undress AI Tool

      Undress images for free

      Clothoff.io

      Clothoff.io

      AI clothes remover

      Video Face Swap

      Video Face Swap

      Swap faces in any video effortlessly with our completely free AI face swap tool!

      Hot Tools

      Zend Studio 13.0.1

      Zend Studio 13.0.1

      Powerful PHP integrated development environment

      SublimeText3 Chinese version

      SublimeText3 Chinese version

      Chinese version, very easy to use

      MinGW - Minimalist GNU for Windows

      MinGW - Minimalist GNU for Windows

      This project is in the process of being migrated to osdn.net/projects/mingw, you can continue to follow us there. MinGW: A native Windows port of the GNU Compiler Collection (GCC), freely distributable import libraries and header files for building native Windows applications; includes extensions to the MSVC runtime to support C99 functionality. All MinGW software can run on 64-bit Windows platforms.

      PhpStorm Mac version

      PhpStorm Mac version

      The latest (2018.2.1) professional PHP integrated development tool

      SublimeText3 Mac version

      SublimeText3 Mac version

      God-level code editing software (SublimeText3)