Comment: As we all know, HTML is the greatest invention in the history of the Internet. The purpose of HTML5 is to improve it according to the current Internet situation.
HTML is known to be the greatest invention ever made on the Internet. This hypertext markup language is actually a cornerstone of the development of modern Internet, and a unique self-sufficiency system has emerged with it as the center.When developing HTML5, its designers faced some very important problems and hoped to solve them in HTML5. One of the problems is to create a really concise and easy to scale semantics. The tricky part of this problem is that the old version of HTML was aimed at the concept of versatility at the time - a large number of various tags, which were considered to be some basic tags at the time, but now it has proven to be of no use at all. The purpose of HTML5 is to improve it according to the current Internet situation.
New tags for HTML5
The task that designers need to accomplish is to develop a richer and more meaningful semantic for HTML5 – of course it is conceivable that this new solution will be flexible and efficient, while adapting to all modern Internet standards. Below are some new tags to be added in HTML5.
<article> Tags to define an article
<aside> tags the sidebar that defines the content part of the page
<audio> tag defines audio content
<canvas> tag definition image
<command> tag defines a command button
<datalist> tag defines a drop-down list
<details> tag defines the details of an element
<dialog> tag defines a dialog box (session box)
<embed> tags define external interactive content or plug-in
<figure> tags define a set of media content and their titles
<footer> tag defines the bottom of a page or area
<header> tag defines the header of a page or area
<hgroup> tags the relevant information about a block in the definition file
<keygen> tag defines a generated key value in the form
<mark> Marks define tagged text
<meter> tag definition measurement within a
predefined range
<nav> tag definition navigation link
<output> tag defines some output types
<progress> Tags the process of defining tasks
<rp> tags are used in Ruby annotations to tell browsers that do not support Ruby elements to display
<rt> tag definition for ruby
Explanation of annotations
<ruby> tag definition ruby annotations.
<section> tag defines a region
<source> tag defines media resources
<time> tag defines a date/time
<video> tag defines a video
Hopefully all of these marks can be truly vital and useful marks, not just what seems cool today.
HTML5 burden reduction – old tags, goodbye to...
Do you remember very much that ancient times, HTML3 was regarded as a magical thing that can only run in Netscape? Yes, that is the dawn of the Internet era. We certainly won’t forget that history, but it makes sense to say goodbye to some excellent but old things (especially when they are not considered so useful at the moment, or no one has paid attention to them anymore).
Therefore, HTML5 designers abolished some old tags because these standards are only used by those HTML geeks, and because these tags are completely useless, they will no longer be included in the new HTML tags - I think we should thank these designers for this. After all, these marks are so old that it is conceivable that our children will think that only Shakespeare will use them in his sonnets 20 years later. Anyway, let’s go to the Internet Museum to take a look at them (Is there really such a museum?).
<acronym> tag defines an acronym.
<applet> tag defines an embedded applet.
<basefont> tag specifies a default
font-color, font-size, or font-family for all the text in a document.
<big> tag is used to format the text one
size bigger, and can be in relation to your <font> or
<basefont> size, if you 've specified either one.
<center> tag is used to center text.
<dir> tag is used to list directory titles.
<font> tag specifies the font face, font
size, and font color of text.
<frame> tag definition one particular window
(frame) within a frameset.
<frameset> tag defines a frameset. The
frameset element holds two or more frame elements. Each frame element
holds a separate document.
<s> and <strike> tags
define strikethrough text.
<tt> tag is used for typetype text, or
fixed-width typewriter-type font. Other than the different type style,
it has normal font characteristics
<u> tag is used to underline text.
These tags are basically useless (maybe you will think there are several tags that are somewhat similar to the new ones in HTML5). Some of these have been used in older browsers in the early days, but have lost their function, while others have been replaced by CSS features (such as markers that set fonts and text styles).
Important questions about <DIV> tags
Replacing the <div> tag with a new tag is a major semantic achievement of HTML5. This <div> tag is an important (and still) tag in HTML4. It is widely used in HTML, but the semantics it expresses are too weak and it is useless in the task of declaring different blocks in the web page organization structure. New HTML5 tags – for example <article>, <aside>, <nav>, <figure>, <header>, <footer> – will be more useful and convenient. These tags allow you to specify the purpose of different areas of the page and clearly display the structure of the website. This means that even if you are a novice or a medium-sized programmer, you can clearly understand the structure of the entire page based on HTML code alone - it is more worth mentioning that search engines will be happy to be crazy because they can parse the structure of the page so easily.
What are the benefits for us?
There has been much discussion about the value of new tags and semantics, and some people think that these semantics and visual representations make no sense – because they bring more complex code, creating opportunities for new mistakes using these new HTML code, and the value of the new HTML5 semantics is to improve the level of interaction and collaboration between website users and these technologies, which is what keeps the Internet moving forward.
The same is true – we should understand that just like HTML5 gives us the feeling that it is so cool, people have put in it a lot of effort and have high hopes for the development of the Internet in the next five years. Today, these new markers and semantics do look great, and we all like it, but don't forget that anything is constantly changing to adapt to people's needs, new language features must depend on people's use, and the extensive use of the Internet community - only in this way can simple new things become useful new things.