SlideShare a Scribd company logo
1 of 22
Week 4
Computer Science
Attributes
• Provides additional information about
the tag is placed on the start tag. Since
container tags have start tag and the
<body></body> tag is container tag, it
contains attributes.
Attributes for <body></body>
Attribute Name Definition
background Indicates the background image of the web page
Ex: <body background=“file destination and file name.jpg”>
bgcolor Indicates the background color of the web page
Ex: <body bgcolor=“red”>
text Indicates the color of the text in the web page
Ex: <body text=“pink>
link Indicates color of the hyperlink in the webpage.
Ex: <body link=“blue”>
vlink Indicates color of the visited hyperlink in the webpage.
Ex: <body link=“violet”>
Attributes for <body></body>
Attribute Name Definition
alink Indicates color of the visited hyperlink in the
webpage.
Ex: <body link=“yellow”>
Attributes for <h1></h1>, <h2></h2> - <h6></h6>
Attribute Name Definition
align Indicates the horizontal alignment of heading.
Ex: <h1 align=“left”> This is left-aligned</h1>
title Indicates the text that appears when mouse hovers
over the heading.
Ex: <h1 title=“Hello There!”> Put the mouse over
me!!!</h1>
Creating an
HTML
Document
1. Click the START
BUTTON and click all
programs.
2. Click Accessories and
click Notepad.
3. On the notepad window,
type the text(code)
Saving an HTML
1. On the Menu Bar, click File and click Save or Save As.
2. On the Save As Dialogue Box, type your file name in the file
name box.
3. When saving, always change the file type to all files and use
.html or .htm file extension.
4. Click Save
Viewing an HTML page
Launch any web
browser.
1
On the Menu Bar,
click File and click
Browse.
2
Look for the folder
or drive where your
HTML file was saved
and click the file.
3
Click Open and click
Ok on the Open
Dialogue box.
4
bgcolor
text
background
File destination(location of the file) File Name
File
Extension
vlink
URL
HYPERLINK TAG
HYPERLINK ATTRIBUTE
Link
alink
Inserting Video
File location
File name
File
Extension
Adding audio
File location
File name
File
Extension
Adding image
File location File name
File
Extension
Creating Table
• Tables allows you to organize and arrange data.
• Tables be made via container tags<table></tables>.
• Each row within the table is defined by the container tags<tr></tr>(Table
Row)
• Each cell or data within a row is defined by container tags
<td></td>(Table Data)
Attributes for <table></table
Attribute Name Definition
align Indicates the horizontal alignment of table
Ex: <table align=“center”> </table>
background Indicates the background image of table
Ex: <table background=“file distination,file name and file extension”>
</table>
bgcolor Indicates the background color of the table
Ex: <table bgcolor=“pink> </table>
bordercolor Indicates bordercolor of table.
Ex: <table bordercolor=“blue”> </table>
Attributes for <table></table
Attribute Name Definition
cellpadding Indicates the distance (in pixel) between the contents of the cells and the
border around it.
Ex: <table cellpadding=“2”> </table>
cellspacing Indicates the distance (in pixel) between the cells.
Ex: <table cellpadding=“2”> </table>
width Indicates the width of the table in pixels or percent of the width displayed
bt the web browser.
Ex: <table width=“200> </table>
Table tag and attributes ( bordercolor, align,
bgcolor) Values are enclosed in the quotation
marks
<tr> Table row
<td> Table data
<th> table header
Thank You
Prepared by: Sir Jeric C. Calleja

More Related Content

Similar to Week 4.pptx (20)

Presentation on Understanding Basic HTML Tags || pptx || Created by Shovan Pr...
Presentation on Understanding Basic HTML Tags || pptx || Created by Shovan Pr...Presentation on Understanding Basic HTML Tags || pptx || Created by Shovan Pr...
Presentation on Understanding Basic HTML Tags || pptx || Created by Shovan Pr...
 
Introduction to HTML
Introduction to HTMLIntroduction to HTML
Introduction to HTML
 
Html
HtmlHtml
Html
 
Web designing
Web designingWeb designing
Web designing
 
WEB DESIGNING.pdf
WEB DESIGNING.pdfWEB DESIGNING.pdf
WEB DESIGNING.pdf
 
Dreamweaver CS3
Dreamweaver CS3Dreamweaver CS3
Dreamweaver CS3
 
Html
HtmlHtml
Html
 
HTML Basics 1 workshop
HTML Basics 1 workshopHTML Basics 1 workshop
HTML Basics 1 workshop
 
HTML - LinkedIn
HTML - LinkedInHTML - LinkedIn
HTML - LinkedIn
 
Web page concept Basic
Web page concept  BasicWeb page concept  Basic
Web page concept Basic
 
Web page concept final ppt
Web page concept  final pptWeb page concept  final ppt
Web page concept final ppt
 
