HTML Basics HTML Basics Introduction HTML (HyperText Markup Language) is the standard markup language for creating web pages. It describes the structure of a web page using markup elements or tags. Basic HTML Structure The basic structure of an HTML document includes the following elements: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Your Page Title</title> </head> <body> <!-- Your content goes here --> </body> </html> Common HTML Tags Here are some common HTML tags: <h1>Heading 1</h1> <p>This is a paragraph.</p> <a href="https://www.example.com">Link</a> <img src="image.jpg" alt="Description"> <ul> <li>List item 1...
Welcome to HTML Basics 1. Basic Structure of HTML HTML, which stands for HyperText Markup Language, is the standard markup language for creating web pages. The basic structure of an HTML document includes the following elements: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Your Page Title</title> </head> <body> </body> </html> 2. Basic Text Formatting Tags HTML provides various tags for text formatting. For example, use <strong> for bold text and <em> for italic text: <p>This is a <strong>bold</strong...
Comments
Post a Comment