SlideShare a Scribd company logo
1 of 29
Creating and Editing a Web Page HTML Project 02
Saving an HTML File HTML files must end with an extension of .htm or .html HTML files with an extension of .html can be viewed on Web servers running an operating system that allows long file names (Windows).  For Web servers that run an operating system that does not accept long file names, you need the .htm extension.
Saving an HTML File In this book, all files are saved using the .htm extension.   When saving an HTML file, do NOT include any spaces in the file name.  Although allowed in both Windows and Macintosh, it is NOT allowed on a UNIX Web server—and most Web servers run UNIX The home page of a Web site should always be saved as index.htm.
Saving an HTML File Save Notepad files with .htm extension (.html is also acceptable but not to be used for classroom exercises) .html	Used for Web servers that run an operating system that allows long file names (Windows/Macintosh do allow) .htm	Used for Web servers that run an operating system that does not accept long file names
Viewing or Opening a Web Page in a Browser Open My Computer Navigate to the appropriate folder
Viewing or Opening a Web Page in a Browser G:eb DesignTMLata Templatesroject02YK Double Click the icon—Apply2-1 Open the View Menu Click on Source
Viewing or Opening a Web Page in a Browser Make changes?  	 Save the HTML file Refresh the browser
Saving an HTML File  Add your Name to Every Title Tag!!! Project 2 <title> YourName Campus Tutoring Service Home Page </title>  Save the Notepad file to the appropriate folder:  Open the File Menu and select Save Navigate to the appropriate folder
Saving an HTML File Projects Saved in ProjectFiles folder Apply your Knowledge Saved in the AYK folder In the Lab IntheLab folder
Saving an HTML File Remember to use the .htm extension and no spaces Save as:   project2.htm  in the ProjectFiles folder
Apply Your Knowledge (P. 64)  <title> Your Name Apply Your Knowledge</title>   Open:  apply2-1.htm Save as:apply2-1solution.htm G:eb DesignTMLata Templatesroject02YK  
In the Lab (P. 65)  <title>Your Name LAB 2-1</title>   Save as:lab2-1.htm	 G:eb DesignTMLata Templatesroject02nTheLab
DOCTYPE – Initial Tags to Define a Web Page Structure <!DOCTYPE html    PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">   <html> <head> <title> Campus Tutoring</title> </head> <body>       </body> </html>
DOCTYPE – Initial Tags to Define a Web Page Structure <!DOCTYPE> indicates the version and type  of HTML used
DOCTYPE – Initial Tags to Define a Web Page Structure <html> </html> Indicates the start and end of an  HTML document
DOCTYPE – Initial Tags to Define a Web Page Structure <title> </title> Indicates the start and end of a title which does not appear in the Web page but appears on the Title Bar of the browser (Always include your name  and Project name)
DOCTYPE – Initial Tags to Define a Web Page Structure <body> </body> Indicates the start and end of the  Web page body
DOCTYPE – Initial Tags to Define a Web Page Structure Most HTML tags have corresponding end tags—not all! For tags that do not have end tags, such as <hr /> and <br />, the tag is closed using a space and a forward slash
Define the Web Page Structure <!DOCTYPE html    PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <!DOCTYPE> tag is used to tell the browser which HTML or XHTML version and type the document uses.  The W3C supports three document types:
Define the Web Page Structure strict (prohibits the use of deprecated tags--tags that the W3C has named for eventual removal because newer, more functional tags are replacing them) transitional (allows the use of deprecated tags) frameset (used to support frames on a Web page and also allows the use of deprecated tags)   Notice that we are using a transitional document type
Define the Web Page Structure The <!DOCTYPE> tag also includes a URL that references a Document Type Definition (DTD) found on the W3C Web site.  This is a file containing definitions of tags and how they should be used in a Web page. To create an HTML document, you begin by inserting a <!DOCTYPE> tag and four sets of tags which define the overall structure of a standard Web page and divide the HTML file into its basic sections—such as the header information and the body of the page that contains text and graphics
Headings Serve to separate text and introduce new topics Tags = <h6> to <h1> (smallest to largest) Heading size 1 = 24 point (usually only one <h1> tag per page) Heading size 2 = 18 point Heading size 3 = 16 point Heading size 4 = 14 point Heading size 5 = 13 point Heading size 6 = 11 point Normal text  = 12 point
Paragraphs:  <p> </p> Used to indicate the start of a new paragraph; the browser starts a new line and inserts a blank line above the new paragraph
Lists Lists structure text into an itemized format—either bulleted or numbered Ordered		<ol> </ol> Also known as a numbered list formats information in a series using numbers or letters Default type = Arabic numbers Unordered		<ul> </ul>	 Also known as a bulleted list formats information using small images called bullets Default type = disc bullet To change the defaults, the type attribute is entered within the <ol> or <ul> tags. <ol type=”A”>  		or 		<ul type=”square”>  After the <ol> or <ul> tag is entered to define the type of list, the <li> and </li> tags are used to define a list item in an ordered or unordered list.
Images:  <img> Web pages use three types of files as images:   Graphics Interchange Format (GIF), Joint Photographic Experts Group (JPEG), and Portable Network Graphics (PNG) Attributes used with the <img> tag: src attribute =   used to define the URL of the image to load alt attribute =    used to provide alternative text if the image does not load
It is important to include the height and width attributes so the browser will know the size of the image without having to calculate it. Adding these attributes will be expected every time you insert an image tag! <imgsrc=”cts_clip8.gif” width=”484” height=”62” alt=”Student Services logo” />
Background color:  bgcolor attribute  Use a six-digit number code or a color name (predefined)  Must be added in the <body> tag (pg. 55)
Align attribute	 Right:  align=”right” Center:  align=”center” Left:  align=”left” By default, headings (and text) are left-aligned
Horizontal rule:  <hr /> Does not have an end tag Tag is closed using a space and a forward slash  Visual divider of sections on a Web page  Can use an inline image or the horizontal rule tag  Dimension is added to the default horizontal rule by increasing the number of pixels that are displayed  Can also turn off shading using the noshade option

