HTML5 new knowledge
1. The main new semantic tags of h5 are as follows:
1. header page header, page header
2. nav page navigation
3. atricle an article
4. section chapter in the article
5. aside sidebar
6.footer bottom of the page, footer
To make the PC compatible with h5 new tags, introduce the js file into the page
2. New form controls in HTML5
1. New types: Website Email Date Time Week Quantity Range Phone Color Search
a.
b ,
c.
d、
e、
2. Add commonly used form control attributes
a. placeholder Set the default prompt text of the text box
b. autofocus automatically obtain focus
c. autocomplete Set whether there is a drop-down of associated keywords. Generally set to "off" and turn it off. For example: autocomplete="off"
3. HTML5 audio audio and video video
html5 adds audio and video tags, providing a standard method for inserting audio and video on the page
1. Audio tag support Format: ogg, wav, mp3
##Corresponding attributes:
a.autoplay Automatic play
b. controls display player
c. loop loop player
d. preload preload
e, multed mute
For example:
The source tag is used to provide multiple media file addresses. If the file at one address is incompatible, use the following an address.2. Video tag Supported formats: ogg, mp4, webM
Corresponding attributes: a.width b ,height c、PosterFor example:
Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics



Guide to Table Border in HTML. Here we discuss multiple ways for defining table-border with examples of the Table Border in HTML.

This is a guide to Nested Table in HTML. Here we discuss how to create a table within the table along with the respective examples.

Guide to HTML margin-left. Here we discuss a brief overview on HTML margin-left and its Examples along with its Code Implementation.

Guide to HTML Table Layout. Here we discuss the Values of HTML Table Layout along with the examples and outputs n detail.

Guide to HTML Input Placeholder. Here we discuss the Examples of HTML Input Placeholder along with the codes and outputs.

Guide to Moving Text in HTML. Here we discuss an introduction, how marquee tag work with syntax and examples to implement.

Guide to the HTML Ordered List. Here we also discuss introduction of HTML Ordered list and types along with their example respectively

Guide to HTML onclick Button. Here we discuss their introduction, working, examples and onclick Event in various events respectively.
