SoFunction
Updated on 2025-03-10

Who cares about what Web standards



Fortunately, because the page of this site is very simple, it can easily pass the strict version of XHtml certification. But I didn't find any benefits to pass this authentication: has the number of views increased, or is it that users generally praise my website for opening the same effect in different browsers?

As for the standard, after a zealous pursuit of code elegance, my view on it has gradually changed. This question has to go back to the starting point of why we need to build a website. Regardless of whether your current website is for-profit or not, there is only one starting point: it is to target customers.

Do customers come to visit every day just because your website has passed the so-called Web standard? I think this conclusion is obvious. What is closely linked to the user's attention is not how beautiful the website page is, but the content. A website with only fancy pages but no actual content will be closed in a user's praise (of course, there is no need to say the opposite extreme).

My current view is that Web standards are only at the technical level, and this has nothing to do with users. What users want is the effects, functions and content. Thinking back to my "blame" in the past, why did Google not even add one DOCTYPE, I can understand it when I think about it.

The XHtml standard in the Web standard is not so standard, but according to my opinion, it is more of an idea. Its main purpose is to achieve the separation of DOM: that is, the separation of structure (XHTML), representation (CSS) and functions (Javascript). With this idea, it can be very easy to implement the Web standard (of course, this still requires a certain amount of technical experience).

If you don't add the onclick and style attributes to xhtml (this can completely define an id and let Javascript and CSS handle it separately); you don't have to completely nest N DIVs (because you already know that xhtml itself can describe the page framework in a very detailed way), then your page itself is standardized (it sounds very simple, doesn't it?).

Finally, Realazy’s above article is very classic: “Who cares about what Web Standards”. The title is very similar to this article, but he also has his own unique insights, so it is recommended to take a look.

This site has now passed the strict version of XHTML certification, and a simple page may have an advantage that the structure is clear enough: the code of this site hopes to be useful to you. Brothers are welcome to visit my website when you have time, and I hope to find something you are interested in.