Friday, March 29, 2024

Webpage using simple tags

 



<!DOCTYPE html>

<html lang="en">

<head>

    <title>My Simple Webpage</title>

</head>

<body>

    <header>

        <h1>Welcome to My Simple Webpage</h1>

    </header>

    <nav>

        <ul>

            <li><a href="#section1">Section 1</a></li>

            <li><a href="#section2">Section 2</a></li>

            <li><a href="#section3">Section 3</a></li>

        </ul>

    </nav>

    <main>

        <section id="section1">

            <h2>Section 1</h2>

            <p>This is the content of Section 1.

The font tag is an older HTML tag used to define the font style, size, and color of text. However, it is now deprecated in HTML5, and it's recommended to use CSS for styling instead.</p>

        </section>

        <section id="section2">

            <h2>Section 2</h2>

            <p>This is the content of Section 2.

The meta tag in HTML is used to provide metadata about the HTML document. Metadata includes information about the document itself, such as its character encoding, viewport settings for responsive design, authorship details, keywords, and descriptions for search engines, among other things

</p>

        </section>

        <section id="section3">

            <h2>Section 3</h2>

            <p>This is the content of Section 3.The img tag in HTML is used to embed images in a webpage. It is a self-closing tag, which means it doesn't have a closing tag. Instead, it uses attributes to specify the image source, alt text, width, height, and other properties.

</p>

        </section>

    </main>

   


    <h1>This is a Heading with Font Tag</h1>


    <p>This is a paragraph with <font color="red">red</font> text.</p>


    <font size="5">This text has a larger font size.</font>


    <font face="Arial">This text is in Arial font.</font>


    <font color="blue" size="4" face="Verdana">This text is blue, size 4, and in Verdana font.</font>


    <font size="6"><b>This text is bold and has a larger font size.</b></font>


    <font size="3" color="green"><i>This text is italicized and has a smaller font size.</i></font>



    <footer>

        <p>&copy; 2024 My Simple Webpage</p>

    </footer>

</body>

</html>


No comments:

Post a Comment

Class: X Session: 2023-24 Computer Applications (Code 165) Sample Question Paper (Theory)

Check the Link of Sample Question Paper  https://drive.google.com/file/d/1Do3jskK-Ipt380Jl1XW1EpwlMVeQG41R/view?usp=drive_link https://drive...