More Related Content

What's hot

Introduction to HTML
Introduction to HTMLIntroduction to HTML
Introduction to HTMLyht4ever
 
HTML (Hyper Text Markup Language)
HTML (Hyper Text Markup Language)HTML (Hyper Text Markup Language)
HTML (Hyper Text Markup Language)Asra Hameed
 
HTML Comprehensive Overview
HTML Comprehensive OverviewHTML Comprehensive Overview
HTML Comprehensive OverviewMohamed Loey
 
HTML + CSS Examples
HTML + CSS ExamplesHTML + CSS Examples
HTML + CSS ExamplesMohamed Loey
 
Introduction to html
Introduction to htmlIntroduction to html
Introduction to htmleShikshak
 
HTML- Hyper Text Markup Language
HTML- Hyper Text Markup LanguageHTML- Hyper Text Markup Language
HTML- Hyper Text Markup LanguageTrinity Dwarka
 
Introduction to HTML
Introduction to HTMLIntroduction to HTML
Introduction to HTMLAnn Alcid
 
Web designing using html
Web designing using htmlWeb designing using html
Web designing using htmljulicris021488
 
HTML email design and usability
HTML email design and usabilityHTML email design and usability
HTML email design and usabilityKeith Kmett
 
Introduction to HTML
Introduction to HTMLIntroduction to HTML
Introduction to HTMLAmeer Khan
 
HTML Basics 1 workshop
HTML Basics 1 workshopHTML Basics 1 workshop
HTML Basics 1 workshopJohn Allan
 
What is HTML - An Introduction to HTML (Hypertext Markup Language)
What is HTML - An Introduction to HTML (Hypertext Markup Language)What is HTML - An Introduction to HTML (Hypertext Markup Language)
What is HTML - An Introduction to HTML (Hypertext Markup Language)Ahsan Rahim
 

What's hot (20)

Introduction to HTML
Introduction to HTMLIntroduction to HTML
Introduction to HTML
 
HTML (Hyper Text Markup Language)
HTML (Hyper Text Markup Language)HTML (Hyper Text Markup Language)
HTML (Hyper Text Markup Language)
 
HTML
HTMLHTML
HTML
 
HTML Comprehensive Overview
HTML Comprehensive OverviewHTML Comprehensive Overview
HTML Comprehensive Overview
 
Html introduction
Html introductionHtml introduction
Html introduction
 
HTML + CSS Examples
HTML + CSS ExamplesHTML + CSS Examples
HTML + CSS Examples
 
Web Page Designing Using HTML
Web Page Designing Using HTMLWeb Page Designing Using HTML
Web Page Designing Using HTML
 
Introduction to html
Introduction to htmlIntroduction to html
Introduction to html
 
HTML- Hyper Text Markup Language
HTML- Hyper Text Markup LanguageHTML- Hyper Text Markup Language
HTML- Hyper Text Markup Language
 
