Wikipedia:WikiProject Usability/HTML: Difference between revisions
Content deleted Content added
m minor cleanup |
m sp: compatability→compatibility; capitalisation: html |
||
Line 8:
* If HTML and CSS ''must'' be used, editors should know how to use them properly, with regard to:
** [[W3C]] standards
** Cross-browser
== Why HTML should be used conservatively ==
Line 20:
HTML is simple to use - just put a pair of tags around some text, e.g. <nowiki><em>italics</em></nowiki>, and it will show up <em>as the tags defined it</em>. Most HTML elements, like bold (strong, b), italic (em, i), list (li), heading (h1, h2...) and even table (table) have their equivalent in the markup, so should be avoided. The CSS, which you can think of as the "display properties" may be added to the markup itself - this is covered later.
There is, however, sometimes a need to define your own type of tag, or "element". There are two
*The span tag describes inline elements, usually text that is within other text.
**Bold, italic and underline are examples of inline elements.
Line 41:
==== Basic properties ====
''Please note: this page does not encourage the use of bright, or non-standard colors. They are used for clearer examples. Please see [[Wikipedia:
<!-- you'll note how messy this section looks in the editor, due to all the code -->
|