The webpage mentioned here refers to an html static webpage including javascript code (called a template page when a dynamic website is created ).
I didn't even use the basic css syntax when I came into contact with page creation, and I rarely used the table method before. So I started learning from div + css and started to look at webpages written by others, then I analyzed every line of their code. Later I found that this learning method is not suitable for me. So I wrote a webpage with a less complex structure and then wrote a webpage with an html structure according to the image.
At the beginning, I didn't even connect to basic statements such as margin and padding, but I didn't use software with code prompts and control drag-and-drop functions such as dreamweaver and frontpage to write webpages, this is because the senior engineer told me that the beginner website creation must not use code-prompting software. At that time, I didn't understand why. Later I became proficient in writing or even did not touch those software to understand the truth. These software was used to improve work efficiency. Sometimes they were time-consuming and task-intensive, it is imperative to improve code writing efficiency and be forced to use it (although in this case, I think it will be more efficient to not use these software ).
Writing html with software is not that important. You may have used Editplus, Notepad ++, sublime text2, ultra edit, vim, and other code editors when getting started, it may also be the best way to use that software to write pages in Baidu and Google's crazy search, just like me, or even waste time writing the same code in different editors to experience your life, this is a problem that is easy for beginners to learn. We don't have to "Work hard" on selecting an editor. We can only use 1% of all the functions of the so-called god-like editing software, all the functions we can use are available in the editor, so you just need to think about which one is easy to use. The Code should be customized one by one. Do not use the code prompt function, if the software enables code prompts by default, it will take the initiative to turn it off. If you want to become a master, then tell you, real experts can write gorgeous code even with the notepad provided by windows.
It is recommended that new users do not read those online tutorials one by one. Instead, they should start with a simple page with only a framework, and manually check whether the html page can be achieved, if you encounter a problem that cannot be solved, you can consult with others. The syntaxes involved in css still have words to remember. Writing them once or twice cannot be remembered (I am not a genius ), it takes at least dozens of times to remember, and gradually increases the difficulty of page structure, and finds a way to achieve the dynamic effect of javascript.
Finally, the most important issue is the consistent display effect in different browsers. This is a problem that has plagued front-end page producers for many years, but there are solutions to it, when a normally displayed webpage is displayed in another non-similar browser (or different versions of the same type), do not doubt your code. This is caused by the difference in browser resolution, these problems have already been encountered by senior people. You can find a solution by searching Baidu.
What is important for creating a webpage is to write it, instead of using any software. I hope that you will be interested in creating a webpage to truly experience the pleasure of using code to make a beautiful webpage.