SlideShare a Scribd company logo
1 of 11
HTML: Part 1 Hypertext Markup Language
Review Homepage: Starting point World’s smallest HTML in index.html Viewable in Internet Explorer    http://www4.ncsu.edu/~loginID Edit/Save/Reload  Editing in Notepad Save changes in Notepad Reload/Refresh web browser
Homepage Ideas Who are you? What is your major? Interests? Favorite movies? Links, pictures View Source – remember to stay within CSC200 material!
HTML Tags <BODY>  The <body> tag sets the standard values for the entire webpage. This tag can change the: Background Solid color, image Text color Color of hyperlinks Link, active link, visited link Background image: Background=“image.gif”
HTML Tags (2) <H#> the HEADING tag ranges 1-6 Replace # with 1, 2, 3, … 6 Hierarchy; # is an indication of its dominancy with 1 being the largest size text, 6 the smallest Difference between <H#> and <HEAD>.  <H#> covered last lecture and in the Manual! Example: Heading that is centered – <center><h1>Homepage</h1></center>
Images <IMG SRC=“image_name.gif”> Make sure the image name is the exact same as it is saved in your www folder. .gif or .jpg format Convert with Paint application Pulling images from your K: drive Needs to know path name Example: <IMG SRC=“http://www4.ncsu.edu/~loginID/photo.JPG”>  Or <IMG SRC=“./photo.jpg”> No closing tag needed
Images (2) Pulling images from internet Understandable if you’re avoiding using up account space, but don’t utilize often! ,[object Object],Example: <A HREF=“URL”><IMG SRC=“./photo.jpg”></A> Where text would normally go in a link tag, put the image tag instead! Remember to close the link tag!
<A HREF=“…”>…</A> Example: Absolute Hyperlink: Creating a link to internet site <A HREF=“http://ncsu.edu”>NCSU</A> Relative Hyperlink: Creating a link within your account <A HREF=“./page2.html”>About me</A> ./     An abbreviated way to write a path to your account (LINUX) page2.html     An example of a file name saved in your www folder, just like your index.html Remember to close link tag! Hyperlinks
Content Alignment By default, content aligned to the left. <center>…</center> Example: <CENTER><IMG SRC=“./photo.jpg”></CENTER>
Content Alignment (2) align=right Example: <IMG SRC=“./photo.jpg” align=right> Text wrapping Place the image tag within a paragraph to get:
Announcements Interactive Lab Quiz 4! Example: http://www4.ncsu.edu/~vjbuchan/csc200example.html Or http://www4.ncsu.edu/~vjbuchan Enter      Announcements     CSC200 Example webpage Homework None due next week, Oct. 10 Homework 5 works with your index.html file! Don’t wait too long, you’ll need to use a unity lab computer. EVERYONE should get 100%! 

More Related Content

What's hot

Html text formatting
Html text formattingHtml text formatting
Html text formatting
derekoei
 
Introduction to html
Introduction to htmlIntroduction to html
Introduction to html
vikasgaur31
 
HTML & Textile Training
HTML & Textile TrainingHTML & Textile Training
HTML & Textile Training
ehealth
 

What's hot (20)

Html links
Html linksHtml links
Html links
 
YL Intro html
YL Intro htmlYL Intro html
YL Intro html
 
HTML Text formatting tags
HTML Text formatting tagsHTML Text formatting tags
HTML Text formatting tags
 
Html
HtmlHtml
Html
 
Html ppt
Html pptHtml ppt
Html ppt
 
Html ppt
Html pptHtml ppt
Html ppt
 
HTML_Slideshow1
HTML_Slideshow1HTML_Slideshow1
HTML_Slideshow1
 
Understanding THML
Understanding THMLUnderstanding THML
Understanding THML
 
Html text formatting
Html text formattingHtml text formatting
Html text formatting
 
Html Ppt
Html PptHtml Ppt
Html Ppt
 
Diva
DivaDiva
Diva
 
Html1
Html1Html1
Html1
 
