HTML and CSS Reference
In-Depth Information
Wikipedia
Wikipedia, the free online encyclopedia, describes itself as “a multilingual,
web-based, free-content encyclopedia project based on an openly-editable
model.” Wikipedia is collaboratively written by mostly anonymous Internet
users. Anyone with Internet access can write and submit changes to Wikipedia
articles. It is one of the largest reference websites, with more than 91,000 active
contributors working on more than 15,000,000 articles in more than 270 lan-
guages. And it is another web service that lets you input content with HTML
markup.
Wikipedia does not have a dual-mode content editor. Instead, its online
editor uses a special markup language, wikitext, for composing and editing
articles using square brackets and other delimiters to separate the markup
from the content. Wikipedia's wikitext editor accepts an input mix of wikitext
tags and permitted HTML markup, including comments and these elements:
h1
h2
h3
h4
h5
h6
div
p
blockquote
pre
table
tr
td
th
ul
ol
li
dl
dt
dd
span
strong
cite
em
abbr
caption
code
var
del
ins
small
sub
sup
tt
b
i
hr
br
Common attributes such as id, class, style, height, and width are allowed,
but not event-handling attributes such as onclick and onmouseover that have
script values. he div and span elements with style attributes are available for
controlling the presentation of individual elements in an article. For more
presentation control, authors and editors can attach their own style sheets to a
Wikipedia article. Because Wikipedia already provides a large number of pre-
deined CSS classes, authors, and editors are encouraged to use the common
CSS styles. In true Wikipedia style, the common CSS style sheet is a collabora-
tive wiki-work article.
he wikitext used by Wikipedia does not accept HTML anchor or image
elements. hose document objects must be created using wikitext tags. In
wikitext, an anchor element is created by putting the URL and label, separated
by a blank, inside square brackets. If the link is to another Wikipedia article,
then only the article's title should be in double square brackets. he follow-
ing code snippet, for example, is marked up content with a wikitext link to
another Wikipedia article:
 
 
Search WWH ::




Custom Search