XHTML tutorial, a brief introduction to the basics of XHTML

XHTML tutorial, a brief introduction to the basics of XHTML
<br />This article will briefly introduce you to XHTML and the basic knowledge of XHTML
What is XHTML
XHTML is the abbreviation of The Extensible HyperText Markup Language. HTML is a basic WEB web page design language. XHTML is a markup language based on XML. It looks somewhat similar to HTML, with only some small but important differences. XHTML is XML that plays a role similar to HTML. So, in essence, XHTML is a transitional technology that combines some of the powerful functions of XML with most of the simple features of HTML.
At the end of 2000, the international W3C organization (World Wide Web Consortium) announced the release of XHTML 1.0 version. XHTML 1.0 is a new language that is optimized and improved based on HTML 4.0, with the purpose of being based on XML applications. XHTML is an enhanced HTML, and its extensibility and flexibility will meet more requirements of future network applications. Although XML has powerful data conversion capabilities and can completely replace HTML, it is still too early to directly adopt XML in the face of thousands of existing websites designed based on the HTML language. Therefore, based on HTML4.0, it was extended using XML rules to obtain XHTML. Therefore, the purpose of establishing XHTML is to achieve the transition from HTML to XML. The WEB standard currently advocated internationally in website design is based on XHTML applications (commonly known as CSS + DIV).
XHTML Version <br />To date, there are several versions of XHTML:
XHTML 1.0 Transient
XHTML 1.0 Strict XHTML 1.0 Frameset
XHTML 1.1
XHTML Basics <br />Among them, "XHTML 1.0 Transitonal" is adapted based on "HTML 4.01 Transitional", "XHTML 1.0 Strict" is adapted based on "HTML 4.01 Strict", and "XHTML 1.0 Frameset" is adapted based on "HTML 4.01 Frameset".
The small text comment tag was added in Microsoft Internet Explorer 5.0 and is supported in XHTML 1.1 (see Ruby Strings).
XHTML syntax XHTML language must conform to the format of XML, for example, it must be written in and must have a closing paragraph after using it. Moreover, XHTML tags must use lowercase letters, such as ", and cannot be written as"; each attribute must be enclosed in quotation marks, such as ", and cannot be used. The purpose of these practices is to enable an XHTML web page to be compiled correctly and quickly by a web browser.

<<:  The difference and reasons between the MySQL query conditions not in and in

>>:  Docker-compose installation db2 database operation

Recommend

How to find websites with SQL injection (must read)

Method 1: Use Google advanced search, for example...

Kill a bunch of MySQL databases with just a shell script like this (recommended)

I was woken up by a phone call early in the morni...

Nginx memory pool source code analysis

Table of contents Memory Pool Overview 1. nginx d...

Implementation of code optimization for Vue2.x project performance optimization

Table of contents 1 Use of v-if and v-show 2. Dif...

Instructions for recovering data after accidental deletion of MySQL database

In daily operation and maintenance work, backup o...

Detailed explanation of vue page state persistence

Table of contents Code: Replenish: Summarize Requ...

JavaScript deshaking and throttling examples

Table of contents Stabilization Throttling: Anti-...

How to delete extra kernels in Ubuntu

Step 1: View the current kernel rew $ uname -a Li...

Detailed process of building mongodb and mysql with docker-compose

Let's take a look at the detailed method of b...

Install MySQL5.5 database in CentOS7 environment

Table of contents 1. Check whether MySQL has been...

Specific use of Linux dirname command

01. Command Overview dirname - strip non-director...

Steps to deploy ingress-nginx on k8s

Table of contents Preface 1. Deployment and Confi...