Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Example Analysis of the difference between HTML5 tag and HTML tag

2025-03-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/01 Report--

Most people do not understand the knowledge points of this article, "example analysis of the difference between HTML5 tags and HTML tags", so the editor summarizes the following, detailed contents and clear steps, with a certain reference value. I hope you can get something after reading this article. Let's take a look at this "HTML5 tag and HTML tag difference example analysis" article.

(1) changes in concepts:

HTML5 focuses on content and structure, not on performance.

Navigation related data

Menu

Title: HTML5 special video tutorial

(2) statements and labels:

HTML5 simplifies more declarations and tags, and makes detailed regulations on compatibility, abolishing some elements and adding some elements.

Introduction to the syntax of HTML5 tags and adding tags

1, syntax label:

(1) tag of supplementary Terminator: region, basebr,col,command,Embed,hr,img,input,keygen,link,meta,param,source,Track, wbr

(2) the tag with the Terminator can be omitted: li,dt,dd,p,rt,optgroup,option,Colgroup,thread,tbody,tr,td,th

(3) tags that can be omitted completely: html,head, body,colgroup,tbody

2, add tags:

Tag definition article

Tag defines the sidebar of the content section of the page

Tag defines audio content

Tag definition picture

Tag defines a command button

Tag defines a drag list

Tag defines the details of an element

Tag defines an interior (dialog box)

Tags define external interactive content or plug-ins

A set of media content defined by tags and their title tags define the bottom of a page or area

Tag defines the header of a page or area

Information about a block in the tag definition file

Tag defines a generated key value in the form

In

Tags within a predefined range define tagged text

Tag definition navigation link

Tag defines some output types

Mark the process of defining a task

Tags are used in Rubyannotations to tell browsers that do not support Ruby elements how to display

Interpretation of rubyannotations by tag definition

Tag defines an area

Tag defines media resources

Tag defines a date / time

Copy the code

The code is as follows:

HTML5 project of PHP100 Chinese website

Headers, navigation, articles, footers {border:solid 1pxarticle 666; padding:5px}

Header {width:500px}

Navigate {float:left; width:60px; height:200px}

Article {float:left; width:428px; height:200px}

Footer {clear: both; width:500px}

Document.createElement ('article')

Document.createElement ('nav')

Document.createElement ('header')

HTML5 topic video tutorial

Issue date: 09:00

Spring Festival

Test related content

Address

The above is about the content of this article on "sample analysis of the difference between HTML5 tags and HTML tags". I believe we all have a certain understanding. I hope the content shared by the editor will be helpful to you. If you want to know more about the relevant knowledge, please pay attention to the industry information channel.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report