Website Moodle Site designed built and hosted by Enterprise Solutions

HTML and CSS playground

type what you see below into the HTML editor, then look at the preview windw:

The div tags are used to define a division in an html document.
<div style="background-color: #00f; color:red" >
<h1>Hello World </h1>

this is a p tag it stands for paragraph
<p>Hello World! </p>
</div>

If you type the above code into the HTML editor and look at the preview window you will see a blue box with hello world written in red.

HTML editor

preview