Introduction to HTML
Introduction to HTMLIntroduction to HTML
Introduction to HTML
 
Web designing using html
Web designing using htmlWeb designing using html
Web designing using html
 
Introduction to WEB HTML, CSS
Introduction to WEB HTML, CSSIntroduction to WEB HTML, CSS
Introduction to WEB HTML, CSS
 
HTML email design and usability
HTML email design and usabilityHTML email design and usability
HTML email design and usability
 
Introduction to HTML
Introduction to HTMLIntroduction to HTML
Introduction to HTML
 
HTML Basics 1 workshop
HTML Basics 1 workshopHTML Basics 1 workshop
HTML Basics 1 workshop
 
Tm 1st quarter - 1st meeting
Tm   1st quarter - 1st meetingTm   1st quarter - 1st meeting
Tm 1st quarter - 1st meeting
 
1. HTML
1. HTML1. HTML
1. HTML
 
Html
HtmlHtml
Html
 
Intro to HTML
Intro to HTMLIntro to HTML
Intro to HTML
 
What is HTML - An Introduction to HTML (Hypertext Markup Language)
What is HTML - An Introduction to HTML (Hypertext Markup Language)What is HTML - An Introduction to HTML (Hypertext Markup Language)
What is HTML - An Introduction to HTML (Hypertext Markup Language)
 

Viewers also liked

Project 02 Creating and Editing a Web Page - Tags and Attributes
Project 02 Creating and Editing a Web Page - Tags and AttributesProject 02 Creating and Editing a Web Page - Tags and Attributes
Project 02 Creating and Editing a Web Page - Tags and AttributesAngela Edel
 
Wag The Dog : Facebook
Wag The Dog : FacebookWag The Dog : Facebook
Wag The Dog : FacebookWAG THE DOG
 
Project 03 Creating Web Pages with Links, Images, and Formatted Text
Project 03 Creating Web Pages with Links, Images, and Formatted TextProject 03 Creating Web Pages with Links, Images, and Formatted Text
Project 03 Creating Web Pages with Links, Images, and Formatted TextAngela Edel
 
SLM Project 03 Creating Web Pages with Links, Images, and Formatted Text
SLM Project 03 Creating Web Pages with Links, Images, and Formatted TextSLM Project 03 Creating Web Pages with Links, Images, and Formatted Text
SLM Project 03 Creating Web Pages with Links, Images, and Formatted TextAngela Edel
 
Project 03 Creating Web Pages with Links, Images, and Formatted Text
Project 03 Creating Web Pages with Links, Images, and Formatted TextProject 03 Creating Web Pages with Links, Images, and Formatted Text
Project 03 Creating Web Pages with Links, Images, and Formatted TextAngela Edel
 
Project 01 Introduction to HTML GO
Project 01 Introduction to HTML GOProject 01 Introduction to HTML GO
Project 01 Introduction to HTML GOAngela Edel
 
Project 03 Creating Web Pages with Links, Images, and Formatted Text - Outlin...
Project 03 Creating Web Pages with Links, Images, and Formatted Text - Outlin...Project 03 Creating Web Pages with Links, Images, and Formatted Text - Outlin...
Project 03 Creating Web Pages with Links, Images, and Formatted Text - Outlin...Angela Edel
 

Viewers also liked (7)

Project 02 Creating and Editing a Web Page - Tags and Attributes
Project 02 Creating and Editing a Web Page - Tags and AttributesProject 02 Creating and Editing a Web Page - Tags and Attributes
Project 02 Creating and Editing a Web Page - Tags and Attributes
 
Wag The Dog : Facebook
Wag The Dog : FacebookWag The Dog : Facebook
Wag The Dog : Facebook
 
Project 03 Creating Web Pages with Links, Images, and Formatted Text
Project 03 Creating Web Pages with Links, Images, and Formatted TextProject 03 Creating Web Pages with Links, Images, and Formatted Text
Project 03 Creating Web Pages with Links, Images, and Formatted Text
 
SLM Project 03 Creating Web Pages with Links, Images, and Formatted Text
SLM Project 03 Creating Web Pages with Links, Images, and Formatted TextSLM Project 03 Creating Web Pages with Links, Images, and Formatted Text
SLM Project 03 Creating Web Pages with Links, Images, and Formatted Text
 