Presentation of Hyper Text Markup Language
Presentation of Hyper Text Markup LanguagePresentation of Hyper Text Markup Language
Presentation of Hyper Text Markup Language
 
html-150424090224-conversion-gate0.2.pdf
html-150424090224-conversion-gate0.2.pdfhtml-150424090224-conversion-gate0.2.pdf
html-150424090224-conversion-gate0.2.pdf
 
HTML [Basic] --by Abdulla-al Baset
HTML [Basic] --by Abdulla-al BasetHTML [Basic] --by Abdulla-al Baset
HTML [Basic] --by Abdulla-al Baset
 
Intodcution to Html
Intodcution to HtmlIntodcution to Html
Intodcution to Html
 
Rd.Html
Rd.HtmlRd.Html
Rd.Html
 
web technologiesUnit 1
web technologiesUnit 1web technologiesUnit 1
web technologiesUnit 1
 
HTML 101
HTML 101HTML 101
HTML 101
 
Introduction to html
Introduction to htmlIntroduction to html
Introduction to html
 
Html Simple Tutorial
Html Simple TutorialHtml Simple Tutorial
Html Simple Tutorial
 

Recently uploaded

URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppCeline George
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesFatimaKhan178732
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application ) Sakshi Ghasle
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docxPoojaSen20
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3JemimahLaneBuaron
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxRoyAbrique
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpinRaunakKeshri1
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfchloefrazer622
 

Recently uploaded (20)

URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website App
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and Actinides
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application )
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docx
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
Staff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSDStaff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSD
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpin
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdf
 

Week 4.pptx

  • 2. Attributes • Provides additional information about the tag is placed on the start tag. Since container tags have start tag and the <body></body> tag is container tag, it contains attributes.
  • 3. Attributes for <body></body> Attribute Name Definition background Indicates the background image of the web page Ex: <body background=“file destination and file name.jpg”> bgcolor Indicates the background color of the web page Ex: <body bgcolor=“red”> text Indicates the color of the text in the web page Ex: <body text=“pink> link Indicates color of the hyperlink in the webpage. Ex: <body link=“blue”> vlink Indicates color of the visited hyperlink in the webpage. Ex: <body link=“violet”>
  • 4. Attributes for <body></body> Attribute Name Definition alink Indicates color of the visited hyperlink in the webpage. Ex: <body link=“yellow”> Attributes for <h1></h1>, <h2></h2> - <h6></h6> Attribute Name Definition align Indicates the horizontal alignment of heading. Ex: <h1 align=“left”> This is left-aligned</h1> title Indicates the text that appears when mouse hovers over the heading. Ex: <h1 title=“Hello There!”> Put the mouse over me!!!</h1>
  • 5. Creating an HTML Document 1. Click the START BUTTON and click all programs. 2. Click Accessories and click Notepad. 3. On the notepad window, type the text(code)
  • 6. Saving an HTML 1. On the Menu Bar, click File and click Save or Save As. 2. On the Save As Dialogue Box, type your file name in the file name box. 3. When saving, always change the file type to all files and use .html or .htm file extension. 4. Click Save
  • 7. Viewing an HTML page Launch any web browser. 1 On the Menu Bar, click File and click Browse. 2 Look for the folder or drive where your HTML file was saved and click the file. 3 Click Open and click Ok on the Open Dialogue box. 4
  • 10. background File destination(location of the file) File Name File Extension
  • 12. Link
  • 13. alink
  • 14. Inserting Video File location File name File Extension
  • 15. Adding audio File location File name File Extension
  • 16. Adding image File location File name File Extension
  • 17. Creating Table • Tables allows you to organize and arrange data. • Tables be made via container tags<table></tables>. • Each row within the table is defined by the container tags<tr></tr>(Table Row) • Each cell or data within a row is defined by container tags <td></td>(Table Data)
  • 18. Attributes for <table></table Attribute Name Definition align Indicates the horizontal alignment of table Ex: <table align=“center”> </table> background Indicates the background image of table Ex: <table background=“file distination,file name and file extension”> </table> bgcolor Indicates the background color of the table Ex: <table bgcolor=“pink> </table> bordercolor Indicates bordercolor of table. Ex: <table bordercolor=“blue”> </table>
  • 19. Attributes for <table></table Attribute Name Definition cellpadding Indicates the distance (in pixel) between the contents of the cells and the border around it. Ex: <table cellpadding=“2”> </table> cellspacing Indicates the distance (in pixel) between the cells. Ex: <table cellpadding=“2”> </table> width Indicates the width of the table in pixels or percent of the width displayed bt the web browser. Ex: <table width=“200> </table>
  • 20. Table tag and attributes ( bordercolor, align, bgcolor) Values are enclosed in the quotation marks <tr> Table row <td> Table data <th> table header
  • 21.
  • 22. Thank You Prepared by: Sir Jeric C. Calleja