This course will become read-only in the near future. Tell us at community.p2pu.org if that is a problem.

Some structure for you page


With just two HTML Tags you will build a great webpage

Writing a Webpage is quite simple: you just write the text you want to see on your page, for example:

This is my Page

I like it

To this text you then add some "tags" that tell the webbrowser how to structure and display your Text.

<h1>This is my Page</h1>

<p>I like it</p>

As you can see, Tags are enclosed in "less than" and "greater than" signs <like> <this>. Most Tags come in pairs: <h1> and </h1> belong together, the first one is the start-tag, the second one, with the "slash" is the end-tag.  The text between <h1> and </h1> will be displayed as a heading - bold, big, important.

The <p> Tag is for marking a paragraph - a block of text that belongs together.

Try it in your jsfiddle now!

Write some text  (or copy some text from a wikipedia-page) and give it structure with <h1> and <p> tags.

 

Task Discussion