Apr 21, 2025
<html>: Root element of an HTML page.<head>: Contains meta-information about the document.<title>: Specifies a title for the document.<body>: Contains the visible page content.<h1>: Defines a large heading.<p>: Defines a paragraph.<p>Content</p> for paragraphs.<br> for line breaks.<html> -> <body> -> <h1> and <p>.href="URL").href: Specifies the URL of a link.src: Specifies the URL of an image.alt: Provides alternative text for images.style: Used for CSS styling.lang: Declares the language of the document.title: Sets a tooltip title.<h1> to <h6>).<p> element.<b>, <strong>, <i>, and <em> are used for bold, strong, italic, and emphasized text.<small>, <mark>, <del>, <ins>, <sub>, and <sup>.<!-- comment --> syntax.rgb(255, 0, 0) for red.#FF0000 for red.<a> tag.href: Specifies the destination of the link.target attribute specifies where to open the linked document.<img> tag.src: URL of the image.alt: Alternative text.width, height, and CSS for image dimensions.<table>: Defines a table.<tr>: Defines table rows.<th>: Defines table headers.<td>: Defines table cells.<ol>, items marked with numbers.<ul>, items marked with bullets.<div>, <p>).<a>, <img>).<iframe> tag.<script> tag used to define scripts.document.getElementById: Selects HTML elements by ID.<input>, <textarea>, <select>.<input type="submit">: Defines a submit button.