SlideShare a Scribd company logo
HTML
Review
 What does HTML stand for?
Hypertext Markup Language
 What are tags?
Codes which the __browser__ reads and interprets for _display_ to the user.
Review
 Write the HTML code to make your first name bold and your last name
italicized.
<b>Tina</b> <i>Abbott</i>
 What are the alternate tags for bold and italics?
Strong and EM
Review
 Write the basic structure for an HTML document:
<HTML>
<HEAD>
<TITLE>…</TITLE>
</HEAD>
<BODY>
…
</BODY>
</HTML>
Review
 __ <P>____Insert the beginning and ending tag around this block of text to
make it a paragraph. Blah blah blah blah blah blah blah blah blah blah
blah blah blah blah blah blah blah blah blah blah blah__</P>______
 What is the tag for a line break?
<BR>
 What is its ending tag? There isn’t one!
Review
What is the code to create a bulleted list?
<UL>
<LI>…</LI>
<LI>…</LI>
</UL>
(UL stands for Unordered List. LI stands for List Item.)
Review
Write the code to create a numbered list in HTML:
<OL>
<LI>…</LI>
<LI>…</LI>
</OL>
(OL stands for Ordered List.)
Review
 Write a font tag that changes the words below to helvetica, size 3, white:
<FONT face=“Helvetica size=“3” color=“white”>
Change my text
</FONT>
Review - Attributes
 What are attributes?
Attributes modify tags
 How is a tag structured with attributes?
<TAG attribute=“setting”>
What is the attribute setting always enclosed in? quotation marks
Review - BODY
 Write the Body tag that makes the entire webpage background navy.
<BODY bgcolor=“navy”>
 Write the Body tag that makes the entire webpage use a tiled image
called bluebg.gif
<BODY background=“bluebg.gif”>
Review - Hyperlink
 Hyperlink the words below. Link them to www.heritagehawks.org
<A href=http://www.heritagehawks.org>
Learn about Heritage
<A>
Review - IMG
 Write an image tag for an image called dog.gif in the images directory.
<IMG src=“images/dog.gif”>
Review - IMG
 What image file types are supported on the web?
.png
.gif
.jpg (.jpeg)
 File sizes should be kept under what size?
30 kb !!!!!!!!!
What is the ending tag for IMG? There isn’t one!
New Attribute for BODY
 You can use the TEXT attribute within the BODY tag to set the text color of
an entire page.
 Example:
<BODY bgcolor=“black” text=“white”>
 The above sets the page color to black and the text color to white.
HTML Tables
 Tables in HTML are like tables in Word.
 They help add structure to a page.
 Three tags are used to create tables.
 <TABLE>…</TABLE> encloses the entire table.
 <TR>…</TR> stands for Table Row and encloses an entire row, which is made up
of Table Data cells
 <TD>…</TD> stands for Table Data and represents a column within a row.
 A table can have multiple rows (TRs).
 A row can have multiple data cells (TDs)
HTML Table Example
This code: Will appear like this:
<TABLE>
<TR>
<TD>Name</TD>
<TD>Grade</TD>
</TR>
<TR>
<TD>Jane Smith</TD>
<TD>Senior</TD>
</TR>
</TABLE>
Name Grade
Jane Smith Senior
HTML tables
 How would you set up a table with 2 rows and 3 columns?
<TABLE>
<TR> (this is the top row)
<TD>…</TD> (this is the left column)
<TD>…</TD> (this is the middle column)
<TD>…</TD> (this is the right column)
</TR>
<TR> (this is the bottom row)
<TD>…</TD> (this is the left column)
<TD>…</TD> (this is the middle column)
<TD>…</TD> (this is the right column)
</TR>
</TABLE>
Table Attributes
 Border – specifies the thickness, in pixels, of the table border.
 Border=“0” for no border
 Cellpadding – defines the space, in pixels, INSIDE cells.
 Cellspacing – defines the space, in pixels, BETWEEN cells.
 Example:
<TABLE BORDER=”0” CELLPADDING=”2” CELLSPACING=”10”>
TR and TD Attributes
 Align – left, right, or center
 Valign – vertical alignment – top, middle, or bottom
 BGCOLOR – background color
 Width – in pixels or percentage of total space available
 Height – in pixels or percentage of total space available
 Examples:
<TR ALIGN=”center” VALIGN=”middle” BGCOLOR=”#336677” WIDTH=”50%”>
<TD ALIGN=”Left” VALIGN=”bottom” BGCOLOR=”#FFFFFF” WIDTH=”25%”>

More Related Content

PPTX
Html Study Guide
PPTX
Html tables
PPT
HTML Tags
PPTX
Html
PPTX
Html training slide
PPTX
Html and its tags
PPTX
Html Basic Tags
Html Study Guide
Html tables
HTML Tags
Html
Html training slide
Html and its tags
Html Basic Tags

