WEB standard web page structure

WEB standard web page structure
Whether it is the background image or the text size on the page, a one-pixel difference is very obvious. And I brought the bad habits I had in school with me. I was always so careless. After submitting the page for the first time, there were a lot of problems. Fortunately, my tutor pointed them out to me, otherwise I would not have been able to realize those problems. It all came down to me being too careless and not accurately restoring the design draft. I must work hard to overcome this in the future. Strive for perfection in the visual display of page design.

Through this experience, I also understood some page structures. At first, I thought that the structure was what kind of structure you wanted the page content to be displayed in after the browser blocked the loaded style. Use this appearance to choose appropriate tags and build your own page structure. And confuse it with the browser's default display style. On the one hand, it is because of endless meaningless associations with some labels that lead to misunderstandings in the use of labels. I think this is a problem that many refactoring personnel will inevitably encounter. At this time, I just put it into practice.

For example, in this project I used a lot of comment lists for the image lists because I wanted the appearance of the entire HTML file to be in line with people’s normal thinking after removing the styles. It's something I imposed on the page, and it's not a very correct structure. It was I who expanded its scope of use. Going back to its most original usage, it is actually just a label used to express content, not a structure. This is a misunderstanding, because some people may think that this is not a list of notes, but a paragraph. It depends on the individual. So in this situation where everyone cannot reach a consensus on the choice, choosing the meaningless div tag may be a compromise.

Structure is something that really needs to be experienced and summarized slowly!

<<:  Solution for Docker container not recognizing fonts such as Songti

>>:  A brief discussion on the built-in traversal methods of JS arrays and their differences

Recommend

Solution to MySQL root password error number 1045

Stop MySQL Service Windows can right-click My Com...

Three ways to forward linux ssh port

ssh is one of the two command line tools I use mo...

Eight implementation solutions for cross-domain js front-end

Table of contents 1. jsonp cross-domain 2. docume...

Instructions for using the --rm option of docker run

When the Docker container exits, the file system ...

When the interviewer asked the difference between char and varchar in mysql

Table of contents Difference between char and var...

Solution to the low writing efficiency of AIX mounted NFS

Services provided by NFS Mount: Enable the /usr/s...

JavaScript implements countdown on front-end web page

Use native JavaScript to simply implement the cou...

How to delete the container created in Docker

How to delete the container created in Docker 1. ...

JavaScript to achieve the effect of clicking on the submenu

This article shares the specific code of JavaScri...

Nginx configuration PC site mobile site separation to achieve redirection

Use nginx to configure the separation of PC site ...

Detailed explanation of screen command usage in Linux

GUN Screen: Official website: http://www.gnu.org/...

Summary of basic usage of CSS3 @media

//grammar: @media mediatype and | not | only (med...

Tutorial on how to remotely connect to MySQL database under Linux system

Preface I recently encountered this requirement a...

JavaScript implements constellation query function with detailed code

Table of contents 1. Title 2. Code 3. Results IV....