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, ∼2526🔥, 0💬
Popular Posts:
Can Two Forms Be Nested? Can two forms be nested? The answer is no and yes: No. You can not nest two...
How to add request URL Template Parameters to my Azure API operation to make it more user friendly? ...
How to use "xml-to-json" Azure API Policy Statement? The "xml-to-json" Policy Statement allows you t...
How to dump (or encode, serialize) a Python object into a JSON string using json.dumps()? The json.d...
How to convert JSON Objects to PHP Associative Arrays using the json_decode() function? Actually, JS...