What's hot (20)

PPT
PPT on Basic HTML Tags
PPTX
Learn HTML Easier
PPT
PPTX
Html - By Auroskkil
PPTX
HTML Text formatting tags
PPTX
Web topic 5 text formatting
PPTX
How to create a html webpage using notepad
DOCX
Html project report12
PPT
HTML basics
PPTX
Creating a webpage in html
PPTX
Html basics-auro skills
PDF
HTML Lecture Part 1 of 2
PDF
Html tags or elements
ODP
CSS Basics
PPT
html tags
PPTX
PPT
Boostrap basics
PDF
CSS Foundations, pt 1
PPT on Basic HTML Tags
Learn HTML Easier
Html - By Auroskkil
HTML Text formatting tags
Web topic 5 text formatting
How to create a html webpage using notepad
Html project report12
HTML basics
Creating a webpage in html
Html basics-auro skills
HTML Lecture Part 1 of 2
Html tags or elements
CSS Basics
html tags
Boostrap basics
CSS Foundations, pt 1
Ad

Similar to Html Study Guide - Heritage (20)

PPTX
BITM3730 9-13.pptx
PPTX
Ifi7174 lesson1
PPTX
PDF
FED-HTML (2).pdf
PPTX
6th_sem_web_unit1_part2.pptxhshshshshshshsh
PPTX
WEBSITE DEVELOPMENT,HTML is the standard markup language for creating Web pag...
PDF
Slides 2 - HTML
PPTX
Web technologies Clent server communication
PPTX
Web_Technologies_Entire_topic_with Code.pptx
PPTX
Html presentation
PDF
Chapter7 web application
PPTX
HTML Webinar Class
PPTX
HTML and DHTML
PPTX
PPTX
PDF
WEB DESIGNING.pdf
PPTX
gdg_workshop 3 on web development HTML & CSS
PPTX
gdg_workshop 2 on web development and github
BITM3730 9-13.pptx
Ifi7174 lesson1
FED-HTML (2).pdf
6th_sem_web_unit1_part2.pptxhshshshshshshsh
WEBSITE DEVELOPMENT,HTML is the standard markup language for creating Web pag...
Slides 2 - HTML
Web technologies Clent server communication
Web_Technologies_Entire_topic_with Code.pptx
Html presentation
Chapter7 web application
HTML Webinar Class
HTML and DHTML
WEB DESIGNING.pdf
gdg_workshop 3 on web development HTML & CSS
gdg_workshop 2 on web development and github
Ad

Recently uploaded (20)

PDF
Trump Administration's workforce development strategy
PDF
Complications of Minimal Access Surgery at WLH
PPTX
Onco Emergencies - Spinal cord compression Superior vena cava syndrome Febr...
PDF
Weekly quiz Compilation Jan -July 25.pdf
PPTX
Introduction-to-Literarature-and-Literary-Studies-week-Prelim-coverage.pptx
PDF
Empowerment Technology for Senior High School Guide
PDF
RTP_AR_KS1_Tutor's Guide_English [FOR REPRODUCTION].pdf
PPTX
Final Presentation General Medicine 03-08-2024.pptx
DOC
Soft-furnishing-By-Architect-A.F.M.Mohiuddin-Akhand.doc
PDF
A systematic review of self-coping strategies used by university students to ...
PDF
What if we spent less time fighting change, and more time building what’s rig...
PDF
Hazard Identification & Risk Assessment .pdf
PPTX
A powerpoint presentation on the Revised K-10 Science Shaping Paper
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PPTX
Unit 4 Skeletal System.ppt.pptxopresentatiom
PDF
LDMMIA Reiki Yoga Finals Review Spring Summer
PPTX
Lesson notes of climatology university.
PDF
1_English_Language_Set_2.pdf probationary
PPTX
UNIT III MENTAL HEALTH NURSING ASSESSMENT
PPTX
Introduction to Building Materials
Trump Administration's workforce development strategy
Complications of Minimal Access Surgery at WLH
Onco Emergencies - Spinal cord compression Superior vena cava syndrome Febr...
Weekly quiz Compilation Jan -July 25.pdf
Introduction-to-Literarature-and-Literary-Studies-week-Prelim-coverage.pptx
Empowerment Technology for Senior High School Guide
RTP_AR_KS1_Tutor's Guide_English [FOR REPRODUCTION].pdf
Final Presentation General Medicine 03-08-2024.pptx
Soft-furnishing-By-Architect-A.F.M.Mohiuddin-Akhand.doc
A systematic review of self-coping strategies used by university students to ...
What if we spent less time fighting change, and more time building what’s rig...
Hazard Identification & Risk Assessment .pdf
A powerpoint presentation on the Revised K-10 Science Shaping Paper
Final Presentation General Medicine 03-08-2024.pptx
Unit 4 Skeletal System.ppt.pptxopresentatiom
LDMMIA Reiki Yoga Finals Review Spring Summer
Lesson notes of climatology university.
1_English_Language_Set_2.pdf probationary
UNIT III MENTAL HEALTH NURSING ASSESSMENT
Introduction to Building Materials