Project 03 Creating Web Pages with Links, Images, and Formatted Text
Project 03 Creating Web Pages with Links, Images, and Formatted TextProject 03 Creating Web Pages with Links, Images, and Formatted Text
Project 03 Creating Web Pages with Links, Images, and Formatted Text
 
Project 01 Introduction to HTML GO
Project 01 Introduction to HTML GOProject 01 Introduction to HTML GO
Project 01 Introduction to HTML GO
 
Project 03 Creating Web Pages with Links, Images, and Formatted Text - Outlin...
Project 03 Creating Web Pages with Links, Images, and Formatted Text - Outlin...Project 03 Creating Web Pages with Links, Images, and Formatted Text - Outlin...
Project 03 Creating Web Pages with Links, Images, and Formatted Text - Outlin...
 

Similar to Project 02 Creating and Editing a Web Page - Notes

Tutorial 08 - Creating Effective Web Pages
Tutorial 08 - Creating Effective Web PagesTutorial 08 - Creating Effective Web Pages
Tutorial 08 - Creating Effective Web Pagesdpd
 
Tutorial 08 - Creating Effective Web Pages
Tutorial 08 - Creating Effective Web PagesTutorial 08 - Creating Effective Web Pages
Tutorial 08 - Creating Effective Web Pagesguest22edf3
 
3 v html_next_energy_03.27.2014_v1.0
3 v html_next_energy_03.27.2014_v1.03 v html_next_energy_03.27.2014_v1.0
3 v html_next_energy_03.27.2014_v1.03V Business Solutions
 
CustomizingStyleSheetsForHTMLOutputs
CustomizingStyleSheetsForHTMLOutputsCustomizingStyleSheetsForHTMLOutputs
CustomizingStyleSheetsForHTMLOutputsSuite Solutions
 
HTML (Basic to Advance)
HTML (Basic to Advance)HTML (Basic to Advance)
HTML (Basic to Advance)Coder Tech
 
Vskills certified html5 developer Notes
Vskills certified html5 developer NotesVskills certified html5 developer Notes
Vskills certified html5 developer NotesVskills
 
Web Design Basics
Web Design BasicsWeb Design Basics
Web Design BasicsCindy Royal
 
Web Page Designing
Web Page DesigningWeb Page Designing
Web Page DesigningAmit Mali
 
How To Create Personal Web Pages On My Web
How To Create Personal Web Pages On My WebHow To Create Personal Web Pages On My Web
How To Create Personal Web Pages On My Websritikumar
 
Html css java script basics All about you need
Html css java script basics All about you needHtml css java script basics All about you need
Html css java script basics All about you needDipen Parmar
 

Similar to Project 02 Creating and Editing a Web Page - Notes (20)

Presentation html
Presentation   htmlPresentation   html
Presentation html
 
Introduction to HTML.pptx
Introduction to HTML.pptxIntroduction to HTML.pptx
Introduction to HTML.pptx
 
Tutorial 08 - Creating Effective Web Pages
Tutorial 08 - Creating Effective Web PagesTutorial 08 - Creating Effective Web Pages
Tutorial 08 - Creating Effective Web Pages
 
Tutorial 08 - Creating Effective Web Pages
Tutorial 08 - Creating Effective Web PagesTutorial 08 - Creating Effective Web Pages
Tutorial 08 - Creating Effective Web Pages
 
3 v html_next_energy_03.27.2014_v1.0
3 v html_next_energy_03.27.2014_v1.03 v html_next_energy_03.27.2014_v1.0
3 v html_next_energy_03.27.2014_v1.0
 
CustomizingStyleSheetsForHTMLOutputs
CustomizingStyleSheetsForHTMLOutputsCustomizingStyleSheetsForHTMLOutputs
CustomizingStyleSheetsForHTMLOutputs
 
HTML (Basic to Advance)
HTML (Basic to Advance)HTML (Basic to Advance)
HTML (Basic to Advance)
 
Vskills certified html5 developer Notes
Vskills certified html5 developer NotesVskills certified html5 developer Notes
Vskills certified html5 developer Notes
 
Web Design Basics
Web Design BasicsWeb Design Basics
Web Design Basics
 
Advance HTML
Advance HTMLAdvance HTML
Advance HTML
 
Module 1
Module 1Module 1
Module 1
 
Web Page Designing
Web Page DesigningWeb Page Designing
Web Page Designing
 
Html5 tutorial
Html5 tutorialHtml5 tutorial
Html5 tutorial
 
Html5 tutorial
Html5 tutorialHtml5 tutorial
Html5 tutorial
 
