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

HTML Library

The document describes the basic elements of an HTML web page such as the title, paragraphs, headers, links, and images.
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)
9 views1 page

HTML Library

The document describes the basic elements of an HTML web page such as the title, paragraphs, headers, links, and images.
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

DOCTYPE html: information for the browser about the nature of the code

<html> </html> : html


head
Page Title (at the top of the nav)
<body> </body> : body (content of the page)
paragraph
title on the page
header
footer: header at the bottom
Example of comment: Comment in the code
<br> : line break
<a> The site </a> : link
example : link redirected to a page
web
<a href='http://www.google.com' target='_blank'> example </a> : link
redirect but open in another tab
create a section
<a href='#section1'> to section 1 </a>: link to section 1
<img src='image.png'>: displays an image from the source folder
shows an image and adds a
description
<img src='images/image.png'> : displays an image from a subfolder
<img src='www.google.com'> : displays an image of a website

<a href='http://www.google.com' target='_blank'> <img src='image.png'> </a>


Display an image and assign it to redirect to a link when clicked.

You might also like