Monday, 21 July 2014

Moving a step further...

On my last post, we were able to create a basic page just to see something work. You may have not understood some of the processes involved or the tags used in the code(I mean all he less and greater than sign <, > with the forward slashes /)

Syntax

Just like in English Language, HTML has Syntax. Syntax is a set of rules that govern the arrangement of elements in a document. Our document here is our HTML script. The elements in the document are building blocks that play a particular role.

Opening and closing tag

The syntax for opening and closing a tag is as follows:
Opening Tag: < element>
Closing Tag: </element>