XHTML 1.0 Strict:
If you plan to use strictly Cascading Style Sheet and does not write most of the XHTML attributes so it is recommended to use this DTD. A document in accordance with this DTD will be better.
If you want to use DTD XHTML 1.0 Strict then you need to put the following in the top of the XHTML document.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
XHTML 1.0 Transitional:
If you plan to use a number of XHTML attributes as well as a few CSS style sheet, you should accept this DTD, and you should write a document based on DTD XHTML.
If you want to use XHTML 1.0 Transitional DTD then you need to pur following line at the top of your XHTML document.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
XHTML 1.0 Frameset:
You can use it when you want to use HTML Frames to partition the browser window into two or more frames.
If you want to use XHTML 1.0 Frameset DTD then you need to pur following line at the top of your XHTML document.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
No comments:
Post a Comment