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...
HTML Basics Learning HTML Basics What is HTML? HTML (HyperText Markup Language) is the standard markup language for creating the structure of a web page. It is used to describe the content and elements on a webpage, such as text, images, links, forms, and more. Tags of HTML HTML uses tags to define and structure content. Tags are enclosed in angle brackets and come in pairs, usually an opening tag and a closing tag. Some common HTML tags include: <html> <head> <title> <body> <h1>, <h2>, ..., <h6> <p> <a> <img> Functions of HTML HTML serves various functions in web development, including: Defining the structure of a webpage. Creating hyp...
Comments
Post a Comment