Quote:
Originally posted by Raven_Writer
I'd like to state that I said "you MIGHT need to use hex numbers", not "you HAVE to use hex numbers".
I said <br /> was only XHTML standard. XHTML isn't much different than HTML. According to W3Schools it's supposed to suprass HTML.
Name was replaced by id in XHTML.....
id is only used for images though I think, but it might be used for others also.
RGB values can be used, yes.
But if someone wants a standard (a.k.a. compliant) website, then they should use standard coding.
Am I the only one that has even attempted XHTML?
|
In the future (namely when version 2.0 is recommended), XHTML will introduce concepts not found in HTML, which is not going to be updated anymore. Name was not replaced by id. They serve the same function in HTML 4 and XHTML 1, and both are valid. Id is for any element, whereas name isn't supposed to be. Id is used alongside class in CSS1 core to identify elements (like #textarea {color: red;}). or spots in a webpage (see the link that says post #12 in the top right corner of my post?).
I write in HTML 4 and XHTML, depending on the site. Just like how many think that validating makes their code 'better', I think a lot of people use XHTML just because it's new and they think they are somehow writing better code. Really though, the X doesn't make you 1337
