HTML_Unit_3_Assignment_Answers
HTML_Unit_3_Assignment_Answers
HTML (HyperText Markup Language) is the standard language used to create and design
Features of HTML:
- Platform-independent.
- <title>
- <meta>
- <link>
- <style>
- <script>
These tags are used to define headings in a document. <h1> is the largest and most significant,
- href: The href (Hypertext Reference) attribute is used in anchor tags (<a>) to specify the URL of
- src: The src (source) attribute is used in image tags (<img>) to specify the path to the image.
The anchor tag (<a>) is used to create hyperlinks, allowing users to navigate between different
pages or websites. The href attribute within the anchor tag specifies the destination URL.
HTML elements are the building blocks of HTML pages. Common examples include:
Example:
<p>This is a paragraph.</p>
The <img> tag is used to embed images in a webpage. It has several important attributes:
- alt: Provides alternative text for the image (important for accessibility).
Example:
the web.
Advantages of HTML:
- Platform-independent.
Disadvantages of HTML: