search
HomeWeb Front-endH5 TutorialSummary of all HTML5 tags and explanation of tag meaning_html5 tutorial skills

Structure tag: (block element) meaningful div

The tag defines an article
The tag defines the header of a page or a region

Multimedia interactive tags

Web Application Tag

Command list
menu command list label FF (embedded system)
menu tag defines a command button
Status label (real-time status Display: air pressure, temperature) C, O
Status label (task process: installation, loading) C, F, O
Define a drop-down list for the input tag, with option F, O
tag defines the detailed content of an element, combined with dt and dd C

Comment tag

Tag definition comment or phonetic symbol
Tells browsers that do not support Ruby elements how to display
tag defines ruby ​​comment content text

Other tags

A generated key value in the mark definition form (encrypted information transmission) O, F
Mark definition has a mark Text (yellow selected state)
tag defines some output types, calculates form results and cooperates with oninput events

Removed HTML tags

Purely expressive elements:
basefont, big, center, font, s, strike, tt, u;

Elements that negatively impact usability:
frame, frameset, noframes;

Confusing elements:
acronym, applet, isindex, dir

Redefined HTML tags

Represents inline text, usually in bold, not conveyed to indicate important meaning
Represents inline text, usually in italics, not conveyed to indicate important meaning
can be used with details and figure. The definition contains text. Dialog can also be used.

can be used with details and figure to summarize details. Dialog can also be used.

indicates the end of the topic. Not a horizontal line, although the display is the same
Redefine the menu of the user interface, use it with commond or menuitem
to represent small fonts, such as printing comments or legal terms
Importance rather than emphasis

Sample code:

XML/HTML CodeCopy content to clipboard
  1. xmp>  
  2. html>  
  3. html>  
  4.     head>  
  5.         style>  
  6.               
  7.               
  8.             header{height:150px;background:#ABCDEF}   
  9.             nav{height:30px;background:#ff9900;margin-top:100px}   
  10.             nav ul li{width:100px;height:30px;float:left;line-height:30px}   
  11.               
  12.             div{margin-top:10px;height:1000px;}   
  13.             section{height:1000px;background:#ABCDEF;width:70%;float:left}   
  14.             article{background:#F90;width:500px;margin:0 auto;text-align:center}   
  15.               
  16.             aside{height:1000px;background:#ABCDEF;width:28%;float:right}   
  17.               
  18.             footer{height:100px;background:#ABCDEF;clear:both;margin-top:10px}
  19. style>
  20.  head> 
  21.  body> 
  22. header>
  23.  p>This is a header tagp> 
  24.  nav>
  25.  ul>
  26.  li>Homepageli> 
  27.  li>Get up at nightli> 
  28.  li>Forumli> 
  29.  li>Mallli> 
  30.  li>Communityli> 
  31.  ul>
  32.                                                                     header>
  33. div>
  34. section>
  35.  p>This is a section tagp> 
  36.  article>
  37.  h2>Spring Dawnh2>
  38.  p>
  39.                                                                                                                                                                                                                                                                                                                                    Mosquito bites everywhere, 🎜>                                                                                              Not much death.br />  
  40.                     p>  
  41.                   
  42.                 article>  
  43.                 hr />  
  44.                 article>  
  45.                     h2>上学歌h2>  
  46.                     p>  
  47.                     太阳当空照,br />  
  48.                     花儿对我笑,br />  
  49.                     小鸟说早早早,你为什么背上小书包?br />  
  50.                     我要炸学校老师不知道,一拉线,赶快跑,br />  
  51.                     轰的一声,学校炸没了。br />  
  52.                     p>  
  53.                   
  54.                 article>  
  55.                 hr />  
  56.                 figure>  
  57.                     figcaption>UFOfigcaption>  
  58.                     p>不明飞行物 Unknown Flying Objectp>  
  59.                 figure>  
  60.                 figure>  
  61.                      dt>DDSdt>  
  62.                      dd>大屌丝dd>  
  63.                 figure>  
  64.                 hr />  
  65.                 dialog>  
  66.                     dt>唐僧:悟空,你又调皮了,观音姐姐的月光宝盒怎么能乱扔呢?dt>
  67.  dd>Wukong:...(looking at) dd> 
  68.                                                                                                                                                                                                    dt>Tang Seng: Throwing is wrong, what should I do if it hits a child? Even if you can’t hit children, it’s not good to hit flowers and plantsdt> >
  69.  
  70. dd>Wukong:...(Tangled)< ;/dd> 
  71.  
  72. dt>Tang Monk: Wukong, do you want it? If you want it, just tell me. If you don't tell me, how will I know you want it? . . . .dt>
  73.                                                                                                                                   )dd>  
  74.                 dialog>  
  75.                 hr />  
  76.                 menu>  
  77.                     li>点击li>  
  78.                     li>右键单击li>  
  79.                 menu>  
  80.                 hr />  
  81.                 span contextmenu="candan">右键单击我试试span>  
  82.                 menu type="context" id="candan">  
  83.                     menuitem label="菜单一" onclick="alert('我是一个寂寞')" icon="http://www.baidu.com/img/baidu_sylogo1.gif">menuitem>  
  84.                 menu>  
  85.                 hr />  
  86.                 meter min="0" max="10" value="5" low="3" high="7" >meter>  
  87.                 progress max="100" value="0" id="pro">progress>  
  88.                 script>  
  89.                     var pro =document.getElementByIdx_x_x_x('pro');   
  90.                     setInterval(function(){   
  91.                         pro.value =1;   
  92.                     },100);   
  93.                 script>  
  94.                 hr />  
  95.                 details>  
  96.                     dt>这是一个问题?dt>  
  97.                     dd>to be or not to bedd>  
  98.                     dt>这是一个问题?dt>  
  99.                     dd>to be or not to bedd>  
  100.                     dt>这是一个问题?dt>  
  101.                     dd>to be or not to bedd>  
  102.                 details>  
  103.                 hr />  
  104.                 ruby>rp>(rp>rt>kuangrt>rp>)rp>ruby>  
  105.                 hr />  
  106.                 女人mark>最喜欢做的事情mark>就是逛街。。。吃零食。。逛街。。吃零食,偶尔还会呜呜的哭,   
  107.                 于是总结了下女人:逛吃逛吃逛吃逛吃。。。Woohoo~·
  108.  section>
  109.  aside>
  110.  p>This is an aside tagp> 
  111.  hgroup>
  112.  h3>Why are girls’ dormitories frequently stolen h3>
  113.  h3>Why did two hundred sows die tragically in the middle of the night< ;/h3>
  114.  h3>Is it a distortion of human nature? h3>
  115.                                                                                                                                                                                                       h3>Still a moral loss!h3>
  116.  hgroup>
  117.  aside>
  118.  div>
  119. footer>
  120.  p>This is a footer tagp> 
  121.  hr />
  122.  small>Legal provisionssmall> 
  123.  small>Contact ussmall> 
  124.  small>Customer opinionssmall> 
  125.  small>Merchant Cooperationsmall> 
  126. footer>
  127.  body> 
  128. html>
  129. xmp>


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's New in HTML5 Forms? Exploring the New Input TypesWhat's New in HTML5 Forms? Exploring the New Input TypesMay 13, 2025 pm 03:45 PM

HTML5introducesnewinputtypesthatenhanceuserexperience,simplifydevelopment,andimproveaccessibility.1)automaticallyvalidatesemailformat.2)optimizesformobilewithanumerickeypad.3)andsimplifydateandtimeinputs,reducingtheneedforcustomsolutions.

Understanding H5: The Meaning and SignificanceUnderstanding H5: The Meaning and SignificanceMay 11, 2025 am 12:19 AM

H5 is HTML5, the fifth version of HTML. HTML5 improves the expressiveness and interactivity of web pages, introduces new features such as semantic tags, multimedia support, offline storage and Canvas drawing, and promotes the development of Web technology.

H5: Accessibility and Web Standards ComplianceH5: Accessibility and Web Standards ComplianceMay 10, 2025 am 12:21 AM

Accessibility and compliance with network standards are essential to the website. 1) Accessibility ensures that all users have equal access to the website, 2) Network standards follow to improve accessibility and consistency of the website, 3) Accessibility requires the use of semantic HTML, keyboard navigation, color contrast and alternative text, 4) Following these principles is not only a moral and legal requirement, but also amplifying user base.