Html5 tutorial
Html5 tutorialHtml5 tutorial
Html5 tutorial
 
Html5 tutorial
Html5 tutorialHtml5 tutorial
Html5 tutorial
 
Html5 tutorial
Html5 tutorialHtml5 tutorial
Html5 tutorial
 
Html
HtmlHtml
Html
 
How To Create Personal Web Pages On My Web
How To Create Personal Web Pages On My WebHow To Create Personal Web Pages On My Web
How To Create Personal Web Pages On My Web
 
Html css java script basics All about you need
Html css java script basics All about you needHtml css java script basics All about you need
Html css java script basics All about you need
 

More from Angela Edel

Daily agenda unit 02 business communications
Daily agenda unit 02 business communicationsDaily agenda unit 02 business communications
Daily agenda unit 02 business communicationsAngela Edel
 
Daily Agenda Chapter 03 The Wide World of Sports and Entertainment
Daily Agenda Chapter 03 The Wide World of Sports and EntertainmentDaily Agenda Chapter 03 The Wide World of Sports and Entertainment
Daily Agenda Chapter 03 The Wide World of Sports and EntertainmentAngela Edel
 
Daily Agenda Project 03 Creating Web Pages with Links, Images, and Formatted ...
Daily Agenda Project 03 Creating Web Pages with Links, Images, and Formatted ...Daily Agenda Project 03 Creating Web Pages with Links, Images, and Formatted ...
Daily Agenda Project 03 Creating Web Pages with Links, Images, and Formatted ...Angela Edel
 
Chapter 03 The Wide World of Sports and Entertainment
Chapter 03 The Wide World of Sports and EntertainmentChapter 03 The Wide World of Sports and Entertainment
Chapter 03 The Wide World of Sports and EntertainmentAngela Edel
 
SLM Chapter 03 The Wide World of Sports and Entertainment
SLM Chapter 03 The Wide World of Sports and EntertainmentSLM Chapter 03 The Wide World of Sports and Entertainment
SLM Chapter 03 The Wide World of Sports and EntertainmentAngela Edel
 
Unit 02 Business Communications
Unit 02 Business CommunicationsUnit 02 Business Communications
Unit 02 Business CommunicationsAngela Edel
 
Daily Agenda Unit 02 Business Communications
Daily Agenda Unit 02 Business CommunicationsDaily Agenda Unit 02 Business Communications
Daily Agenda Unit 02 Business CommunicationsAngela Edel
 
SLM Unit 02 Business Communications
SLM Unit 02 Business CommunicationsSLM Unit 02 Business Communications
SLM Unit 02 Business CommunicationsAngela Edel
 
Daily Agenda Project 03 Creating Web Pages with Links, Images, and Formatted ...
Daily Agenda Project 03 Creating Web Pages with Links, Images, and Formatted ...Daily Agenda Project 03 Creating Web Pages with Links, Images, and Formatted ...
Daily Agenda Project 03 Creating Web Pages with Links, Images, and Formatted ...Angela Edel
 
Project 03 Creating Web Pages with Links, Images, and Formatted Text - Tags a...
Project 03 Creating Web Pages with Links, Images, and Formatted Text - Tags a...Project 03 Creating Web Pages with Links, Images, and Formatted Text - Tags a...
Project 03 Creating Web Pages with Links, Images, and Formatted Text - Tags a...Angela Edel
 
Daily agenda project 02 creating and editing a web page
Daily agenda project 02 creating and editing a web pageDaily agenda project 02 creating and editing a web page
Daily agenda project 02 creating and editing a web pageAngela Edel
 
Project 03 Outline
Project 03 OutlineProject 03 Outline
Project 03 OutlineAngela Edel
 
Project 03 Student Data Files
Project 03 Student Data FilesProject 03 Student Data Files
Project 03 Student Data FilesAngela Edel
 
Project 03 Creating Web Pages with Links, Images, and Formatted Text
Project 03 Creating Web Pages with Links, Images, and Formatted TextProject 03 Creating Web Pages with Links, Images, and Formatted Text
Project 03 Creating Web Pages with Links, Images, and Formatted TextAngela Edel
 
Project 02 Figures and Tables
Project 02 Figures and TablesProject 02 Figures and Tables
Project 02 Figures and TablesAngela Edel
 
Project 02 Creating and Editing a Web Page
Project 02 Creating and Editing a Web PageProject 02 Creating and Editing a Web Page
Project 02 Creating and Editing a Web PageAngela Edel
 
