Rajmaurya317 (talk | contribs) |
Rajmaurya317 (talk | contribs) |
||
Line 217: | Line 217: | ||
*[[Wikipedia:Span tags]] |
*[[Wikipedia:Span tags]] |
||
rajesh kumar maurya, rajmaurya, raj maurya, rkmaurya, r k maurya, raj morea, raaj morea, raaj maurya, speed paintings, paintings by raj maurya, art by raj maurya, paintings by rajesh maurya, paint by raj maurya, best art, raj fine art, rajfineart , kavya pandey, aniket pandey, shreya pandey, kadam cyber cafe, raj maurya drawings, best drawings, wallpapers, mesunny, mesunny317, free hand art, rajesh maurya, 9454322927, 8081939049 |
|||
== External links == |
|||
* HTML 4.01 specification: [http://www.w3.org/TR/html401/index/elements.html elements] | [http://www.w3.org/TR/html401/index/attributes.html attributes] |
|||
* For customizing the handling of HTML in MediaWiki, see the HTML and Tidy sections in [[mw:Manual:Configuration settings]] |
|||
* Some extensions allow adding arbitrary HTML to a page, for example [[mw:Extension:AddHTML]], [[mw:Extension:SecureHTML]] and [[mw:Extension:Secure HTML]]; see [[mw:Manual:$wgRawHtml|$wgRawHtml]] for a more complete list |
|||
* Within the MediaWiki codebase, these HTML checks happen in [http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/includes/Sanitizer.php includes/Sanitizer.php] |
|||
[[Category:Editor handbook]] |
|||
[[Category:Wikipedia editor help]] |
|||
[[pt:Ajuda:HTML]] |
|||
[[sv:Wikipedia:Taggar]] |
|||
[[zh:Help:HTML]] |
Revision as of 09:24, 27 December 2010
For many HTML elements, more convenient wikitext code is available, see Help:Wiki markup, however there are some situations in which the HTML alternative is useful, for example creating a link to a particular element of a table.
http://www.youtube.com/watch?v=74-TvGiPW74
http://www.youtube.com/watch?v=R-O27SZXbLg
http://www.youtube.com/watch?v=mZFmBZAY_sk
http://www.youtube.com/watch?v=s9ly9MfPL04
http://www.youtube.com/watch?v=GMzrM3qdeZk
http://www.youtube.com/watch?v=8lvwJCZGy7w
http://www.youtube.com/watch?v=fwAt95Mt1-A
http://www.youtube.com/watch?v=fwAt95Mt1-A
http://www.youtube.com/watch?v=TR0Ex4edbuM
http://www.youtube.com/watch?v=hJr8VbP4yM0
http://www.youtube.com/watch?v=m4CWzyWcc4E
http://www.youtube.com/watch?v=A9QJuck_5k8
http://www.youtube.com/watch?v=S25lTdTlBUk
http://www.youtube.com/watch?v=wBsNgoAQ09s
http://www.youtube.com/watch?v=ZcDxPz_xdBE into
http://www.youtube.com/watch?v=ZcDxPz_xdBE
http://www.youtube.com/watch?v=nphNQ_O-9WY
http://www.youtube.com/watch?v=IngdVvTFrKg
http://www.youtube.com/watch?v=OwmXohLJ4cM
http://www.youtube.com/watch?v=0vXaCDG1vy8
http://www.youtube.com/watch?v=bpgqgjz_sNQ
http://www.youtube.com/watch?v=T1KGxA8Hr5o
http://www.youtube.com/watch?v=94ADC-sIkVg
http://www.youtube.com/watch?v=x6pP9QYZTIo
http://www.youtube.com/watch?v=egkmEaHc5wg
http://www.youtube.com/watch?v=XPlfvToALK4
http://www.youtube.com/watch?v=n-i5ZE7Zgb0
http://www.youtube.com/watch?v=0EFRC185LFg
http://www.youtube.com/watch?v=iTVjszfHQlw
http://www.youtube.com/watch?v=Df0-6Q6LAgI
http://www.youtube.com/watch?v=R7Gi6UMAmgs
http://www.youtube.com/watch?v=0Qg_fQ3BA6Y
http://www.youtube.com/watch?v=Nu-Xtgt3R8M
http://www.youtube.com/watch?v=dKwBmPDphBE
http://www.youtube.com/watch?v=eI70i3RcfKA
http://www.youtube.com/watch?v=g05dWSfALCI
http://www.youtube.com/watch?v=eI70i3RcfKA
http://www.youtube.com/watch?v=7vjC14Rzqek
http://www.youtube.com/watch?v=gmDtI3GO_e0
http://www.youtube.com/watch?v=jRT-X4M6ydc
http://www.youtube.com/watch?v=KUWtV252HWg
http://www.youtube.com/watch?v=ZuPrDoLR6A4
http://www.youtube.com/watch?v=jm6eouTleZA
http://www.youtube.com/watch?v=Nu-Xtgt3R8M
http://www.youtube.com/watch?v=Gjz6E4jXjmQ
http://www.youtube.com/watch?v=Lv09axBShs8
http://www.youtube.com/watch?v=ThCVSFQchhY
http://www.youtube.com/watch?v=yjnAz9QGsIo
http://www.youtube.com/watch?v=IFr7sYZFunY
http://www.youtube.com/watch?v=9DVzQzBF96U
http://www.youtube.com/watch?v=fYRlrx1MZWQ
http://www.youtube.com/watch?v=wdf6XE6S49k
http://www.youtube.com/watch?v=1Q3g6xoSVCM
http://www.youtube.com/watch?v=xxnzZNVmUkQ
http://www.youtube.com/watch?v=SZtsqml4S3g
http://www.youtube.com/watch?v=1_ZBSaCJ6Cc
http://www.youtube.com/watch?v=lCcRRFP1AL4
http://www.youtube.com/watch?v=1Q3g6xoSVCM
http://www.youtube.com/watch?v=rb4r3xNX7y8
Anchors
HTML tags allow an id
attribute that can be referenced in one's user style CSS, and allows the element to be used as link target.
However, the anchor element a
is not allowed, so the wikitext
<a href="http://meta.wikimedia.org/">Main Page</a>
is treated like the wikitext
<a href="http://meta.wikimedia.org/">Main Page</a>
and is therefore displayed as
<a href="http://meta.wikimedia.org/">Main Page</a>
which is unlikely to be what the editor intended. Instead of using the anchor element (<a>) the wiki markup for external reference is required (enclosed in square brackets with the URL separated from the contents by a single space):
[http://meta.wikimedia.org/ Main Page]
displays as
The following excerpt from Sanitizer.php additionally shows which attributes are allowed.
$htmlpairsStatic = array( # Tags that must be closed
'b', 'del', 'i', 'ins', 'u', 'font', 'big', 'small', 'sub', 'sup', 'h1',
'h2', 'h3', 'h4', 'h5', 'h6', 'cite', 'code', 'em', 's',
'strike', 'strong', 'tt', 'var', 'div', 'center',
'blockquote', 'ol', 'ul', 'dl', 'table', 'caption', 'pre',
'ruby', 'rt' , 'rb' , 'rp', 'p', 'span', 'u', 'abbr'
);
$htmlsingle = array(
'br', 'hr', 'li', 'dt', 'dd'
);
$htmlsingleonly = array( # Elements that cannot have close tags
'br', 'hr'
);
$htmlnest = array( # Tags that can be nested--??
'table', 'tr', 'td', 'th', 'div', 'blockquote', 'ol', 'ul',
'dl', 'font', 'big', 'small', 'sub', 'sup', 'span'
);
$tabletags = array( # Can only appear inside table, we will close them
'td', 'th', 'tr',
);
$htmllist = array( # Tags used by list
'ul','ol',
);
$listtags = array( # Tags that can appear in a list
'li',
);
http://www.wix.com/rajmorea/raju Hello ! Friends..I am Rajesh Maurya from Noreth India. My biggest passion is without a doubt drawing, I really love the feeling of creating something emotional, beautiful and unique. Drawing is my biggest passion and has been since 2000. Each day I grow to love it even more. http://rajmaurya-monochromic-collection.blogspot.com/ I have been drawing on and off since I was a little boy, it was a great way of getting through sad times. I drew my first real portrait when I was about 12 years old of Joohi Chawla. The following years I didn't draw as I was busy with school and I didn't really feel the passion for it. When I was 17 years old I started drawing people again and slowly I began to love it more and more. When I was 21 I really started drawing like crazy and today I love it more than ever. It was also about that time my friend gave me my first charcoal as a birthday present. Though it was not the best kind of charcoal (I later found out), it was the beginning of my charcoal drawings. http://www.wix.com/rajmorea/rajmaurya8081939049 My biggest inspiration is my feelings, things I have been going through in life. I find inspiration in the music I listen to as well as it has an amazing way of giving you a certain feeling of either joy or sadness. I love to portray feelings, especially sad ones as it has a great deep meaning to me. My favourite motive is the human face as well as fairies and angels, there's something magic about it. I love to create something based on an emotion, whether it be my fantasy drawings or portraits. I think art should always have emotions as it makes you feel something and can move you in so many different ways. For more Info. please visit links below: http://rajmaurya-monochromic-collection.blogspot.com/ http://rajmaurya-celebrities-animated-drawn.blogspot.com/ http://rajmaurya-cool-animations.blogspot.com/ http://landscapesby-rajmaurya.blogspot.com/ http://journey-of-art-raj-maurya.blogspot.com/ http://rajmaurya-canvaspaintings.blogspot.com/ http://rajmaurya-passionandhobby.blogspot.com/ http://www.wix.com/rajmorea/rajeshmaurya-welcome http://www.wix.com/rajmorea/raj-fine-art-home http://www.wix.com/rajmorea/videogallery-page1 http://www.wix.com/rajmorea/call91-9454322927 http://www.wix.com/rajmorea/rajmaurya8081939049 http://www.wix.com/rajmorea/raju
Raj Maurya (Mfa) mi.sunny317@gmail.com 91+8081939049
Attributes
Most tags can have a style attribute. For example
<div style="font-size:80%">
This is <span style="color:red">red</span> text.
</div>
produces:
This is red text.
Most tags can have classes and IDs. They can be used in conjunction with stylesheets to give a piece of text a descriptive class (or unique identifier) and to refer to that in a stylesheet. For example
<div class="infobox">Example infobox</div>
Produces the box which floats on the right because infobox class is already defined in local Mediawiki:Common.css.
Classes and IDs can also be used by Javascript code, for example see how {Link FA} works in enwiki.
Classes are also widely used to create microformats. See the microformats project for more information. Some class names are reserved for use in microformats.
Another attribute example is title, for example used in {{H:title}} template: note the hover box over "20000 ft"
"a height of 6.1 km above sea level"
Tags with special effect
http://www.wix.com/rajmorea/raju Hello ! Friends..I am Rajesh Maurya from Noreth India. My biggest passion is without a doubt drawing, I really love the feeling of creating something emotional, beautiful and unique. Drawing is my biggest passion and has been since 2000. Each day I grow to love it even more. http://rajmaurya-monochromic-collection.blogspot.com/ I have been drawing on and off since I was a little boy, it was a great way of getting through sad times. I drew my first real portrait when I was about 12 years old of Joohi Chawla. The following years I didn't draw as I was busy with school and I didn't really feel the passion for it. When I was 17 years old I started drawing people again and slowly I began to love it more and more. When I was 21 I really started drawing like crazy and today I love it more than ever. It was also about that time my friend gave me my first charcoal as a birthday present. Though it was not the best kind of charcoal (I later found out), it was the beginning of my charcoal drawings. http://www.wix.com/rajmorea/rajmaurya8081939049 My biggest inspiration is my feelings, things I have been going through in life. I find inspiration in the music I listen to as well as it has an amazing way of giving you a certain feeling of either joy or sadness. I love to portray feelings, especially sad ones as it has a great deep meaning to me. My favourite motive is the human face as well as fairies and angels, there's something magic about it. I love to create something based on an emotion, whether it be my fantasy drawings or portraits. I think art should always have emotions as it makes you feel something and can move you in so many different ways. For more Info. please visit links below: http://rajmaurya-monochromic-collection.blogspot.com/
Raj Maurya (Mfa) mi.sunny317@gmail.com 91+8081939049
Comments
HTML comments in the wikitext (<!-- ... -->) will not appear in the HTML code at all.
Headers
Headers (<h1>...<h6>) will be treated in a similar way as wikicode headers:
sample header
Note that it appears in the table of contents and has an accompanying edit link. There are some minor differences though: editing such a section won't prefill the edit summary, and the browser won't jump to the beginning of the section when saving the page. Thus, you should use the wikitext equivalents instead.
Exceptions
In some pages in the MediaWiki namespace (typically the short messages like button labels) HTML does not work, and e.g. <span id=abc> produces the HTML <span id=abc> rendered by the browser as <span id=abc>. Some others are interpreted as pure HTML (thus any tag can be used, but wikicode won't be transformed to HTML).
User CSS and JS pages (see Help:User style) are interpreted as if inside a <pre> block. From MW 1.11 this also goes for sitewide CSS/JS; in earlier versions, you have to manually add /*<pre>*/ to the beginning and /*</pre>*/ to the end of those pages to avoid strange rendering.
Validation
The MediaWiki software attempts to catch HTML errors, but it does not catch all of them. If you use HTML in wikitext, it is helpful to verify it with the W3C Markup Validation Service.
See also
rajesh kumar maurya, rajmaurya, raj maurya, rkmaurya, r k maurya, raj morea, raaj morea, raaj maurya, speed paintings, paintings by raj maurya, art by raj maurya, paintings by rajesh maurya, paint by raj maurya, best art, raj fine art, rajfineart , kavya pandey, aniket pandey, shreya pandey, kadam cyber cafe, raj maurya drawings, best drawings, wallpapers, mesunny, mesunny317, free hand art, rajesh maurya, 9454322927, 8081939049