How to write a webpage


Before you begin, open the following:

For Windows, use Notepad. For a Mac, use TextEdit. For a Chromebook, use Text.

Step 1: Write <!DOCTYPE html>

Step 2: Write <html>

Step 3: Write <head>

Step 4 (Optional): Write <title>(Include whatever you want to put here)</title>

Step 5: Write </head>

Step 6: Write <body>. Use <h1> for a heading. Close the heading using </h1>. Other heading codes include: h2, h3, h4, h5, and h6 as the last. Use <p> to start a paragraph, then write whatever you would like in those paragraphs. Finally, use </p> to end the paragraph.

Step 7: Write </html> to end the webpage.