New elements in HTML5
Below is a list of new elements in HTML5 and describe how to use them.
Below is a list of new elements in HTML5 and describe how to use them.
New syntax / structure elements in HTML5
HTML5 brings new elements to better text structure.
Card DescriptionDefine an article. Define content next to page content Separating a text item can be formatted differently from the restNew form elements in HTML5
Card Description Define a list of predefined options for input data Definition for calculation resultsNew input data types in HTML5
New input data typeAttribute type for new input data- color
- date
- datetime
- datetime-local
- month
- number
- range
- search
- tel
- time
- URL
- week
- autocomplete
- autofocus
- form
- formaction
- formenctype
- formmethod
- formnovalidate
- formtarget
- height and width
- list
- min and max
- multiple
- pattern (regexp)
- placeholder
- cần thiết
- step
HTML5 - New attribute syntax
HTML5 allows 4 syntax types for attributes.The example below shows the syntax types used in the tag
TypeExample Empty disabled> Don't quote value = John> Double quote value = "John Doe"> Quote value value = 'John Doe'>In HTML5, all 4 syntaxes can be used, depending on what the attribute needs.
Graphics in HTML5
Card Description Draw graphics quickly through scripts (usually JavaScript) Draw resizable vector graphicsNew multimedia elements in HTML5
Card DescriptionYou've just finished reading the article "New elements in HTML5" edited by the TipsMake team. You can save new-elements-in-html5.pdf to your computer here to read later or print it out. We hope this article has provided you with many useful tech tips and tricks. You can search for similar articles on tips and guides. Thank you for reading and for following us regularly.