SLM Project 02 Creating and Editing a Web Page
SLM Project 02 Creating and Editing a Web PageSLM Project 02 Creating and Editing a Web Page
SLM Project 02 Creating and Editing a Web PageAngela Edel
 
Slm project 02 creating and editing a web page
Slm project 02 creating and editing a web pageSlm project 02 creating and editing a web page
Slm project 02 creating and editing a web pageAngela Edel
 
Slm project 02 creating and editing a web page
Slm project 02 creating and editing a web pageSlm project 02 creating and editing a web page
Slm project 02 creating and editing a web pageAngela Edel
 

More from Angela Edel (20)

Daily agenda unit 02 business communications
Daily agenda unit 02 business communicationsDaily agenda unit 02 business communications
Daily agenda unit 02 business communications
 
Daily Agenda Chapter 03 The Wide World of Sports and Entertainment
Daily Agenda Chapter 03 The Wide World of Sports and EntertainmentDaily Agenda Chapter 03 The Wide World of Sports and Entertainment
Daily Agenda Chapter 03 The Wide World of Sports and Entertainment
 
Daily Agenda Project 03 Creating Web Pages with Links, Images, and Formatted ...
Daily Agenda Project 03 Creating Web Pages with Links, Images, and Formatted ...Daily Agenda Project 03 Creating Web Pages with Links, Images, and Formatted ...
Daily Agenda Project 03 Creating Web Pages with Links, Images, and Formatted ...
 
Chapter 03 The Wide World of Sports and Entertainment
Chapter 03 The Wide World of Sports and EntertainmentChapter 03 The Wide World of Sports and Entertainment
Chapter 03 The Wide World of Sports and Entertainment
 
Sem chap 03
Sem chap 03Sem chap 03
Sem chap 03
 
SLM Chapter 03 The Wide World of Sports and Entertainment
SLM Chapter 03 The Wide World of Sports and EntertainmentSLM Chapter 03 The Wide World of Sports and Entertainment
SLM Chapter 03 The Wide World of Sports and Entertainment
 
Unit 02 Business Communications
Unit 02 Business CommunicationsUnit 02 Business Communications
Unit 02 Business Communications
 
Daily Agenda Unit 02 Business Communications
Daily Agenda Unit 02 Business CommunicationsDaily Agenda Unit 02 Business Communications
Daily Agenda Unit 02 Business Communications
 
SLM Unit 02 Business Communications
SLM Unit 02 Business CommunicationsSLM Unit 02 Business Communications
SLM Unit 02 Business Communications
 
Daily Agenda Project 03 Creating Web Pages with Links, Images, and Formatted ...
Daily Agenda Project 03 Creating Web Pages with Links, Images, and Formatted ...Daily Agenda Project 03 Creating Web Pages with Links, Images, and Formatted ...
Daily Agenda Project 03 Creating Web Pages with Links, Images, and Formatted ...
 
Project 03 Creating Web Pages with Links, Images, and Formatted Text - Tags a...
Project 03 Creating Web Pages with Links, Images, and Formatted Text - Tags a...Project 03 Creating Web Pages with Links, Images, and Formatted Text - Tags a...
Project 03 Creating Web Pages with Links, Images, and Formatted Text - Tags a...
 
Daily agenda project 02 creating and editing a web page
Daily agenda project 02 creating and editing a web pageDaily agenda project 02 creating and editing a web page
Daily agenda project 02 creating and editing a web page
 
Project 03 Outline
Project 03 OutlineProject 03 Outline
Project 03 Outline
 
Project 03 Student Data Files
Project 03 Student Data FilesProject 03 Student Data Files
Project 03 Student Data Files
 
Project 03 Creating Web Pages with Links, Images, and Formatted Text
Project 03 Creating Web Pages with Links, Images, and Formatted TextProject 03 Creating Web Pages with Links, Images, and Formatted Text
Project 03 Creating Web Pages with Links, Images, and Formatted Text
 
Project 02 Figures and Tables
Project 02 Figures and TablesProject 02 Figures and Tables
Project 02 Figures and Tables
 
Project 02 Creating and Editing a Web Page
Project 02 Creating and Editing a Web PageProject 02 Creating and Editing a Web Page
Project 02 Creating and Editing a Web Page
 
SLM Project 02 Creating and Editing a Web Page
SLM Project 02 Creating and Editing a Web PageSLM Project 02 Creating and Editing a Web Page
SLM Project 02 Creating and Editing a Web Page
 
