Testing MT - what HTML can I use?
By Oli
At 6:47 PM · Wednesday, 30 July · 2003
To Weblogging
This entry is only for me to check what happens to HTML I type in, and how it’s stored in MT’s database. Here goes…
entities followed by the actual symbol:
right angle bracket; > >
left angle bracket; < <
ampersand; & &
angle brackets; ><>< ><><
writing an entity by encoding the ampersand; > & < should be the code to display < & >
basic tags; strong text
paragraphs, with <p> tags;
This is a sentence of text. The sentence is a building block of the paragraph. This is a sentence of text. The sentence is a building block of the paragraph.
paragraphs, without <p> tags;
This is a sentence of text. The sentence is a building block of the paragraph. This is a sentence of text. The sentence is a building block of the paragraph.
this text is formatted using the <pre> tag. It also contains html
this text is formatted using the <code> tag. It also contains html
this text is formatted using the <code> tag. It also contains html. Finally it has a lang="html" attribute.
this text is formatted using the <blockquote> tag. It also contains html, and a cite url attribute
now to get really funky:
Japanese, straight text;
Romanji 日本語 カタカナ
日本語 fat letters Japanese romanji
Japanese wrapped in a <p> tag with lang=”ja”;
Romanji 日本語 カタカナ
日本語 fat letters Japanese romanji
I’ll publish with “convert line breaks” and see what happens. Read on for the results…