Questions tagged [xhtml-1.0-strict]

XHTML 1.0 Strict is a legacy version of HTML that was formulated as the XML equivalent to strict HTML 4.01. It includes only the elements and attributes that had not been marked deprecated in the HTML 4.01 specification.

Along with XHTML 1.0 Strict there were also XHTML 1.0 Transitional and Frameset versions.

XHTML was a name formerly used for a casting of HTML in XML syntax, to use with XML parsers.

http://en.wikipedia.org/wiki/Xhtml

XHTML 1.0 Strict does not include presentational tags (like <font> or <b>) or the <script> tag, meaning that all other languages other than HTML or XML (that are allowed) must be declared as either links to files (<link type="text/css" href="file.css" />, <script type="text/javascript" src="file.js" />) or declared within the file as valid tags (<style type="text/css">). Currently, JavaScript must be referenced using the src attribute of the <script> tag, you cannot type it directly onto your XHTML 1.0 Strict page.

XHTML 1.0 Strict has certain requirements that all pages with its doctype must meet:

  1. The doctype <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> ensures that the web browser knows that the document type is XHTML 1.0 Strict.

  2. The character encoding can be added in two ways: 1. <meta http-equiv="content-type" content="text/html; charset=UTF-8" /> in the <head> element, or 2. <?xml version="1.0" encoding="utf-8"?> above the doctype. This ensures that odd characters, for example π,  or 煸 are correctly displayed.

185 questions
4
votes
1 answer

Support for XHTML documents?

Something funny happens when you serve an XHTML document as XHTML "application/xhtml+xml" as recommended. AJAX libraries, scripts, and styles seem to fall apart. jQuery's documentation for individual methods is littered with comments about lack of…
Triynko
  • 18,766
  • 21
  • 107
  • 173
4
votes
3 answers

What are the differences between xhtml 1.0 strict and xhtml 1.1?

xhtml 1.1 is the evolution of xhtml 1.0, right? So i wonder what are the main differences between them. I've been using xhtml 1.0 strict for a while but, if there's an evolution, i'd like to know if there's something better about it. obs: there are…
Hugo Mota
  • 11,200
  • 9
  • 42
  • 60
4
votes
1 answer

List of IE9 Standards Mode changes

I would like a (extensive) list of changes that have been made to the behavior of IE9 in standards mode. As an example, I recently debugged an issue in SWFObject and found that IE9 now returns typeof stylesheet.addRule == "function" instead of…
user120242
  • 14,918
  • 3
  • 38
  • 52
4
votes
3 answers

Ordered Lists
    , Starting index with XHTML Strict?

Is there a way to start an ordered list from a specific index while following XHTML Strict? Using start=n works well, but has been deprecated… The intended purpose is to resume the index with paging. I saw a few references to a CSS solution, but…
ccook
  • 5,869
  • 6
  • 56
  • 81
4
votes
0 answers

FireFox script tag error

While adding some very basic script tags I found a wierd "bug" in firefox (as well as IE) I added these two lines of code to my .htm page