SlideShare une entreprise Scribd logo
1  sur  19
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:
<TABLE>
<TR>
<TD>Name</TD>
<TD>Grade</TD>
</TR>
<TR>
<TD>Jane Smith</TD>
<TD>Senior</TD>
</TR>
</TABLE>

Will appear like this:

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%”>

Contenu connexe

Tendances

Html Intro2
Html Intro2Html Intro2
Html Intro2
mlackner
 

Tendances (20)

Html
HtmlHtml
Html
 
HTML, CSS and Java Scripts Basics
HTML, CSS and Java Scripts BasicsHTML, CSS and Java Scripts Basics
HTML, CSS and Java Scripts Basics
 
Understanding THML
Understanding THMLUnderstanding THML
Understanding THML
 
Learning HTML
Learning HTMLLearning HTML
Learning HTML
 
Html Intro2
Html Intro2Html Intro2
Html Intro2
 
jQuery
jQueryjQuery
jQuery
 
Html ppt
Html pptHtml ppt
Html ppt
 
HTML5: features with examples
HTML5: features with examplesHTML5: features with examples
HTML5: features with examples
 
HTML5 - create hyperlinks and anchors
HTML5 - create hyperlinks and anchorsHTML5 - create hyperlinks and anchors
HTML5 - create hyperlinks and anchors
 
HTML, CSS And JAVASCRIPT!
HTML, CSS And JAVASCRIPT!HTML, CSS And JAVASCRIPT!
HTML, CSS And JAVASCRIPT!
 
HTML (Web) basics for a beginner
HTML (Web) basics for a beginnerHTML (Web) basics for a beginner
HTML (Web) basics for a beginner
 
Basic html
Basic htmlBasic html
Basic html
 
Bootstrap PPT by Mukesh
Bootstrap PPT by MukeshBootstrap PPT by Mukesh
Bootstrap PPT by Mukesh
 
Html & CSS
Html & CSSHtml & CSS
Html & CSS
 
Html1
Html1Html1
Html1
 
Styled Components & React.js
Styled Components & React.jsStyled Components & React.js
Styled Components & React.js
 
HTML/CSS/java Script/Jquery
HTML/CSS/java Script/JqueryHTML/CSS/java Script/Jquery
HTML/CSS/java Script/Jquery
 
Introduction to HTML
Introduction to HTMLIntroduction to HTML
Introduction to HTML
 
Introduction to BOOTSTRAP
Introduction to BOOTSTRAPIntroduction to BOOTSTRAP
Introduction to BOOTSTRAP
 
Basic Html Knowledge for students
Basic Html Knowledge for studentsBasic Html Knowledge for students
Basic Html Knowledge for students
 

En vedette (9)

Logística
LogísticaLogística
Logística
 
Iochpe-Maxion - Apresentação dos Resultados 3T08
Iochpe-Maxion - Apresentação dos Resultados 3T08Iochpe-Maxion - Apresentação dos Resultados 3T08
Iochpe-Maxion - Apresentação dos Resultados 3T08
 
Alberca-Salamanca
Alberca-SalamancaAlberca-Salamanca
Alberca-Salamanca
 
Social Media Project
Social Media ProjectSocial Media Project
Social Media Project
 
A Multimodal Vision
A Multimodal VisionA Multimodal Vision
A Multimodal Vision
 
TICs en el Shopper Marketing
TICs en el Shopper MarketingTICs en el Shopper Marketing
TICs en el Shopper Marketing
 
Qué es logotipo
Qué es logotipoQué es logotipo
Qué es logotipo
 
Carros
CarrosCarros
Carros
 
Trabajo grupo 3 transporte
Trabajo grupo 3 transporteTrabajo grupo 3 transporte
Trabajo grupo 3 transporte
 

Similaire à Html Study Guide

Htmlppt 100604051515-phpapp01
Htmlppt 100604051515-phpapp01Htmlppt 100604051515-phpapp01
Htmlppt 100604051515-phpapp01
ramya116
 
Html (hyper text markup language)
Html (hyper text markup language)Html (hyper text markup language)
Html (hyper text markup language)
Denni Domingo
 

Similaire à Html Study Guide (20)

Html Study Guide - Heritage
Html Study Guide - HeritageHtml Study Guide - Heritage
Html Study Guide - Heritage
 
Html
HtmlHtml
Html
 
Html presentation
Html presentationHtml presentation
Html presentation
 
HTML.pdf
HTML.pdfHTML.pdf
HTML.pdf
 
Web designing
Web designingWeb designing
Web designing
 
WEB DESIGNING.pdf
WEB DESIGNING.pdfWEB DESIGNING.pdf
WEB DESIGNING.pdf
 
html tutorial
html tutorialhtml tutorial
html tutorial
 
web technology
web technologyweb technology
web technology
 
HTML Tags
HTML TagsHTML Tags
HTML Tags
 
HTML (Hyper Text Markup Language)
HTML (Hyper Text Markup Language)HTML (Hyper Text Markup Language)
HTML (Hyper Text Markup Language)
 
HTML
HTMLHTML
HTML
 
HTML
HTMLHTML
HTML
 
Htmlppt 100604051515-phpapp01
Htmlppt 100604051515-phpapp01Htmlppt 100604051515-phpapp01
Htmlppt 100604051515-phpapp01
 
Learn HTML Easier
Learn HTML EasierLearn HTML Easier
Learn HTML Easier
 
Hyper Text Mark-up Language
Hyper Text Mark-up Language Hyper Text Mark-up Language
Hyper Text Mark-up Language
 
Unit 1-HTML Final.ppt
Unit 1-HTML Final.pptUnit 1-HTML Final.ppt
Unit 1-HTML Final.ppt
 
Html (hyper text markup language)
Html (hyper text markup language)Html (hyper text markup language)
Html (hyper text markup language)
 
Html ppt computer
Html ppt computerHtml ppt computer
Html ppt computer
 
How to learn HTML in 10 Days
How to learn HTML in 10 DaysHow to learn HTML in 10 Days
How to learn HTML in 10 Days
 
Advanced html
Advanced htmlAdvanced html
Advanced html
 

Dernier

Dernier (20)

Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
Asian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptxAsian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptx
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptx
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
Spatium Project Simulation student brief
Spatium Project Simulation student briefSpatium Project Simulation student brief
Spatium Project Simulation student brief
 

Html Study Guide

  • 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: <TABLE> <TR> <TD>Name</TD> <TD>Grade</TD> </TR> <TR> <TD>Jane Smith</TD> <TD>Senior</TD> </TR> </TABLE> Will appear like this: 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%”>