Article introduction of Wulin.com (www.vevb.com): New interactive features of HTML 5 & CSS 3.
This picture in the title of this article was made in Phosotshop. However, you cannot search it in search engines, and search engines are not yet powerful enough to recognize text in pictures. And because the size of the pictures is not too small, netizens with slow internet speed may have to wait patiently for the pictures to be refreshed while browsing. So, is there a new way to avoid these shortcomings?
Yes, HTML5 and CSS3 can meet your needs. Even, it can do more and better. As designers, we should understand what they are and what features they have, and further think about what we can do with HTML5 and CSS3.
What are HTML5 and CSS3
HTML and CSS are not difficult to understand. HTML is the main language that makes up web pages. Through this language, we can explain the web page format, content, display effects, etc. to the computer. CSS is a language specifically used to control the display effect of web pages. At this time, the question arises. Why do we need to use CSS alone? Can HTML control the display effect of web pages? To answer this question, I'll give you a simple example:
Have you found that if we have to repeat a lot of information if we want to describe things clearly? The same is true for the page language, which seems messy and difficult to understand in this case. By integrating the language that controls the display effect into CSS, we can not only ensure the conciseness of the main part of the page language, but also very conveniently reuse various language collections.
HTML5 and CSS3 are the latest versions of HTML and CSS. Neither of them has established standards yet, but the new features that have been announced have made us excited.
New HTML 5
1. New content tags
The content tag level in HTML4 is the same, and it is impossible to distinguish between parts of the content. The content tags in HTML5 are independent of each other and at different levels. Search engines and statistical software can quickly identify various parts of the content.
2. A better table system
Now, you can abandon JavaScript or PHP and define tables only through HTML5. You can define the input format for each table cell, or you can define whether this cell is required, etc.
3. Audio and video API
HTML5 not only allows you to directly integrate video and audio on web pages, but also provides a set of feature-rich APIs to control media playback, and these elements used to control media playback can also be edited. Therefore, HTML5 can actually replace the commonly used flash plug-ins at the video and audio levels.