Journal eugene ts wong's Journal: Web Design: Content Negotiation At Geocities; My Own DTD 3
For those of you who really know what you're doing, here is some neat stuff.
- GeoCities Has Content Negotiation
- Go test it at my web site. For testing purposes, I only created a French page and an English page.
[JawTheShark, go ahead click it. You know you want to.
[Cyberdyne, a while ago, you offered to host a project that I was considering. I won't need your help anymore. I appreciate your offer a lot. I just feel that using GeoCities would be less trouble for you. Thanks again.] - I've Created My Own DTD To Allow For Better HTML
- Mine will allow you to put headings [h1, h2, h3, h4, h5, h6] and captions in lists. The headings will not need to be children of li elements. It will also allow you to put lists in paragraphs. I also created nl for navigation lists at the top of the page. That should be about it. My DTD should allow for cleaner, clearer and smaller HTML code. Your declaration should be something like this.
<!DOCTYPE HTML PUBLIC
"-//MrWong//DTD EHTML 1.0//EN" "http://www.geocities.com/eugenetswong/ehtml.dtd">No credit, bonuses, payment or recognition is required. This seems to work with Opera and should be okay with others.
Comments? Questions?
But is it valid HTML? (Score:2)
see subject.
I don't think you want to just go around changing the HTML standard, even if it works in some browsers.
Re:But is it valid HTML? (Score:1)
Some of those features were part of the XHTML 2.0 standard, which isn't fully implemented yet. This means that if it works now, then we are that much further ahead. nl and lists within paragraphs are examples of things in XHTML 2.0 that work now.
Re:But is it valid HTML? (Score:1)
Making your own DTD is more valuable when trying to put multimedia in your web page that is also compatible with older browsers. This will allow you to make modern pages that are strictly in compliance with good standards.