background preloader

XHTML 1.0: The Extensible HyperText Markup Language (Second Edition)

XHTML 1.0: The Extensible HyperText Markup Language (Second Edition)
A Reformulation of HTML 4 in XML 1.0 W3C Recommendation 26 January 2000, revised 1 August 2002 superseded 27 March 2018 This version: Latest version: Previous version: Authors: See acknowledgments. Please refer to the errata for this document, which may include some normative corrections. This document is also available in these non-normative formats: Multi-part XHTML file, PostScript version, PDF version, ZIP archive, and Gzip'd TAR archive. Copyright ©2002 W3C® (MIT, INRIA, Keio), All Rights Reserved. Abstract This specification defines the Second Edition of XHTML 1.0, a reformulation of HTML 4 as an XML 1.0 application, and three DTDs corresponding to the ones defined by HTML 4. Status of this document This section describes the status of this document at the time of its publication. This specification is a Superseded Recommendation. This section is informative. 1.1. 1.2. May a Related:  Références utiles

HTML 4.01 Specification Abstract This specification defines the HyperText Markup Language (HTML), the publishing language of the World Wide Web. This specification defines HTML 4.01, which is a subversion of HTML 4. In addition to the text, multimedia, and hyperlink features of the previous versions of HTML (HTML 3.2 [HTML32] and HTML 2.0 [RFC1866]), HTML 4 supports more multimedia options, scripting languages, style sheets, better printing facilities, and documents that are more accessible to users with disabilities. HTML 4 is an SGML application conforming to International Standard ISO 8879 -- Standard Generalized Markup Language [ISO8879]. Status of this document This section describes the status of this document at the time of its publication. This document has been reviewed by W3C Members and other interested parties and has been endorsed by the Director as a W3C Recommendation. This specification is a Superseded Recommendation. Available languages Errata

