XHTML 1.0 Document Types
How Many Document Types Defined in XHTML 1.0?
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">
2017-02-20, 205👍, 0💬
How To Use an Array as a Stack in PHP? A stack is a simple data structure that manages data elements...
How To Control Horizontal Alignment in Table Cells? By default, text in all table cells are aligned ...
Can You Add Values to an Array without Keys in PHP? Can You Add Values to an Array with a Key? The a...
How To Create a Table To Store Files in PHP? If you using MySQL database and want to store files in ...
How To Create a Directory in PHP? You can use the mkdir() function to create a directory. Here is a ...