Programming Examples

Create a webpage named welcome.html that includes.


Create a webpage named welcome.html that includes.

  • a. A large title “Welcome to My Webpage”
  • b. Two paragraphs describing yourself.
  • c. Use bold, italic, and underline formatting within the text.
Solution

<!DOCTYPE html>
<html>
<head>
    <title>Welcome Page</title>
</head>
<body>

    <!-- a. Large Title -->
    <h1>Welcome to My Webpage</h1>

    <!-- b. First Paragraph -->
    <p>
        Hello! My name is <b>John Doe</b>. I am a <i>passionate learner</i> and enjoy exploring
        new technologies. I love to <u>experiment with coding</u> and create useful projects.
    </p>

    <!-- b. Second Paragraph -->
    <p>
        In my free time, I enjoy <b>reading books</b>, <i>traveling to new places</i>, and
        <u>learning new programming languages</u>. My goal is to become a skilled
        <b><i>software developer</i></b> in the future.
    </p>

</body>
</html>
▶ RUN

Output/ Explanation:

Latest Current Affairs 2026 Online Exam Quiz for One day Exam Online Typing Test CCC Online Test Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Online MBA 2 years Online MCA Online BCA Best Website and Software Company in Allahabad