Home > Article > Web Front-end > How to learn html5?
Advantages of HTML5
HTML5 will become the new standard for HTML, XHTML and HTML DOM.
The last version of HTML was created in 1999. The world of the Web has changed dramatically since then.
HTML5 is still a work in progress. However, most modern browsers already have some HTML5 support.
How to learn html5?
1. Pay attention to practice and gain true knowledge from practice.
Nowadays, many people who have learned a lot do not like to practice the operation by themselves when learning HTNL5. Instead, they like to watch videos or recite by themselves. In fact, this learning method is wrong, because learning code requires you to do it yourself. Only with more hands-on practice will you become more familiar with it. This is a step-by-step process. So mastering code is not just about memorizing but also trying. Try to write the code yourself, then discover the problems, and finally summarize and form a theory and memorize it.
2. From the whole to the part, from the skeleton to the flesh and blood
When learning HTML and CSS, it often involves the construction of web pages and other related knowledge. The method that needs to be adopted is the learning method of "from the outside to the inside", "from the whole to the parts", and "from the overall situation to the details". Therefore, when learning new knowledge, you must cover the branches and leaves, and don't stick to a certain detail and indulge in it. The backbone is like an outline of learning. This learning method of finding the backbone first and then adding branches can minimize the loss of knowledge and make it easier to establish relationships between knowledge.
3. Memory is very important
In the first method, we talk about focusing on practice, but this does not mean that memory is ignored. Memory is also very important and is often encountered in learning. A summary of various questions is now the knowledge point that needs to be memorized. For example, what data types are there, what label elements are there, etc. When encountering this kind of knowledge point, you must master it through memory, because many people think that understanding is the most important during the learning process. This idea is wrong. Because if you can’t even remember it, how can you understand it?
4. Analogy
When learning the knowledge point of CSS introduction method, another learning method is adopted. Analogy, or it can also be called analysis. This learning method is mainly aimed at us distinguishing two or more similar things. Such knowledge as strong and em, block elements and line elements, synchronous and asynchronous, etc. have similar knowledge, so when learning, you should think more, capture the differences between several things, and combine them to memorize them.
5. Step-by-step learning
Learning is a process that accumulates over time. No one can learn a lot of things at once. Just as in the process of learning, you usually encounter some large-scale knowledge , this kind of knowledge is relatively difficult to grasp. Of course, when encountering this type of knowledge, don't be anxious, and do it step by step in a down-to-earth manner. For example, learning animation framework is a typical example. Learning is a step-by-step process, and the idea of learning is also very important. In other words, I know that I need to complete it step by step, but I just don’t know how to start or where to start. At this time, a clear learning idea is needed! In the process of learning knowledge, the focus is to pay attention to ideas, and the specific small knowledge points are blood and flesh.
Learning does not happen overnight. It is crucial to have a good learning method during the learning process. Mastering your own learning methods will benefit you for life.
html5 advanced road
1. HTML5 tutorial
Mainly learn HTML tags, attributes and events
2. CSS Tutorial
Mainly learn to use CSS to control the style and layout of web pages. A book explaining CSS3 is required.
3. JavaScript Tutorial
For HTML5 development, JS language is mainly used. So learn JS language. If necessary, you should also learn some JS libraries to facilitate development.
The above are just the basics. For HTML5 development, the following technologies may be used.
4. Other core technologies of HTML5
1. WebWorker
can run multiple JS scripts in the browser. Can be used when some time-consuming work needs to be performed in the background.
2. WebSocket
The browser can communicate with the server in two directions. The Socket method can greatly improve the communication efficiency between the browser and the server. It can be used in situations where communication between the browser and the server is frequent, such as real-time chat.
3. Canvas2D
Related recommendations "H5 Tutorial"
The above is the detailed content of How to learn html5?. For more information, please follow other related articles on the PHP Chinese website!