Gerechter hinzufügender Text begrenzt die Weise des Verursachens von Webseiten. Umbauten haben Attribute und sie nehmen auch Artrichtlinien, die ihre Funktionen ändern, diese geben XHTML es Dienstprogramm an.
Die Richtlinien von XML und die Richtlinien für allgemeine Attribute sollten im Verstand beim Verwenden von Attributen eingehalten werden.
Die Richtlinien sind, wie folgt:
- An der öffnung des Elementumbaus nur das Attribut muß spezifiziert werden.
schließender Umbau eines Elements enthält bloß einen rückseitigen Schrägstrich und einen Umbaunamen.
- Alle Attributnamen müssen in Kleinschreibung sein.
- Alle Attribute müssen einen Wert haben.
- Alles Attribut sollte Werte halten und Anführungszeichen immer sein. Hier Anführungszeichen und zwei einzelne Anführungsstriche sind nicht die selben.
- Alle Attribute müssen in eine Liste gelegt werden seperated durch Leerstelle und keine anderen Buchstaben müssen zwischen ihnen enthalten sein
|
Attributes are divided into categories, among thes some of them overlap. These can be grouped as follows:
Universal/Core Attributes
Including the <body> tags, almost all tags that come in the body are held under this category.
These are informational, or they associate the element with information which is elsewhere in the document.
Events
Based on the user actions or browser these are used to invoke scripts.
For example using onmouseover
attribute to create rollover effects in a document.
They are used in JavaScript extensively,
-
Presentational or Styling Attributes
Presentational or Styling attributes are the attributes that are used to change the way
in which an element is to be displayed on the screen. They are deprecated
into style sheets, To code for backward compatibility we should know them well.
-
Tag-Specific Attributes
Attributes which are concerned to a given tag or group of tags are called Tag-specific attributes.
Certain tags like <img>
tag, does not hold any meaning without attributes. Therefore we do discuss these
attributes in relation to the tags they apply to.
|
|
|
Keywords: xhtml tutorial, xhtml validator, html xhtml, tag com xhtml, xhtml editor, xhtml templates, xhtml 1.0, xhtml code, xhtml doctype, xhtml validation
|