Cascading Style Sheets Level 2 Revision 1 (CSS 2.1) Specification This specification defines Cascading Style Sheets, level 2 revision 1 (CSS 2.1). CSS 2.1 is a style sheet language that allows authors and users to attach style (e.g., fonts and spacing) to structured documents (e.g., HTML documents and XML applications). By separating the presentation style of documents from the content of documents, CSS 2.1 simplifies Web authoring and site maintenance. CSS 2.1 builds on CSS2 [CSS2] which builds on CSS1 [CSS1]. CSS 2.1 corrects a few errors in CSS2 (the most important being a new definition of the height/width of absolutely positioned elements, more influence for HTML's "style" attribute and a new calculation of the 'clip' property), and adds a few highly requested features which have already been widely implemented. CSS 2.1 is derived from and is intended to replace CSS2. This section describes the status of this document at the time of its publication.

standards-compliant rollover code This script is a standards compliant means of adding mouse rollover code to images in a document without the hassle of coding in extra parameters to each image in your document. This code is standards compliant and should not invalidate your document. Sample Usage To begin with you need to load the javascript into a page in the head section of your page. If you place the code into a file called rollover.js then you would include the file as follows <head><title>.. Next you will need to add the attribute class="imgover" to any image in your document that requires a mouseover effect to be trigger. Finally, for any image in your document you will need to create a rollover state for it, the only requirements for this image is that it is named exactly the same as the original image, but it needs _o on the end of the name. Download File: rollover.js Back to previous page / Home

XHTML 1.0 Strict Cheat Sheet See also: XHTML Basic 1.1 cheat sheet — Recommended Doctype Declarations — XHTML Flavors comparisons. Getting started A minimal English XHTML 1.0 Strict document would look like the following: <! Elements and Attributes reference The tables below document which elements and attributes are allowed in XHTML 1.0 Strict, and with the constraints defined in the DTD (please note that the DTD doesn't enforce all the known constraints for XHTML 1.0). Skip to attributes table. Elements Attributes table Character entity references in HTML 4 24.1 Introduction to character entity references A character entity reference is an SGML construct that references a character of the document character set. This version of HTML supports several sets of character entity references: ISO 8859-1 (Latin-1) characters In accordance with section 14 of [RFC1866], the set of Latin-1 entities has been extended by this specification to cover the whole right part of ISO-8859-1 (all code positions with the high-order bit set), including the already commonly used &nbsp;, &copy; and &reg;. The names of the entities are taken from the appendices of SGML (defined in [ISO8879]). symbols, mathematical symbols, and Greek letters. The following sections present the complete lists of character entity references. 24.2 Character entity references for ISO 8859-1 characters The character entity references in this section produce characters whose numeric equivalents should already be supported by conforming HTML 2.0 user agents. 24.2.1 The list of characters <!

glish.com Extensible Markup Language (XML) 1.0 (Fifth Edition) 2 Documents [Definition: A data object is an XML document if it is well-formed, as defined in this specification. In addition, the XML document is valid if it meets certain further constraints.] Each XML document has both a logical and a physical structure. Physically, the document is composed of units called entities. An entity may refer to other entities to cause their inclusion in the document. 2.1 Well-Formed XML Documents [Definition: A textual object is a well-formed XML document if:] Taken as a whole, it matches the production labeled document.It meets all the well-formedness constraints given in this specification.Each of the parsed entities which is referenced directly or indirectly within the document is well-formed. Document Matching the document production implies that: It contains one or more elements. 2.2 Characters [Definition: A parsed entity contains text, a sequence of characters, which may represent markup or character data.] Character Range Note: White Space Names and Tokens <!

Fonts 15.1 Introduction Setting font properties will be among the most common uses of style sheets. Unfortunately, there exists no well-defined and universally accepted taxonomy for classifying fonts, and terms that apply to one font family may not be appropriate for others. 15.2 Font matching algorithm Because there is no accepted, universal taxonomy of font properties, matching of properties to font faces must be done carefully. The User Agent makes (or accesses) a database of relevant CSS 2.1 properties of all the fonts of which the UA is aware. (The above algorithm can be optimized to avoid having to revisit the CSS 2.1 properties for each character.) The per-property matching rules from (2) above are as follows: 'font-style' is tried first. 15.3 Font family: the 'font-family' property The property value is a prioritized list of font family names and/or generic family names. There are two types of font family names: The name of a font family of choice. 15.3.1 Generic font families serif cursive

C Cascading Style Sheets What is CSS? Cascading Style Sheets (CSS) is a simple mechanism for adding style (e.g., fonts, colors, spacing) to Web documents. These pages contain information on how to learn and use CSS and on available software. They also contain news from the CSS working group. Soft­ware Nearly all browsers nowadays support CSS and many other applications do, too. Of course, all software has bugs, even after several updates. More » Learn­ing CSS For beginners, Starting with HTML + CSS teaches how to create a style sheet. Another page also has some books, mailing lists and similar fora, and links to other directories. The history of CSS is described in chapter 20 of the book Cascading Style Sheets, designing for the Web, by Håkon Wium Lie and Bert Bos (2nd ed., 1999, Addison Wesley, ISBN 0-201-59625-3) More »

Web technology for developers The open Web presents incredible opportunities for developers. To take full advantage of these technologies, you need to know how to use them. Below you'll find links to our Web technology documentation. Documentation for Web developers Web Developer Guide The Web Developer Guide provides useful how-to content to help you actually use Web technologies to do what you want or need to do. Tutorials for Web developers A list of tutorials to take you step-by-step through learning APIs, technologies, or broad topic areas. Progressive web apps (PWAs) Progressive Web Apps are web apps that use emerging web browser APIs and features along with traditional progressive enhancement strategy to bring a native app-like user experience to cross-platform web applications. Web technology references Web APIs Reference material for each of the individual APIs that comprise the Web's powerful scriptability, including the DOM and all of the related APIs and interfaces you can use to build Web content and apps. Events

Positioning - Visual formatting model 9.1 Introduction to the visual formatting model This chapter and the next describe the visual formatting model: how user agents process the document tree for visual media. In the visual formatting model, each element in the document tree generates zero or more boxes according to the box model. The layout of these boxes is governed by: box dimensions and type. positioning scheme (normal flow, float, and absolute positioning). relationships between elements in the document tree.external information (e.g., viewport size, intrinsic dimensions of images, etc.). The properties defined in this chapter and the next apply to both continuous media and paged media. The visual formatting model does not specify all aspects of formatting (e.g., it does not specify a letter-spacing algorithm). 9.1.1 The viewport User agents for continuous media generally offer users a viewport (a window or other viewing area on the screen) through which users consult a document. 9.1.2 Containing blocks containing block . <! An

Capturing Caps Lock (on the web) One of the more annoying aspects of having to remember passwords (along with having to remember loads of them) is that if you’ve got Caps Lock turned on accidentally when you type one in, it won’t work, and you won’t know why. Most desktop computers alert you in some way if you’re trying to enter your password to log on and you’ve enabled Caps Lock; there’s no reason why the web can’t do the same. What we want is a warning – maybe the user wants Caps Lock on, because maybe their password is in capitals – rather than something that interrupts what they’re doing. But that doesn’t answer the question of how to do it. DOM scripting allows your code to be notified when a key is pressed in an element; when the key is pressed, you get the ASCII code for that key. on a key press if the ASCII code for the key is between 65 and 90 *and* if shift is pressed warn the user that they have Caps Lock on, but let them carry on end if end keypress if (((which >= 65 && which <= 90) && ! And that’s all.

Documentation du Web - MDN

Related: