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
The Internet is already saturated with articles o...
Table of contents Use Cases Reactive API related ...
Today I deployed the free-installation version of...
Table of contents pom configuration Setting.xml c...
VMware12.0+Ubuntu16.04+MySQL5.7.22 installation t...
The difference between relative and absolute in H...
First, let’s think about a question: To insert su...
Official documentation: JSON Functions Name Descr...
Table of contents illustrate 1. Blob object 2. Fr...
Docker allows network services to be provided by ...
Table of contents Preface What is Deno? Compariso...
Today I received a disk warning notification from...
Here are two ways to install MySQL under Linux: y...
There are two ways: 1. Service method Check the f...
Find the problem Today I am going to study the to...