Google+ logo Twitter logo Youtube logo

Tags - Div's

A regular block

We're gonna introduce a new tag: <div>. A div is nothing more than a "block". This block can be a collection of several HTML tags. With a div tag we're able to group some HTML elements.

A div can be seen as a group of HTML elements. -for now-


We just saw that we can group form-elements with a <form>-tag. Say; we want to prepend a heading (e.g. a <h1>), we can group these tags like this;

Contacting us ...

What's your name?
Shall we call you? Yes No

Leave a comment ...

Name (will be visible)
E-mailaddress (will not be shown)
Type the code illustrated below

Back to top