Slm project 02 creating and editing a web page
Slm project 02 creating and editing a web pageSlm project 02 creating and editing a web page
Slm project 02 creating and editing a web page
 
Slm project 02 creating and editing a web page
Slm project 02 creating and editing a web pageSlm project 02 creating and editing a web page
Slm project 02 creating and editing a web page
 

Recently uploaded

ENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomnelietumpap1
 
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYKayeClaireEstoconing
 
Choosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for ParentsChoosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for Parentsnavabharathschool99
 
Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Mark Reed
 
ACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfSpandanaRallapalli
 
Culture Uniformity or Diversity IN SOCIOLOGY.pptx
Culture Uniformity or Diversity IN SOCIOLOGY.pptxCulture Uniformity or Diversity IN SOCIOLOGY.pptx
Culture Uniformity or Diversity IN SOCIOLOGY.pptxPoojaSen20
 
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)lakshayb543
 
Science 7 Quarter 4 Module 2: Natural Resources.pptx
Science 7 Quarter 4 Module 2: Natural Resources.pptxScience 7 Quarter 4 Module 2: Natural Resources.pptx
Science 7 Quarter 4 Module 2: Natural Resources.pptxMaryGraceBautista27
 
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxBarangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxCarlos105
 
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSGRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSJoshuaGantuangco2
 
4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptxmary850239
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatYousafMalik24
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...JhezDiaz1
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...Nguyen Thanh Tu Collection
 
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfGrade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfJemuel Francisco
 

Recently uploaded (20)

Raw materials used in Herbal Cosmetics.pptx
Raw materials used in Herbal Cosmetics.pptxRaw materials used in Herbal Cosmetics.pptx
Raw materials used in Herbal Cosmetics.pptx
 
ENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choom
 
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptxYOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
 
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
 
Choosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for ParentsChoosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for Parents
 
Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)
 
ACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdf
 
Culture Uniformity or Diversity IN SOCIOLOGY.pptx
Culture Uniformity or Diversity IN SOCIOLOGY.pptxCulture Uniformity or Diversity IN SOCIOLOGY.pptx
Culture Uniformity or Diversity IN SOCIOLOGY.pptx
 
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
 
Science 7 Quarter 4 Module 2: Natural Resources.pptx
Science 7 Quarter 4 Module 2: Natural Resources.pptxScience 7 Quarter 4 Module 2: Natural Resources.pptx
Science 7 Quarter 4 Module 2: Natural Resources.pptx
 
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxBarangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
 
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSGRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
 
4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice great
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
 
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfGrade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptxLEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
 

