HTML Elements

HTML Elements

This tutorial is part of the Build Your Own Site tutorial series.

If you need a reminder of what HTML is all about; please refer back to the Creating our First Page tutorial for a refresher.

In this tutorial we'll be looking at the various html elements available for us to use. We won't have the chance to look at all the HTML elements on the web, just a few well known ones.

Here Goes:

Don't worry, take your time and search for the file. I'll wait :) ... Found it?

It's okay let that heart-beat go wild, you've just begun something on the brave side of things, you'll get used to it after you've wrtitten a few more lines. A little practice, that's all :)

<!DOCTYPE html>
<html>
   <head>
    <title>Page Title</title>
    </head>
    <body>

    <p>Hello World!</p>

    </body>
</html>

That's right, it just got real ... You've just announced yourself to the world (Well Again). This is an old programmer's tradition. The first thing we write is "Hello World!". Because it's some sort of announcement and celebratory proclamation that we've just begun our journey. That we're here!! We've just arrived!! But mostly, it's just tradition ...

Alright ... Okay ... My Dev!!

<p> This is the first paragraph</p>
<p> This is another paragraph!! </p>
<p>  .... And another!  </p>
<button>press me</button>
<button type="button">Click Me!</button>

Take a break, go lick a stamp and write an affectionate letter to your favourite person.

Alright, alright, alright ... Welcome back :)

<button type="button" onclick="alert('Hello world!')">
   Click Me!
</button>  
<h1>Heading 1 Dev!</h1>
<h1>This is heading 1</h1>
<h2>This is heading 2</h2>
<h3>This is heading 3</h3>
<h4>This is heading 4</h4>
<h5>This is heading 5</h5>
<h6>This is heading 6</h6>

"There are six different headings, varying by size form H1 to H6"

The Village Geek

We'll continue with these elements in the next Tutorial ... Adios Amigo ...

Stay you or be better ... All love!

Cape Town, South Africa

Buy me a coffee ? :) Buy me a coffee :)

Reply to this discussion

Bookmarks

Build
Learn
Coming Soon ...