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 make a centos base image

Preface Now the operating system used by my compa...

iview implements dynamic form and custom verification time period overlap

Dynamically adding form items iview's dynamic...

The concept of MySQL tablespace fragmentation and solutions to related problems

Table of contents background What is tablespace f...

30 minutes to give you a comprehensive understanding of React Hooks

Table of contents Overview 1. useState 1.1 Three ...

How to modify the default submission method of the form

The default submission method of html is get inste...

Vue image cropping component example code

Example: tip: This component is based on vue-crop...

CentOS 8 officially released based on Red Hat Enterprise Linux 8

The CentOS Project, a 100% compatible rebuild of ...

HTML table mouse drag sorting function

Effect picture: 1. Import files <script src=&q...

HTML+jQuery to implement a simple login page

Table of contents Introduction Public code (backe...

Example code for implementing a simple search engine with MySQL

Table of contents Preface Introduction ngram full...

Detailed explanation of root directory settings in nginx.conf

There are always some problems when configuring n...

jQuery realizes the picture following effect

This article shares the specific code of jQuery t...

MySQL stored procedure method example of returning multiple values

This article uses an example to describe how to r...

MySQL and sqlyog installation tutorial with pictures and text

1. MySQL 1.1 MySQL installation mysql-5.5.27-winx...