html format code example

Example 1: simple html website coding

<!DOCTYPE html>
<html>
<head>
<style>
body {background="purple";}
</style>
<title>Page Title<title>
</head>
<body>
<h1>Yay</h1>
<p>yay is a word used to describe that your happy!</p>
</body>
</html>

Example 2: html text tag

<text>Your Text...</text>

Example 3: html formatting

<p>Normal Text</p>
<p><b>Bold Text</b></p>
<p><i>Italic Text</i></p>
<p><em>Emphasized Text</em></p>
<p><mark>Marked Text</mark></p>
<p><small>Small Text</small></p>

Example 4: insert text html

<object height=20 width=75 type='text/plain' border=0 data="URL/filename.txt"></object>

Example 5: html code for writing text

<text>Your Text</text>

Tags:

Html Example