HTML Exercises

1. Online newspaper.

Using HTML 5 only, create a prototype of an online newspaper.

Validate and verify the result on the browser as you proceed. Don’t mind about the visual aspect of the result (that will be taken care by using CSS).

Don’t forget to validate the page when you’re done.

2. Table:

Using HTML 5 only, create a document representing the following table. Use the attribute border=“1” to better visualize the result.

<!DOCTYPE html>
<html lang="en-US">
    <meta charset="UTF-8">
    <table border="1">

3. Form

Create a web page containing a form where users should input the following data:

Don’t forget that:

Try to submit the form and verify what happens in the URL bar using post and get as the form methods.

4. Use HTML to create your profile in a social network.

The profile should contain:

Try to use semantic tags as much as possible and don’t forget to validate the resulting file.


Solutions for these HTML exercises.