html basics
yuva raj
HTML (HyperText Markup Language) is the standard language used to create and design webpages. It structures the content on the web using various elements and tags. Here’s a brief overview of the basics of HTML:Structure of an HTML DocumenthtmlCopy code<!DOCTYPE html><html><head><title>Page Title</title></head><body><h1>This is a Heading</h1><p>This is a paragraph.</p><a href=https://www.example.com>This is a link</a></body></html>Key Components<!DOCTYPE html>: Declares the document type and version of HTML.<html>: The root element of an HTML document.<head>: Contains meta-information about the document, such as its title and links to stylesheets.<title>: Sets the title of the document, which appears in the browser's title bar or tab.<body>: Contains the content of the document that is displayed in the web browser.