Project 02 Creating and Editing a Web Page - Notes

  • 1. Creating and Editing a Web Page HTML Project 02
  • 2. Saving an HTML File HTML files must end with an extension of .htm or .html HTML files with an extension of .html can be viewed on Web servers running an operating system that allows long file names (Windows). For Web servers that run an operating system that does not accept long file names, you need the .htm extension.
  • 3. Saving an HTML File In this book, all files are saved using the .htm extension. When saving an HTML file, do NOT include any spaces in the file name. Although allowed in both Windows and Macintosh, it is NOT allowed on a UNIX Web server—and most Web servers run UNIX The home page of a Web site should always be saved as index.htm.
  • 4. Saving an HTML File Save Notepad files with .htm extension (.html is also acceptable but not to be used for classroom exercises) .html Used for Web servers that run an operating system that allows long file names (Windows/Macintosh do allow) .htm Used for Web servers that run an operating system that does not accept long file names
  • 5. Viewing or Opening a Web Page in a Browser Open My Computer Navigate to the appropriate folder
  • 6. Viewing or Opening a Web Page in a Browser G:eb DesignTMLata Templatesroject02YK Double Click the icon—Apply2-1 Open the View Menu Click on Source
  • 7. Viewing or Opening a Web Page in a Browser Make changes? Save the HTML file Refresh the browser
  • 8. Saving an HTML File  Add your Name to Every Title Tag!!! Project 2 <title> YourName Campus Tutoring Service Home Page </title>  Save the Notepad file to the appropriate folder:  Open the File Menu and select Save Navigate to the appropriate folder
  • 9. Saving an HTML File Projects Saved in ProjectFiles folder Apply your Knowledge Saved in the AYK folder In the Lab IntheLab folder
  • 10. Saving an HTML File Remember to use the .htm extension and no spaces Save as: project2.htm in the ProjectFiles folder
  • 11. Apply Your Knowledge (P. 64)  <title> Your Name Apply Your Knowledge</title>   Open: apply2-1.htm Save as:apply2-1solution.htm G:eb DesignTMLata Templatesroject02YK  
  • 12. In the Lab (P. 65)  <title>Your Name LAB 2-1</title>   Save as:lab2-1.htm G:eb DesignTMLata Templatesroject02nTheLab
  • 13. DOCTYPE – Initial Tags to Define a Web Page Structure <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">   <html> <head> <title> Campus Tutoring</title> </head> <body>       </body> </html>
  • 14. DOCTYPE – Initial Tags to Define a Web Page Structure <!DOCTYPE> indicates the version and type of HTML used
  • 15. DOCTYPE – Initial Tags to Define a Web Page Structure <html> </html> Indicates the start and end of an HTML document
  • 16. DOCTYPE – Initial Tags to Define a Web Page Structure <title> </title> Indicates the start and end of a title which does not appear in the Web page but appears on the Title Bar of the browser (Always include your name and Project name)
  • 17. DOCTYPE – Initial Tags to Define a Web Page Structure <body> </body> Indicates the start and end of the Web page body
  • 18. DOCTYPE – Initial Tags to Define a Web Page Structure Most HTML tags have corresponding end tags—not all! For tags that do not have end tags, such as <hr /> and <br />, the tag is closed using a space and a forward slash
  • 19. Define the Web Page Structure <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <!DOCTYPE> tag is used to tell the browser which HTML or XHTML version and type the document uses. The W3C supports three document types:
  • 20. Define the Web Page Structure strict (prohibits the use of deprecated tags--tags that the W3C has named for eventual removal because newer, more functional tags are replacing them) transitional (allows the use of deprecated tags) frameset (used to support frames on a Web page and also allows the use of deprecated tags)   Notice that we are using a transitional document type
  • 21. Define the Web Page Structure The <!DOCTYPE> tag also includes a URL that references a Document Type Definition (DTD) found on the W3C Web site. This is a file containing definitions of tags and how they should be used in a Web page. To create an HTML document, you begin by inserting a <!DOCTYPE> tag and four sets of tags which define the overall structure of a standard Web page and divide the HTML file into its basic sections—such as the header information and the body of the page that contains text and graphics
  • 22. Headings Serve to separate text and introduce new topics Tags = <h6> to <h1> (smallest to largest) Heading size 1 = 24 point (usually only one <h1> tag per page) Heading size 2 = 18 point Heading size 3 = 16 point Heading size 4 = 14 point Heading size 5 = 13 point Heading size 6 = 11 point Normal text = 12 point
  • 23. Paragraphs: <p> </p> Used to indicate the start of a new paragraph; the browser starts a new line and inserts a blank line above the new paragraph
  • 24. Lists Lists structure text into an itemized format—either bulleted or numbered Ordered <ol> </ol> Also known as a numbered list formats information in a series using numbers or letters Default type = Arabic numbers Unordered <ul> </ul> Also known as a bulleted list formats information using small images called bullets Default type = disc bullet To change the defaults, the type attribute is entered within the <ol> or <ul> tags. <ol type=”A”> or <ul type=”square”>  After the <ol> or <ul> tag is entered to define the type of list, the <li> and </li> tags are used to define a list item in an ordered or unordered list.
  • 25. Images: <img> Web pages use three types of files as images: Graphics Interchange Format (GIF), Joint Photographic Experts Group (JPEG), and Portable Network Graphics (PNG) Attributes used with the <img> tag: src attribute = used to define the URL of the image to load alt attribute = used to provide alternative text if the image does not load
  • 26. It is important to include the height and width attributes so the browser will know the size of the image without having to calculate it. Adding these attributes will be expected every time you insert an image tag! <imgsrc=”cts_clip8.gif” width=”484” height=”62” alt=”Student Services logo” />
  • 27. Background color: bgcolor attribute  Use a six-digit number code or a color name (predefined) Must be added in the <body> tag (pg. 55)
  • 28. Align attribute Right: align=”right” Center: align=”center” Left: align=”left” By default, headings (and text) are left-aligned
  • 29. Horizontal rule: <hr /> Does not have an end tag Tag is closed using a space and a forward slash  Visual divider of sections on a Web page  Can use an inline image or the horizontal rule tag  Dimension is added to the default horizontal rule by increasing the number of pixels that are displayed  Can also turn off shading using the noshade option