Forced to quit the Java back-end coding and client programming jobs he is good at, he turned to Web application development. Therefore, some basic knowledge of the Web Front-end, such as HTML basics, CSS, and JS, is a must-have knowledge. You may not need to be proficient in it, but do not need to understand its working principles, the basic form should be clear.
For this reason, I am reading the HTML and CSS on W3C. After reading it, I have a lot of feelings, as shown in the title: what you see is not necessarily true. In the past, I often heard people say that they have to look at things with care, and what they see may not be real. I have never understood the truth. html and CSS have proved this point very well. For example, the following Dom structure:
<Div id = "content">
<Div id = "Main"> </div> <! -Content display area -->
<Div id = "nav"> </div> <! -Menu Bar -->
</Div>
The format is as follows:
<Div id = "nav"> . Menu1 . Menu1 |
<Div id = "Main"> Page display corresponding to menu1 |
I was surprised at the beginning that it was the form of NAV's front-end, and its actual Dom structure was the main front. Of course, there are many expressions in HTML that users can see after CSS processing. The actual Dom structure is consistent with the representation.
I think this is also the power of CSS. html is just a rough room. It is best to stay comfortable with it, so it is completely old with the use of CSS.