Html Study Guide - Heritage

  • 2. Review  What does HTML stand for? Hypertext Markup Language  What are tags? Codes which the __browser__ reads and interprets for _display_ to the user.
  • 3. Review  Write the HTML code to make your first name bold and your last name italicized. <b>Tina</b> <i>Abbott</i>  What are the alternate tags for bold and italics? Strong and EM
  • 4. Review  Write the basic structure for an HTML document: <HTML> <HEAD> <TITLE>…</TITLE> </HEAD> <BODY> … </BODY> </HTML>
  • 5. Review  __ <P>____Insert the beginning and ending tag around this block of text to make it a paragraph. Blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah__</P>______  What is the tag for a line break? <BR>  What is its ending tag? There isn’t one!
  • 6. Review What is the code to create a bulleted list? <UL> <LI>…</LI> <LI>…</LI> </UL> (UL stands for Unordered List. LI stands for List Item.)
  • 7. Review Write the code to create a numbered list in HTML: <OL> <LI>…</LI> <LI>…</LI> </OL> (OL stands for Ordered List.)
  • 8. Review  Write a font tag that changes the words below to helvetica, size 3, white: <FONT face=“Helvetica size=“3” color=“white”> Change my text </FONT>
  • 9. Review - Attributes  What are attributes? Attributes modify tags  How is a tag structured with attributes? <TAG attribute=“setting”> What is the attribute setting always enclosed in? quotation marks
  • 10. Review - BODY  Write the Body tag that makes the entire webpage background navy. <BODY bgcolor=“navy”>  Write the Body tag that makes the entire webpage use a tiled image called bluebg.gif <BODY background=“bluebg.gif”>
  • 11. Review - Hyperlink  Hyperlink the words below. Link them to www.heritagehawks.org <A href=http://www.heritagehawks.org> Learn about Heritage <A>
  • 12. Review - IMG  Write an image tag for an image called dog.gif in the images directory. <IMG src=“images/dog.gif”>
  • 13. Review - IMG  What image file types are supported on the web? .png .gif .jpg (.jpeg)  File sizes should be kept under what size? 30 kb !!!!!!!!! What is the ending tag for IMG? There isn’t one!
  • 14. New Attribute for BODY  You can use the TEXT attribute within the BODY tag to set the text color of an entire page.  Example: <BODY bgcolor=“black” text=“white”>  The above sets the page color to black and the text color to white.
  • 15. HTML Tables  Tables in HTML are like tables in Word.  They help add structure to a page.  Three tags are used to create tables.  <TABLE>…</TABLE> encloses the entire table.  <TR>…</TR> stands for Table Row and encloses an entire row, which is made up of Table Data cells  <TD>…</TD> stands for Table Data and represents a column within a row.  A table can have multiple rows (TRs).  A row can have multiple data cells (TDs)
  • 16. HTML Table Example This code: Will appear like this: <TABLE> <TR> <TD>Name</TD> <TD>Grade</TD> </TR> <TR> <TD>Jane Smith</TD> <TD>Senior</TD> </TR> </TABLE> Name Grade Jane Smith Senior
  • 17. HTML tables  How would you set up a table with 2 rows and 3 columns? <TABLE> <TR> (this is the top row) <TD>…</TD> (this is the left column) <TD>…</TD> (this is the middle column) <TD>…</TD> (this is the right column) </TR> <TR> (this is the bottom row) <TD>…</TD> (this is the left column) <TD>…</TD> (this is the middle column) <TD>…</TD> (this is the right column) </TR> </TABLE>
  • 18. Table Attributes  Border – specifies the thickness, in pixels, of the table border.  Border=“0” for no border  Cellpadding – defines the space, in pixels, INSIDE cells.  Cellspacing – defines the space, in pixels, BETWEEN cells.  Example: <TABLE BORDER=”0” CELLPADDING=”2” CELLSPACING=”10”>
  • 19. TR and TD Attributes  Align – left, right, or center  Valign – vertical alignment – top, middle, or bottom  BGCOLOR – background color  Width – in pixels or percentage of total space available  Height – in pixels or percentage of total space available  Examples: <TR ALIGN=”center” VALIGN=”middle” BGCOLOR=”#336677” WIDTH=”50%”> <TD ALIGN=”Left” VALIGN=”bottom” BGCOLOR=”#FFFFFF” WIDTH=”25%”>