Help:HTML in wikitext/en

MediaWiki is able to parse some HTML tags in wikitext. Brackets for other tags are escaped and the tags are displayed instead of being parsed.

Deprecated tags
The following tags are parsed by MediaWiki, but they emit a Lint error since they are obsolete in HTML 5. They should be replaced with one of above tags. You might add a  attribute to reproduce the expected display.

Anchor
To create a linkable anchor, you can use any HTML tag with an  attribute.

E.g.  allows you to create a link to its location on the page using.

With attribute
Using HTML tag instead of wikitext equivalent allows you to add a attribute to define a custom display through CSS language.

With and   attributes
Thanks to TemplateStyles, you may add a custom stylesheet to the document. So it is useful to add  or   attributes to the elements you want to customize their display.

HTML comments
Wikitext uses HTML comment syntax for its own comments: the parser ignore them, they are not rendered in resulting HTML source.

< !-- This text is a wikitext comment. After saving, it will be kept in wikitext source but will not be displayed, neither rendered in HTML source. -->

tag
The content of a  tag is not parsed, as in a  tag.

You have to use the equivalent wikitext syntax to allow the content parsing. I.e. start each line with a blank space:

Some preformated text which can contain wikitext, i.e. this idiomatic text will be parsed. Other line.