Table of Contents

    SEMESTER – II Unit – 2: Section 8: Computer Networks: HTML

    Computer Networks: HTML (HyperText Markup Language)

    HTML (HyperText Markup Language) হলো একটি language যা web page তৈরি করার জন্য ব্যবহৃত হয়। এটি web design-এর মূল ভিত্তি।


    ১. HTML কী?

    HTML হলো markup language যা tag ব্যবহার করে web page-এর structure তৈরি করে।


    ২. Basic HTML Document Structure

    
    <!DOCTYPE html>
    <html>
    <head>
        <title>My Page</title>
    </head>
    <body>
        <h1>Hello World</h1>
    </body>
    </html>
    

    ৩. Important Tags

    • <html> → main structure
    • <head> → metadata
    • <title> → page title
    • <body> → content

    ৪. Head এবং Title Tag

    • Head section → page information
    • Title → browser tab-এ দেখা যায়

    ৫. Simple Web Page তৈরি করা

    
    <h1>Welcome</h1>
    <p>This is my first web page</p>
    

    ৬. Text Formatting

    • <b>Bold</b>
    • <i>Italic</i>
    • <u>Underline</u>

    ৭. Table তৈরি করা

    
    <table border="1">
    <tr>
    <th>Name</th>
    <th>Marks</th>
    </tr>
    <tr>
    <td>Rumman</td>
    <td>85</td>
    </tr>
    </table>
    

    ৮. Web Link (Hyperlink)

    
    <a href="https://google.com">Visit Google</a>
    

    ৯. Image যোগ করা

    
    <img src="image.jpg" width="200">
    

    ১০. Forms তৈরি করা

    
    <form>
    Name: <input type="text"><br>
    <input type="submit">
    </form>
    

    ১১. Styles এবং Classes

    
    <p style="color:red;">Hello</p>
    
    <p class="myclass">Text</p>
    

    ১২. Borders এবং Background

    
    <body style="background-color:lightblue;">
    <table border="1">
    

    ১৩. Video এবং Graphics

    
    <video width="300" controls>
    <source src="video.mp4">
    </video>
    

    ১৪. বাস্তব উদাহরণ

    • Website homepage design
    • Online form
    • Table data display
    • Image gallery

    উপসংহার

    HTML web development-এর foundation। এটি ব্যবহার করে আমরা web page তৈরি, design এবং content display করতে পারি।


    Quick Revision

    • HTML → web page language
    • Tag → structure define করে
    • Table → data display
    • Form → user input
    • Image → visual content