Download as pptx, pdf, or txt
Download as pptx, pdf, or txt
You are on page 1of 10

CAP283

Lecture 1
Open tag Close tag Description Example
This tag allows you to My name is Fred.
<p> </p>
create paragraphs I live in Medway

<h1> </h1> This is the largest heading Heading 1

This is second biggest


<h2> </h2> Heading 2
heading
<h3> </h3> This is the next heading Heading 3

<h4> </h4> This is another heading Heading 4

This is the second smallest


<h5> </h5> Heading 5
heading
This is the smallest
<h6> </h6> Heading 6
heading
This is a horizontal line.
<hr > n/a You can use width and size
attributes
<b> </b> This makes text bold Bold text
<i> </i> This makes text italic Italic text

This tag allows you to abc


<br /> n/a
insert line breaks def
Start HTML Tag End HTML Tag Description
These are the tags
you put at the
<html> </html>
beginning and end
of an HTML file.
This includes information
including title, meta tags,
<head> </head> content type, links to
external pages like CSS and
JavaScript.
• However you will be getting the output but sometimes unexpected
error came into picture.
Formatting tags
• <acronym> Not supported in HTML5. Use <abbr> instead. Defines an
acronym
• <abbr> Defines an abbreviation or an acronym
• <address> Defines contact information for the author/owner of a
document/article
• <b> Defines bold text
• <big> Not supported in HTML5. Use CSS instead. Defines big text
• <blockquote> Defines a section that is quoted from another source
• <cite> Defines the title of a work
• <code> Defines a piece of computer code
Lovely Professional University 6
Abbr tag

Address tag
Blockquote
• Cite
Code tag

You might also like