Html Text Formatting
Html text format can how to change text format in html documents.Html text formatting define <b> tags, <i> tags.
Code Introduction:Html formatting use <b> tags, <i> tags.
<b> tags use for text bold.
<i> tags use for text italic.
Example
At frist open your notepad and type the code show in the image.
Or,...
<!DOCTYPE html>
<html>
<body>
<p><b>This text is bold</b></p>
<p><strong>This text is strong</strong></p>
<p><i>This text is italic</i></p>
<p><em>This text is emphasized</em></p>
<p><code>This is computer output</code></p>
<p>This is<sub> subscript</sub> and <sup>superscript</sup></p>
</body>
</html>
<html>
<body>
<p><b>This text is bold</b></p>
<p><strong>This text is strong</strong></p>
<p><i>This text is italic</i></p>
<p><em>This text is emphasized</em></p>
<p><code>This is computer output</code></p>
<p>This is<sub> subscript</sub> and <sup>superscript</sup></p>
</body>
</html>
Code Introduction: You can change this text is bold, This is computer output etc..
Coppy This all code and save html file.then open your html file in your browser.The image show like this picture...
You can learn more in html.Please show the next post..This tutorial published by web tutorials and webtutorial4..
0 comments:
Post a Comment