When discussing Web standards, one thing that always comes up is the importance of separating structure from presentation. Understanding the difference between structure and presentation can be difficult at first, especially if you are not used to thinking about the semantic structure of documents. However, it is important to understand this because, when structure and presentation are separated, it is easy to control presentation using a CSS document. The structure consists of the main body of the document, plus semantic and structural tags. Presentation is the style you give to your content. In most cases, presentation is how a document looks, but it can also affect how a document "sounds" - after all, not everyone uses a graphical browser. Separate structure and presentation as much as possible. In theory, you should use one HTML document to store content and structure, and one CSS document to control the presentation of the entire document. It is still common today to have websites where presentation and structure are not separated. So when we first start learning, we should develop a good habit of putting them in separate files. XHTML files can link and share external CSS and JavaScript documents. |
<<: Use CSS to achieve circular wave effect
>>: Docker images export and import operations
Initialize Dockerfile Assuming our project is nam...
Table of contents 1. Introduction 2. Introduction...
Table of contents 1. Troubleshooting and locating...
For work needs, I found a lot of information on t...
Special symbols Named Entities Decimal encoding S...
SQL fuzzy query statement The general fuzzy state...
Table of contents Preface 1. Iceraven Browser (Fi...
This article shares the specific code for impleme...
1. Single machine environment construction# 1.1 D...
Docker tag detailed explanation The use of the do...
<iframe src=”you page's url” width=”100″ he...
I was recently working on a project about face co...
1. Problem description The storage installed in t...
The hardware requirements for deploying Hyper-V a...
nginx server nginx is an excellent web server tha...