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 <a> tag defines a hyperlink, which is used to link from one page to another.
The most important attribute of the <a> element is the href attribute, which indicates the link's destination.

<!DOCTYPE html>

<title>Your first website</title>

<body> <div style="background-color: #000; color:red" >
<h1> This is a heading </ h1>

this is a p tag it stands for paragraph
<p> this is a paragraph </p>
to make somethig a link you do as follows: <a href="" target="_blank">Link to the student webservers home page</a>

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

HTML editor