|
|
||||||
|
||||||
| Index Link To US Private Messages Archive FAQ RSS | ||||||
| Submit Your Site For Review Need a fresh set of eyeballs to take a look at your site? Have a specific issue or question about some aspect of your layout, design or interface? This is the forum for you. When submitting your site, be sure to discuss what aspect you are looking for input on. Just posting a link with the word 'review' isn't appropriate. |
Share Thread: & Tags
|
||||
|
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
I'm working on running my pages through the sites listed before I submit them for peer review, and I'm having a hard time with !doctype.
I can't seem to find anywhere in my books what to do with this. Can anyone look at my site at www.shaddowdomain.com and help me with this? What is it and where do I need to put it? Thanks so much, I feel so silly, but I just can't find it : P |
|
||||
|
The specific doctype you will use depends on what standard you followed when developing your web site.
If you use the validator at http://validator.w3.org/, at the top of the results page there is a pulldown that lets you select the doctype to validate against. Once you find the one that validates with your site from the list, you can add that doctype to the beginning (first line) of your page. So, if your site validates as XHTML 1.0 strict for example, the doctype you enter would be <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> |
|
||||
|
Your document matches closest to HTML 4.01. So add these lines to the top of the document code:
Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
|
|||
|
I will do that, thanks so much!
So just for my own info, is my site (since I do my own code and I just look things up as I go along)kind of a "mutt" so to speak? Do I need to find a book on HTML 4.01 and stick to it to get the best results? Also, I do a lot of my tweaking with Front Page. What code does that make? Should I find a different editor, or just use my Front Page and tweak my page with the validator when I'm done? How much does that matter? |
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|
|
WebProWorld |
Advertise |
Contact Us |
About |
Forum Rules |
MVP's |
Archive |
Newsletter Archive |
Top |
WebProNews
WebProWorld is an iEntry, Inc. ® site - © 2009 All Rights Reserved Privacy Policy and Legal iEntry, Inc. 2549 Richmond Rd. Lexington KY, 40509 |