0% found this document useful (0 votes)
4 views1 page

HTML Notes Explanation

The document outlines the basic structure and elements of an HTML page, including the DOCTYPE declaration, root element, head and body sections, and various tags for titles, headings, paragraphs, lists, hyperlinks, line breaks, and images. It explains the purpose of each element and how they contribute to the overall presentation of a web page. Additionally, it highlights the semantic significance of certain tags for styling text.

Uploaded by

j954hbk6hv
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)
4 views1 page

HTML Notes Explanation

The document outlines the basic structure and elements of an HTML page, including the DOCTYPE declaration, root element, head and body sections, and various tags for titles, headings, paragraphs, lists, hyperlinks, line breaks, and images. It explains the purpose of each element and how they contribute to the overall presentation of a web page. Additionally, it highlights the semantic significance of certain tags for styling text.

Uploaded by

j954hbk6hv
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

1.

DOCTYPE Declaration:

o <!DOCTYPE HTML>: This declaration defines the document type and version of
HTML. It helps browsers to render the content correctly.

2. HTML Structure:

o <html>: The root element of an HTML page.

o <head>: Contains meta-information about the HTML document, such as the title
and links to scripts and stylesheets.

o <body>: Contains the content of the HTML document that is visible to the user.

3. Title:

o <title>: Sets the title of the web page, which appears in the browser tab.

4. Headings:

o <h1>: Defines the main heading of the page.

o <h2>: Defines a subheading.

5. Paragraph:

o <p>: Defines a paragraph of text.

o <strong>, <i>, <u>, <b>: These tags are used to style text within the
paragraph. <strong> makes text bold, <i> italicizes text, <u> underlines text,
and <b> also makes text bold (though <strong> is more semantically
meaningful).

6. Unordered List:

o <ul type=square>: Defines an unordered list with square bullets.

o <li>: Defines a list item within the unordered list.

7. Ordered List:

o <ol type=1>: Defines an ordered list with numbered items.

o <li>: Defines a list item within the ordered list.

8. Hyperlink:

o <a href="[Link] Creates a hyperlink


to another web page. The text between the tags is clickable.

9. Line Breaks:

o <br>: Inserts a line break.

10. Image:

o <img src="[Link]" alt="Image of a Robot">: Embeds an image in the web page.


The src attribute specifies the path to the image, and the alt attribute provides
alternative text if the image cannot be displayed

You might also like