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
-1
votes
1 answer

why php script not catching the value from xhtml form input where the form is under div tag?

i am working with multiple form in one page. Basically i have a form in which there are some element and when a user select one of the category from drop-down list in the form, it adds addition elements on the form depending on the category chosen.…
kiran patel
  • 135
  • 1
  • 3
  • 10
-2
votes
2 answers

how to link website to a facebook group, tweeter, youtube?

I want to link the website to facebook group, tweeter, youtube, VK. So that when I click on the social media button on the website, I will follow them.
Mario
  • 1
  • 3
-2
votes
1 answer

Where is the error in tag(a)?

this is my first year in html courses, i'm using HTML 4.01 Strict/XHTML 1.1 Where is the error in this code??
-2
votes
1 answer

xslt generate xhtml 1.0 strict

I generate xhtml but validator (http://validator.w3.org/check) give me error "document type does not allow element "li" here; missing one of "ul", "ol" start-tag" Code is:
Peter Fašianok
  • 153
  • 1
  • 1
  • 8
1 2 3
12
13