caption: HTML
created: 20131205160816081
modified: 20201125094415933
tags: WikiText
title: HTML in WikiText
type: text/vnd.tiddlywiki
HTML tags and comments can be used directly in WikiText. For example:
```
This is my nice and simple block of text. HelloThere
```
[[Widgets share the same syntax as HTML tags|Widgets in WikiText]], and so the following information applies to them, too.
! Block mode versus Inline mode
To get the content of an HTML element to be parsed in block mode, the opening tag must be followed by two linebreaks.
Without the two linebreaks, the tag content will be parsed in inline mode which means that block mode formatting such as wikitext tables, lists and headings is not recognised.
! Self closing elements
The following tags are treated as 'void'. This means that `` is treated as if it were ``, and that no terminating `` is needed (if one is provided it will be ignored and treated as plain text).
* ``, ``, ` `, `