Basic HTML
Basic HTMLBasic HTML
Basic HTML
 
(SEO) Search Engine Optimization
(SEO) Search Engine Optimization(SEO) Search Engine Optimization
(SEO) Search Engine Optimization
 
Web designing using html
Web designing using htmlWeb designing using html
Web designing using html
 
Introduction to basic HTML [Librarian edition]
Introduction to basic HTML [Librarian edition]Introduction to basic HTML [Librarian edition]
Introduction to basic HTML [Librarian edition]
 
Htmltag.ppt
Htmltag.pptHtmltag.ppt
Htmltag.ppt
 
Basic HTML
Basic HTMLBasic HTML
Basic HTML
 
Introduction to html
Introduction to htmlIntroduction to html
Introduction to html
 
HTML & Textile Training
HTML & Textile TrainingHTML & Textile Training
HTML & Textile Training
 

Viewers also liked

Lab 3: WWW and HTML
Lab 3: WWW and HTMLLab 3: WWW and HTML
Lab 3: WWW and HTML
vanessajade
 
Web Design Unit.doc
Web Design Unit.docWeb Design Unit.doc
Web Design Unit.doc
butest
 
Fundamentals of Web building
Fundamentals of Web buildingFundamentals of Web building
Fundamentals of Web building
RC Morales
 
Web technology practical list
Web technology practical listWeb technology practical list
Web technology practical list
desaipratu10
 

Viewers also liked (14)

HTML practicals
HTML practicals HTML practicals
HTML practicals
 
Learn html through programs
Learn html through programsLearn html through programs
Learn html through programs
 
Lab 3: WWW and HTML
Lab 3: WWW and HTMLLab 3: WWW and HTML
Lab 3: WWW and HTML
 
Web design basics_02
Web design basics_02Web design basics_02
Web design basics_02
 
Basics of Web Design
Basics of Web DesignBasics of Web Design
Basics of Web Design
 
Web Design Unit.doc
Web Design Unit.docWeb Design Unit.doc
Web Design Unit.doc
 
ITFinal it lab manual
ITFinal it lab manualITFinal it lab manual
ITFinal it lab manual
 
Web design basics
Web design basicsWeb design basics
Web design basics
 
Web Design 1: Introductions
Web Design 1: IntroductionsWeb Design 1: Introductions
Web Design 1: Introductions
 
Fundamentals of Web building
Fundamentals of Web buildingFundamentals of Web building
Fundamentals of Web building
 
Web technology practical list
Web technology practical listWeb technology practical list
Web technology practical list
 
Practical file on web technology(html)
Practical file on web technology(html)Practical file on web technology(html)
Practical file on web technology(html)
 
Web technology lab manual
Web technology lab manualWeb technology lab manual
Web technology lab manual
 
Basics of Web Design: A primer of what you need to know to design for the web
Basics of Web Design: A primer of what you need to know to design for the webBasics of Web Design: A primer of what you need to know to design for the web
Basics of Web Design: A primer of what you need to know to design for the web
 

Similar to Lab 4: Introduction to HTML

Building A Website
Building A WebsiteBuilding A Website
Building A Website
marabeas
 
HTML by Telerik Akademy
HTML by Telerik AkademyHTML by Telerik Akademy
HTML by Telerik Akademy
Ognyan Penkov
 
introduction to web technology
introduction to web technologyintroduction to web technology
introduction to web technology
vikram singh
 

Similar to Lab 4: Introduction to HTML (20)

Introduction to HTML
Introduction to HTMLIntroduction to HTML
Introduction to HTML
 
html
htmlhtml
html
 
Html, CSS & Web Designing
Html, CSS & Web DesigningHtml, CSS & Web Designing
Html, CSS & Web Designing
 
Html Workshop
Html WorkshopHtml Workshop
Html Workshop
 
HTML Bootcamp
HTML BootcampHTML Bootcamp
HTML Bootcamp
 
Web1O1 - Intro to HTML/CSS
Web1O1 - Intro to HTML/CSSWeb1O1 - Intro to HTML/CSS
Web1O1 - Intro to HTML/CSS
 
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
 
