Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

create a new web page. Call it ‘hello_world.html’. Inside of this new page, add

ID: 3606013 • Letter: C

Question

create a new web page. Call it ‘hello_world.html’. Inside of this new page, add in the usual tags that are found in an HTML document as shown below.

<!DOCTYPE html>

<head>

    <title>Hello World!</title>

</head>

<body>

</body>

</html>

Finally add in the following features within the ‘body’ tag:

The message “Hello World” within a Header 2 tag

The message “I am a CIT 160 student learning HTML.” within a Paragraph tag

The message “I am in Section #” within a Header 4 tag. Replace the # with your section number.



Save this file.

<!DOCTYPE html>

<head>

    <title>Hello World!</title>

</head>

<body>

</body>

</html>

Explanation / Answer

For sections I have created 5 section with h4 header. Kindly go through the code below:

If you want few sections remove the h4 tags.

<p> tag and <h2> tags have also ben used. See the output of the file below.

****************************************************************************************************************************

Code:

Filename: hello_world.html

<!DOCTYPE html>

<head>

    <title>Hello World!</title>

</head>

<body>
   <h2>
       Hello World
   </h2>
   <p>
       I am a CIT 160 student learning HTML.
   </p>
   <h4>
       I am in Section 1 within a Header 4 tag.
   </h4>
   <h4>
       I am in Section 2 within a Header 4 tag.
   </h4>
   <h4>
       I am in Section 3 within a Header 4 tag.
   </h4>
   <h4>
       I am in Section 4 within a Header 4 tag.
   </h4>
   <h4>
       I am in Section 5 within a Header 4 tag.
   </h4>

</body>

</html>

*************************************************

Output:

******************************************************************************************************************************************

I hope this helps you.
If you find my answer helpful,
Kindly rate the answer.
All the best :)