What is the H5 tag in HTML?What is the H5 tag in HTML?May 09, 2025 am 12:11 AM

The H5 tag in HTML is a fifth-level title that is used to tag smaller titles or sub-titles. 1) The H5 tag helps refine content hierarchy and improve readability and SEO. 2) Combined with CSS, you can customize the style to enhance the visual effect. 3) Use H5 tags reasonably to avoid abuse and ensure the logical content structure.

H5 Code: A Beginner's Guide to Web StructureH5 Code: A Beginner's Guide to Web StructureMay 08, 2025 am 12:15 AM

The methods of building a website in HTML5 include: 1. Use semantic tags to define the web page structure, such as, , etc.; 2. Embed multimedia content, use and tags; 3. Apply advanced functions such as form verification and local storage. Through these steps, you can create a modern web page with clear structure and rich features.

H5 Code Structure: Organizing Content for ReadabilityH5 Code Structure: Organizing Content for ReadabilityMay 07, 2025 am 12:06 AM

A reasonable H5 code structure allows the page to stand out among a lot of content. 1) Use semantic labels such as, etc. to organize content to make the structure clear. 2) Control the rendering effect of pages on different devices through CSS layout such as Flexbox or Grid. 3) Implement responsive design to ensure that the page adapts to different screen sizes.

H5 vs. Older HTML Versions: A ComparisonH5 vs. Older HTML Versions: A ComparisonMay 06, 2025 am 12:09 AM

The main differences between HTML5 (H5) and older versions of HTML include: 1) H5 introduces semantic tags, 2) supports multimedia content, and 3) provides offline storage functions. H5 enhances the functionality and expressiveness of web pages through new tags and APIs, such as and tags, improving user experience and SEO effects, but need to pay attention to compatibility issues.

H5 vs. HTML5: Clarifying the Terminology and RelationshipH5 vs. HTML5: Clarifying the Terminology and RelationshipMay 05, 2025 am 12:02 AM

The difference between H5 and HTML5 is: 1) HTML5 is a web page standard that defines structure and content; 2) H5 is a mobile web application based on HTML5, suitable for rapid development and marketing.

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

PhpStorm Mac version

PhpStorm Mac version

The latest (2018.2.1) professional PHP integrated development tool

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

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

SecLists

SecLists

SecLists is the ultimate security tester's companion. It is a collection of various types of lists that are frequently used during security assessments, all in one place. SecLists helps make security testing more efficient and productive by conveniently providing all the lists a security tester might need. List types include usernames, passwords, URLs, fuzzing payloads, sensitive data patterns, web shells, and more. The tester can simply pull this repository onto a new test machine and he will have access to every type of list he needs.

Dreamweaver Mac version

Dreamweaver Mac version

Visual web development tools