0% found this document useful (0 votes)
3 views

HTML_Detailed_Definitions

The document provides detailed definitions and explanations of HTML, including its structure, key elements like tags, attributes, and semantic elements, as well as features such as forms, multimedia support, and responsive design. It outlines the purpose of various HTML components such as the head, body, links, images, and lists. Additionally, it discusses accessibility considerations and the importance of using proper semantic tags for improved usability.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views

HTML_Detailed_Definitions

The document provides detailed definitions and explanations of HTML, including its structure, key elements like tags, attributes, and semantic elements, as well as features such as forms, multimedia support, and responsive design. It outlines the purpose of various HTML components such as the head, body, links, images, and lists. Additionally, it discusses accessibility considerations and the importance of using proper semantic tags for improved usability.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

HTML Detailed Definitions

1. What is HTML?

HTML (HyperText Markup Language) is the standard markup language used to create web pages. It

describes the structure of web pages using elements represented by tags.

2. Tag

Tags are the building blocks of HTML. They are used to define elements and are enclosed within

angle brackets. Example: <p>, <div>.

3. Element

An element consists of a start tag, content, and an end tag. Example: <p>This is a paragraph.</p>

4. Attribute

Attributes provide additional information about elements. They are always included in the opening

tag. Example: <img src="image.jpg" alt="Image">

5. Head

The <head> element contains metadata about the document, such as the title, links to stylesheets,

and scripts.

6. Body

The <body> element contains the content of an HTML document, such as text, images, and other

elements visible to users.


7. Heading Tags

HTML provides six levels of headings from <h1> (most important) to <h6> (least important).

8. Paragraph

The <p> tag defines a paragraph in HTML.

9. Links

The <a> tag is used to define hyperlinks. Attributes: href (destination URL), target (where to open

link).

10. Images

The <img> tag embeds images. Attributes: src (image source), alt (alternative text).

11. Lists

HTML supports ordered (<ol>) and unordered (<ul>) lists. List items are defined with the <li> tag.

12. Tables

Tables are defined using <table>, with rows (<tr>), headers (<th>), and data cells (<td>).

13. Forms

Forms are used to collect user input. Tags: <form>, <input>, <textarea>, <select>, <button>.

14. Input Types

Common input types include text, password, radio, checkbox, submit, and email.

15. Semantic Elements


Semantic elements clearly describe their meaning. Examples: <header>, <footer>, <article>,

<section>, <nav>.

16. Div and Span

<div> is a block-level container, while <span> is an inline container used to group elements for

styling.

17. Iframe

The <iframe> tag embeds another HTML page within the current page.

18. Comments

HTML comments are written as <!-- Comment --> and are not displayed in the browser.

19. Doctype Declaration

<!DOCTYPE html> defines the document type and version of HTML used.

20. Meta Tags

<meta> provides metadata like character set, viewport settings, and description. Placed in the

<head>.

21. HTML5

HTML5 is the latest version and introduces new semantic elements, multimedia support, and APIs.

22. Multimedia

HTML5 supports audio and video using <audio> and <video> tags with controls and source

elements.
23. Block vs Inline Elements

Block-level elements start on a new line and take up full width. Inline elements do not break the flow

and take up only necessary space.

24. Accessibility

Accessibility in HTML ensures content is usable by all users, including those with disabilities. Use

proper semantic tags and attributes like alt.

25. Responsive Design

Responsive web design ensures web pages render well on various devices using meta viewport and

media queries.

End of Definitions

You might also like