Topic: HTML vs. XHTML

In a post in the Bug Reports forum, someone wrote:

Maybe there needs to be a text change. Writing html could wreck things, people need to write xhtml.

That made me wonder, what's the difference between HTML and XHTML?

Re: HTML vs. XHTML

we already had a big debate about this a while back, im too tired to find it now but it had lots of arguements for both of them

3

Re: HTML vs. XHTML

http://www.w3schools.com/xhtml/default.asp

Re: HTML vs. XHTML

My forums are not valid XHTML 1.0 strict.

5

Re: HTML vs. XHTML

Encode the ampersands (= change & to &) in links that point to extern.php and remove duplicate id's and you're left with ~three errors. These are all in your own board menu code in (output) lines 36-46.

Follow the rest of the hints the validator gives you and it will validate eventually. Vanilla PunBB code does.

6

Re: HTML vs. XHTML

To be fair, I think the instructions in extern.php need correcting or augmenting since the examples they give use "&" instead of "&".

7

Re: HTML vs. XHTML

True. The examples in http://punbb.org/docs/dev.html#syndication work if they are used on the browsers address line, but when used in anchor tags & is required.

Re: HTML vs. XHTML

XHTML is the new standard in webdesign. It is more strict and professional than HTML.

Re: HTML vs. XHTML

There are aguments for both. At the end of the day i'd learn towards XHTML as it is the future.

Re: HTML vs. XHTML

How do I fix this?

Re: HTML vs. XHTML

Just fix the errors it talks about wink
ie: Line 81, column 142: end tag for "div" omitted, but OMITTAG NO was specified
That just means you don't have an end tag for the div in the proper place

http://fluxbb.org

Free PunBB Hosting - lots of mods, easy to customize

Re: HTML vs. XHTML

Where should it be, then?

Re: HTML vs. XHTML

you should tab your markup properly then all the <div>s should have a </div> in line below them