What is the old frontend's mentality of advising new users not to learn HTML5? -

Source: Internet
Author: User
0 reply content: for fear of browser incompatibility.
However, the reason why the wonderful browser is still strong is that this group of old front-ends.

If I write a page now, I don't care whether I care about IE, until the customer complains that the boss will be bored. Besides, writing alert pop-up windows keeps bothering them and telling them that IE678 cannot have the best experience. Upgrade the browser! 1) HTML5 has many new tags that meet the needs of today's users. In China's network environment, to use these tags, you must simultaneously perform graceful degradation on the old browser.

2) HTML5 has some extension proposals or is in the testing phase. For example, srcset is a great attribute for solving responsive images. caniuse points out that only chrome and opera are supported currently.

HTML5 has a lot of great things to learn. It provides more possibilities for web design. However, in China, more than 1/5 of computers used for Internet access still use IE6 (http://www.modern.ie/en-us/ie6countdown#list I have been skeptical about this number for a long time ......), At the same time, a large number of people are still using IE7 and IE8. In the face of these browsers, it is necessary to take time to fully implement graceful degradation. Sometimes it is necessary to give up some results, to the extent that you can use it.

Therefore, it is not unreasonable to persuade you not to learn HTML5-it may not be used for the time being and will be distracting.

However, in the long run, it is very advantageous to learn first. Although it is unclear in what context the subject encounters this situation, HTML5 is only the latest version of HTML. It does not specifically refer to those new functions and features, this includes the new content and the collection after the old content is extracted and upgraded. likewise, some people like to say that Photoshop CS2 won't be used. For such people, I just want to say-go to NM. most html5 features can be implemented only by js calls. You won't use it either. Finally, write a bunch of things that cannot be maintained and are incompatible. HTML is an important part of HTML5. It is not a number 5 yet. You should learn HTML. Just like learning Java and learning Java 1.7 are not the same thing. I guess he meant to advise you not to learn web.
The debate on whether or not the web will survive for a long time, because the web is currently at a disadvantage in the competition with the app, and the app shares are getting higher and higher. See:
Is the Web dead? Flurry released a new report, and users' time spent on browsers has been significantly behind the APP Why is the rise of mobile apps and the decline of Web applications restraining innovation?
If you are interested, read the article referenced above.

In my opinion, I wrote a large section and deleted it because I may have incorrect understanding of the question. It should be clarified that the reference in this answer does not represent my opinion. I am still very optimistic about web.


Two more in-depth analysis articles are attached:

Rethinking Web and mobile browsers in the smart phones and the age (I)
Reflections on Web and mobile browsers in smartphones and the times (II)
Old veteran's line: Your sister's css and js are not clear. The old front-end of xuemao html5 may mean that you should lay a good foundation for the novice. It may be impossible to complete HTML5 as soon as it comes up, I personally think that HTML5 is the trend of the times, but it may be unstable to use HTML5 at this stage.

The definition of HTML5 on zhihu's topic is: HTML5 It is the next major revision of HTML and is still in development. In a broad sense, HTML5 refers to a set of technical combinations including HTML, CSS, and JavaScript.HTML5 still retains the previous labels and functions, but HTML5 is still in the development and transition phase. IE9 and IE Versions later than IE9 are compatible with most of the new HTML5 features, mainstream browsers such as chrome, opera, firefox, and safari also support the HTML5 standard.

However, HTML5 is only a standard, and the support for each kernel is uneven. Here are some examples.
  1. The src attribute of the Video/Audio element in HTML5. Some browsers need to set and obtain the Video/Audio element through the currentSrc method, and some browsers need to set and obtain the Video/Audio element through the src method.
  2. What can be done on PC is not necessarily customized on Android. For example, the drawImage () of the canvas can be implemented by the PC when you draw a video to the canvas, but iOS can, but Android cannot (I cannot implement it during the test)
  3. Different browsers support different formats for audio and video, so compatibility is currently worrying ......

In addition, in the current situation, from the user's perspective, some websites that use HTML4 for stable operation are generally not easy to use html5. Imagine that when such a website suddenly uses HTML5 technology on a large scale, a user still uses IE8 to access your website, what we see is some strange pictures or what the front-end siege lions have prepared for this part of users: "Your browser is too old ~~ We recommend that you use IE9, chrome, opera, and firefox to access me ~~" Page, if the user does not know how to do it, the desire to access will disappear ...... For these websites, it is a good choice to use HTML4, which is stable and applicable for the time being. When html5. (Of course, some websites have HTML5-based functions, which cannot be applied to different users)

Therefore, BeginnerFirst, after finishing the front-end almost, you can get started with HTML5 and CSS3, which will be more profound. It is still a while before HTML5 becomes the mainstream.

For front-end, HTML5 learning is also requiredAfter all, the general trend.
  1. HTML5's new features are quite attractive. You can watch videos and listen to music through video and audio without downloading and installing other controls.
  2. The HTML5 Audio API allows the front-end to manipulate the sound more deeply and achieve more unexpected things.
  3. Now Apple does not support Flash. HTML5 mining is a good choice for users. Of course, HTML5 is more powerful and easier to use than Flash to a certain extent. For example, canvas and HTML5 may replace most Flash functions.

In my personal opinion, if an error occurs, I hope to correct this answer. Html5 only adds some content on the basis of the original, of course, it should be learned, but the premise is that we should first know the basics. It is also worried that we should not learn html5, in this way, it will be difficult to learn new ones. For example, if some labels are added, it makes no sense to understand the meaning of the basic labels. For example, if canvas does not learn much about js, it is hard to learn it, and there is also the same principle of offline storage. But you should know something about it.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.