Intr To Html & Xhtml
Intr To Html & XhtmlIntr To Html & Xhtml
Intr To Html & Xhtml
 
HTML.pptx
HTML.pptxHTML.pptx
HTML.pptx
 
Basic Html Notes
Basic Html NotesBasic Html Notes
Basic Html Notes
 
Building A Website
Building A WebsiteBuilding A Website
Building A Website
 
HTML Bootcamp
HTML BootcampHTML Bootcamp
HTML Bootcamp
 
AttributesL3.pptx
AttributesL3.pptxAttributesL3.pptx
AttributesL3.pptx
 
HTML by Telerik Akademy
HTML by Telerik AkademyHTML by Telerik Akademy
HTML by Telerik Akademy
 
BasicHTML
BasicHTMLBasicHTML
BasicHTML
 
introduction to web technology
introduction to web technologyintroduction to web technology
introduction to web technology
 
SEO Training in Noida- Skyinfotech.in
SEO Training in Noida- Skyinfotech.inSEO Training in Noida- Skyinfotech.in
SEO Training in Noida- Skyinfotech.in
 
Html notes
Html notesHtml notes
Html notes
 
Html.docx
Html.docxHtml.docx
Html.docx
 

Recently uploaded

Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 

Recently uploaded (20)

[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)
 
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptx
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering Developers
 

Lab 4: Introduction to HTML

  • 1. HTML: Part 1 Hypertext Markup Language
  • 2. Review Homepage: Starting point World’s smallest HTML in index.html Viewable in Internet Explorer http://www4.ncsu.edu/~loginID Edit/Save/Reload Editing in Notepad Save changes in Notepad Reload/Refresh web browser
  • 3. Homepage Ideas Who are you? What is your major? Interests? Favorite movies? Links, pictures View Source – remember to stay within CSC200 material!
  • 4. HTML Tags <BODY> The <body> tag sets the standard values for the entire webpage. This tag can change the: Background Solid color, image Text color Color of hyperlinks Link, active link, visited link Background image: Background=“image.gif”
  • 5. HTML Tags (2) <H#> the HEADING tag ranges 1-6 Replace # with 1, 2, 3, … 6 Hierarchy; # is an indication of its dominancy with 1 being the largest size text, 6 the smallest Difference between <H#> and <HEAD>. <H#> covered last lecture and in the Manual! Example: Heading that is centered – <center><h1>Homepage</h1></center>
  • 6. Images <IMG SRC=“image_name.gif”> Make sure the image name is the exact same as it is saved in your www folder. .gif or .jpg format Convert with Paint application Pulling images from your K: drive Needs to know path name Example: <IMG SRC=“http://www4.ncsu.edu/~loginID/photo.JPG”> Or <IMG SRC=“./photo.jpg”> No closing tag needed
  • 7.
  • 8. <A HREF=“…”>…</A> Example: Absolute Hyperlink: Creating a link to internet site <A HREF=“http://ncsu.edu”>NCSU</A> Relative Hyperlink: Creating a link within your account <A HREF=“./page2.html”>About me</A> ./ An abbreviated way to write a path to your account (LINUX) page2.html An example of a file name saved in your www folder, just like your index.html Remember to close link tag! Hyperlinks
  • 9. Content Alignment By default, content aligned to the left. <center>…</center> Example: <CENTER><IMG SRC=“./photo.jpg”></CENTER>
  • 10. Content Alignment (2) align=right Example: <IMG SRC=“./photo.jpg” align=right> Text wrapping Place the image tag within a paragraph to get:
  • 11. Announcements Interactive Lab Quiz 4! Example: http://www4.ncsu.edu/~vjbuchan/csc200example.html Or http://www4.ncsu.edu/~vjbuchan Enter Announcements CSC200 Example webpage Homework None due next week, Oct. 10 Homework 5 works with your index.html file! Don’t wait too long, you’ll need to use a unity lab computer. EVERYONE should get 100%! 