Home > front end >  The difference between HTML and HTML 5
The difference between HTML and HTML 5

Time:10-02

The difference between HTML and HTML 5:

Actually to put it bluntly, is the difference between ES5 and ES6, HTML is the front page of the necessities, but as people development needs and the speed, the late maintenance and code readability, all aspects of demand increases unceasingly, will find HTML some labels can't satisfy the inside, so upgrading, constantly demand more integrated part added a new element tag in, one of the commonly used has the following these, if you have not complete please understanding, only supplies the reference:
The structure of the new tags:
1, the header element
Said a content block or whole page in the page title,
2, the hgroup element
Said to the whole page or pages of the title of a content block are combined,
3, the article element
Said the page associated with context is not a piece of independent content, such as an article,
4, value element
Said the article element content, auxiliary information related to the content of the article element,
5, footer element
Said the entire page or pages in a footnote content blocks, in general, he contains the name of the creator, creation date and the contact information of the creator,
There are also frequently used, such as the new form controls, such as calendar, the date, time, email, url, search; For media playback of video and audio elements; Used for painting the canvas element, these are some very strong new labels, a lot of research of ascension has great help to us,

The difference between the CSS and CSS 3:

Similarly, HTML and described above distinction actually, are updated version, on the basis of the original added some commonly used new attributes, lists some below, you can look at:
A: CSS 3 selector
Basic selector
1.2. The attribute selectors
3. The pseudo class selector
2: CSS 3 border with rounded corners
1. CSS 3 fillet radius, border -
2. The box shadow box - shadow
Three: background and range of gradient

1. The range of backgroundBackground - image
2. The range of gradient
Definition: between two or more designated color can show the transition of translational
Four: CSS 3 transition
Definition: allows CSS attribute values in a certain time interval a smooth transition, in the mouse to click, the mouse slip or for any change in the elements of trigger, and smooth change CSS attribute values in the form of animation,
Five: CSS 3 transformation
Definition: make an element deformation in a coordinate system, this property contains a series of deformation function, can move, rotate, zoom element,
Six: CSS 3 animation
Definition: to gradually change elements from one style to another style effect,


  • Related