Re: Capital or small caps



Samuel van Laere wrote:
Hello,

usually I write all my tags and attributes in small caps
with the only exeption being the doctype.

How in the world do you write tags and attributes in small caps?

Now someone is asking me if HTML allows tags and attributes to be written in capital letters.
I do not know the answer to that.

Tag and attribute names are case-insensitive in HTML, except in the case of XHTML, which follows the rules of XML, which means they are case-sensitive--and in HTML, the standard tag and attribute names are defined as lower-case.
.



Relevant Pages

  • Re: Capital or small caps
    ... usually I write all my tags and attributes in small caps ... with the only exeption being the doctype. ... Now someone is asking me if HTML allows tags and attributes to be written in ...
    (alt.html)
  • Capital or small caps
    ... usually I write all my tags and attributes in small caps ... with the only exeption being the doctype. ... Now someone is asking me if HTML allows tags and attributes to be written in ...
    (alt.html)
  • Re: Youve gotta love vb6
    ... "block" tags, you'll start to see the IE 6 problems. ... HTML are classified as either inline or block. ... The doctype can be any doctype or no doctype. ... I don't have IE7 installed. ...
    (microsoft.public.vb.general.discussion)
  • Re: Trendiness of pseudo-XHTML
    ... Usually, not *all* of the empty tags (which would require the "/>" syntax in XHTML) are so marked, but there is instead a random assortment of XHTML-style and HTML-style tags that would be invalid under any DOCTYPE. ...
    (comp.infosystems.www.authoring.html)
  • Re: doctype
    ... > 1) Layout tables include the height attribute in table tags. ... >>> If you use FP layout tables, navigation bars, or a theme, the validation ... >>> Which!doctype you use depends on the HTML code in the page. ...
    (microsoft.public.frontpage.programming)