Tools, FAQ, Tutorials:
XHTML 1.0 Document Types
How Many Document Types Defined in XHTML 1.0?
✍: FYIcenter.com
There are only 3 document types are defined in XHTML 1.0:
1. Strict type: Only allow non-deprecated and non-frameset XHTML elements in this type. Strict type should be declared as below:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
2. Transitional type: Allow all XHTML elements defined in "strict" type, plus other elements that are deprecated in HTML 4.0. Transitional type should be declared as below:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3. Frameset type: Allow all XHTML elements defined in "transitional" type, plus frame related elements. Transitional type should be declared as below:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
⇒ Smallest Valid XHTML 1.0 Document
2023-11-06, 1419🔥, 0💬
Popular Posts:
How To Pass Arrays By References? in PHP? Like normal variables, you can pass an array by reference ...
How to use "link" command tool to link objet files? If you have object files previously compiled by ...
What properties and functions are supported on requests.models.Response objects? "requests" module s...
How to pull NVIDIA CUDA Docker Image with the "docker image pull nvidia/cuda" command? If you are ru...
How To Read the Entire File into a Single String in PHP? If you have a file, and you want to read th...