Summary of the differences between Html, sHtml and XHtml

Summary of the differences between Html, sHtml and XHtml
For example: <u> This has no ending character and the browser recognizes it

Shtml is based on Server Side Include (SSI). When there is a server-side executable script, it is treated as a dynamic programming language and can be included. When there is no server-side script, it is no different from HTML.

XHTML is based on the W3C standard and follows the strict XML format. It can be considered a transition from HTML to XML, and the syntax format is strictly required.

xhtml<p> must have a </p> end character (all elements must be closed)

xhtml<p><strong></strong></p> (correct nesting)

XHTML attributes should be enclosed in double quotes

Xhtml is case-sensitive, and the attributes and values ​​of tags are all lowercase.

Xhtml uses id instead of name attribute

<<:  What codes should I master when learning web page design?

>>:  Detailed explanation of using backgroundImage to solve the image carousel switching

Recommend

A brief discussion on the role of Vue3 defineComponent

Table of contents defineComponent overload functi...

Introduction to commonly used MySQL commands in Linux environment

Enter the mysql command: mysql -u+(user name) -p+...

jQuery plugin to implement stacked menu

A jQuery plugin every day - stacked menu, for you...

A brief discussion on several ways to pass parameters in react routing

The first parameter passing method is dynamic rou...

Detailed explanation of galera-cluster deployment in cluster mode of MySQL

Table of contents 1: Introduction to galera-clust...

Sample code for implementing DIV suspension with pure CSS (fixed position)

The DIV floating effect (fixed position) is imple...

Advantages of MySQL covering indexes

A common suggestion is to create indexes for WHER...

How to clean up the disk space occupied by Docker

Docker takes up a lot of space. Whenever we run c...

CSS -webkit-box-orient: vertical property lost after compilation

1. Cause The requirement is to display two lines,...

Implementation of formatting partitions and mounting in Centos7

Linux often encounters situations such as adding ...

JavaScript canvas to achieve mirror image effect

This article shares the specific code for JavaScr...

Alibaba Cloud applies for a free SSL certificate (https) from Cloud Shield

Because the project needs to use https service, I...