Purchase Solution

Creating and Validating HTML files

Not what you're looking for?

Ask Custom Question

Create a HTML page that must satisfy the following requirements:

1. Document Validates as XHTML 1.0 Strict.
2. The page is titled with the student's name.
3. All of the following tags are used: p, b, i, hr
4. 3 of the following tags are used: h1, h2, h3, h4, h5, h6, br
5. Code Comments are used to identify the location of Rubric Objectives.
6. Code Formatting is used to increase the readability of the HTML code.

After creating the page, please explain to me how do I validate it.

Purchase this Solution

Solution Summary

This solution explains in detail how to create a simple HTML file and validate it using the W3C XHTML validator.

Solution Preview

Images that accompany this explanation can be found in the .doc attachment.

Step 1:

Start notepad. If you are using Windows Operating System, then just click on Start→ Run→ Notepad

Step 2:

Then type the code given below. I have explained the code line by line after the code.
<?xml version="1.0" encoding="iso-8859-1"?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<!--Comment 1: Rubric Objective 2: The page is titled with the student's name -->
<title>Type your name here</title>
</head>
<body>
<!--Comment 2: Rubric Objective 3 and 4: The use of h1,i, p and hr tags-->
<h1>
<b>
<i>About myself</i>
</b>
</h1>
<hr/>
<p/>
<h2>My Hobbies</h2>
<p>
Playing chess<br/>
Listening Music<br/>
Swimming <br/>
</p>
<h3> My Favorite Movies</h3>
<p>
Catch me If You can<br/>
Jurassic Park<br/>
Saving Private Ryan<br/>
</p>

<h4> My favorite books</h4>
<p>
Beneath a Marble Sky<br/>
The Time Travelers Wife <br/>
Water for ...

Purchase this Solution


Free BrainMass Quizzes
Basic Computer Terms

We use many basic terms like bit, pixel in our usual conversations about computers. Are we aware of what these mean? This little quiz is an attempt towards discovering that.

Word 2010: Tables

Have you never worked with Tables in Word 2010? Maybe it has been a while since you have used a Table in Word and you need to brush up on your skills. Several keywords and popular options are discussed as you go through this quiz.

Inserting and deleting in a linked list

This quiz tests your understanding of how to insert and delete elements in a linked list. Understanding of the use of linked lists, and the related performance aspects, is an important fundamental skill of computer science data structures.

C++ Operators

This quiz tests a student's knowledge about C++ operators.

C# variables and classes

This quiz contains questions about C# classes and variables.