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
      What is the difference between an HTML tag and an HTML attribute?What is the difference between an HTML tag and an HTML attribute?May 14, 2025 am 12:01 AM

      HTMLtagsdefinethestructureofawebpage,whileattributesaddfunctionalityanddetails.1)Tagslike,,andoutlinethecontent'splacement.2)Attributessuchassrc,class,andstyleenhancetagsbyspecifyingimagesources,styling,andmore,improvingfunctionalityandappearance.

      The Future of HTML: Evolution and TrendsThe Future of HTML: Evolution and TrendsMay 13, 2025 am 12:01 AM

      The future of HTML will develop in a more semantic, functional and modular direction. 1) Semanticization will make the tag describe the content more clearly, improving SEO and barrier-free access. 2) Functionalization will introduce new elements and attributes to meet user needs. 3) Modularity will support component development and improve code reusability.

      Why are HTML attributes important for web development?Why are HTML attributes important for web development?May 12, 2025 am 12:01 AM

      HTMLattributesarecrucialinwebdevelopmentforcontrollingbehavior,appearance,andfunctionality.Theyenhanceinteractivity,accessibility,andSEO.Forexample,thesrcattributeintagsimpactsSEO,whileonclickintagsaddsinteractivity.Touseattributeseffectively:1)Usese

      What is the purpose of the alt attribute? Why is it important?What is the purpose of the alt attribute? Why is it important?May 11, 2025 am 12:01 AM

      The alt attribute is an important part of the tag in HTML and is used to provide alternative text for images. 1. When the image cannot be loaded, the text in the alt attribute will be displayed to improve the user experience. 2. Screen readers use the alt attribute to help visually impaired users understand the content of the picture. 3. Search engines index text in the alt attribute to improve the SEO ranking of web pages.

      HTML, CSS, and JavaScript: Examples and Practical ApplicationsHTML, CSS, and JavaScript: Examples and Practical ApplicationsMay 09, 2025 am 12:01 AM

      The roles of HTML, CSS and JavaScript in web development are: 1. HTML is used to build web page structure; 2. CSS is used to beautify the appearance of web pages; 3. JavaScript is used to achieve dynamic interaction. Through tags, styles and scripts, these three together build the core functions of modern web pages.

      How do you set the lang attribute on the  tag? Why is this important?How do you set the lang attribute on the tag? Why is this important?May 08, 2025 am 12:03 AM

      Setting the lang attributes of a tag is a key step in optimizing web accessibility and SEO. 1) Set the lang attribute in the tag, such as. 2) In multilingual content, set lang attributes for different language parts, such as. 3) Use language codes that comply with ISO639-1 standards, such as "en", "fr", "zh", etc. Correctly setting the lang attribute can improve the accessibility of web pages and search engine rankings.

      What is the purpose of HTML attributes?What is the purpose of HTML attributes?May 07, 2025 am 12:01 AM

      HTMLattributesareessentialforenhancingwebelements'functionalityandappearance.Theyaddinformationtodefinebehavior,appearance,andinteraction,makingwebsitesinteractive,responsive,andvisuallyappealing.Attributeslikesrc,href,class,type,anddisabledtransform

      How do you create a list in HTML?How do you create a list in HTML?May 06, 2025 am 12:01 AM

      TocreatealistinHTML,useforunorderedlistsandfororderedlists:1)Forunorderedlists,wrapitemsinanduseforeachitem,renderingasabulletedlist.2)Fororderedlists,useandfornumberedlists,customizablewiththetypeattributefordifferentnumberingstyles.

      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 Article

      Hot Tools

      Zend Studio 13.0.1

      Zend Studio 13.0.1

      Powerful PHP integrated development environment

      SublimeText3 Linux new version

      SublimeText3 Linux new version

      SublimeText3 Linux latest version

      SAP NetWeaver Server Adapter for Eclipse

      SAP NetWeaver Server Adapter for Eclipse

      Integrate Eclipse with SAP NetWeaver application server.

      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.

      DVWA

      DVWA

      Damn Vulnerable Web App (DVWA) is a PHP/MySQL web application that is very vulnerable. Its main goals are to be an aid for security professionals to test their skills and tools in a legal environment, to help web developers better understand the process of securing web applications, and to help teachers/students teach/learn in a classroom environment Web application security. The goal of DVWA is to practice some of the most common web vulnerabilities through a simple and straightforward interface, with varying degrees of difficulty. Please note that this software