Content deleted Content added
Line 20:
This example displays as <span id="anId" class="aClass" style="color:blue;" title="Hypertext Markup Language">HTML</span> in blue without being a link, and in most browsers, pointing the cursor at the abbreviation should display the title text "Hypertext Markup Language" within a floating yellow background ([[tooltip]]).
<syntaxhighlight lang="html"><div style="text-align: center;">Centered text</div></syntaxhighlight>
Your text will look like this:
<div style="text-align: center;">Centered text</div>
Most elements also take the language-related attributes <code>lang</code> and <code>dir</code>.
|