Skip to content
Home » Blog » HTML Basics

HTML Basics

  • by
HTML Basics, Learn Html, Html Lesson
<!DOCTYPE html>
<html lang="en">
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>My Website</title>
        /* CSS styles can go here */
        body {
            font-family: Arial, sans-serif;
        h1 {
            color: blue;
        <h1>Welcome to My Website</h1>
            <li><a href="#">Home</a></li>
            <li><a href="#">About</a></li>
            <li><a href="#">Services</a></li>
            <li><a href="#">Contact</a></li>
            <h2>About Us</h2>
            <p>This is a paragraph about our company.</p>
            <h2>Our Services</h2>
                <li>Service 1</li>
                <li>Service 2</li>
                <li>Service 3</li>
        <p>&copy; 2024 My Website. All rights reserved.</p>

HTML Basics, Learn Html, Html Lesson

HTML Basics, This code provides a basic structure for an HTML document with a header, navigation, main content, and footer sections. It also includes some simple CSS styling inside the