SlideShare a Scribd company logo
1 of 34
HTML
with Brian Pichman
HTML = Hypertext Markup Language
• Displays web pages in a web browser.
• Web browsers use the tags to interpret the
content of the page.
• HTML elements consisting of tags enclosed in
angle brackets (e.g., <html>)
• Tags most commonly come in pairs like <h1>
and </h1>
Before we learn HTML…
• A “website” is a collection of “webpages”
– A webpage is PAGENAME.HTML in an HTML site
– Your home page should always be index.html
• Technically www.yoursitename.com is actually
www.yoursitename.com/index.html
– Webpages are linked together through
“hyperlinks”
• A website is stored on a server.
– A Server has an IP Address (10.231.231.21) and a
DNS translates www.yoursitename.com to that
Address
This is typically at index.html
Color As A Code
http://colorschemedesigner.com
What Does HTML Code Look Like?
What Does HTML Code Look Like?
www.circtech.net
<html>
<head>
<title>Learning Sites</title>
</head>
<body>
The content of the document......
</body>
</html>
The <html> element defines what the
website is loading (whether it be an HTML
site or PHP, etc)
Important: Save your home page as:
index.html
<html>
<head>
<title>Learning Sites</title>
</head>
<body>
The content of the document......
</body>
</html>
The <head> element must include a title for the
document, and can include scripts, styles, meta
information etc. It lets the browser know what to
load
Scripts (Like JQUERY) are called in the “Head” Tag
<html>
<head>
<title>Learning Sites</title>
</head>
<body>
The content of the document......
</body>
</html>
The <body> element must includes the content on
the physical page. If you are using scripts, you can
call the placement of the scripts in the body
element.
Here is where most of the “actual coding” takes
place
Basic HTML Body Tags
Formatting Text Tags
o <h1> Creates the largest headline/heading
o <h6> Creates the smallest headline/heading
o <b> or <strong>,Creates bold text / words
o <i> or <em> Creates italic text / words
o <font size="3"></font> Sets size of font, from 1 to 7
o <font color="green"></font> Sets font color, using name or hex value
o <blockquote> Indents text from both sides
Basic HTML Body Tags
Formatting Paragraphs Tags
o <p>Creates a new paragraph
o <p align="left"> Aligns a paragraph to the left (default), right, or center.
o <br> Inserts a line break
o <ol>Creates a numbered list
o <ul>Creates a bulleted list
o <li>Precedes each list item, and adds a number or symbol depending upon
the type of list selected
o <hr /> Inserts a horizontal rule
o <hr size="3" /> Sets size (height) of rule
o <hr width="80%" /> Sets width of rule, in percentage or absolute value
o <hr noshade /> Creates a rule without a shadow
Media HTML Tags
Picture Tags
o <img src="name"> Adds an image
o <img src="name" align="left"> Aligns an image: left, right, center; bottom, top,
middle
o <img src="name" border="1"> Sets size of border around an image
URL Tags
o <a href="URL">NAME OF LINK</a> Creates a hyperlink
o <a href="mailto:EMAIL">NAME OF LINK</a> Creates a mailto link
o <a href="#NAME"></a> Links to that target location from elsewhere in the
document (Defining A Book Mark)
o <a name="NAME"></a> Creates a target location within a document
Basic Table Tags
Formatting Paragraphs Tags
Tables
• <table></table> Creates a table
• <tr></tr> Sets off each row in a table
• <td></td> Sets off each cell in a row
• <th></th> Sets off the table header (a normal cell with bold, centered text)
Table Attributes
• <table border="1"> Sets width of border around table cells
• <table cellspacing="1"> Sets amount of space between table cells
• <table cellpadding="1"> Sets amount of space between a cell’s border and its contents
• <table width="500" or "80%"> Sets width of table, in pixels or as a percentage of document width
• <tr align="left"> or <td align="left"> Sets alignment for cell(s) (left, center, or right)
• <tr valign="top"> or <td valign="top"> Sets vertical alignment for cell(s) (top, middle, or bottom)
• <td colspan="2"> Sets number of columns a cell should span (default=1)
• <td rowspan="4"> Sets number of rows a cell should span (default=1)
• <td nowrap> Prevents the lines within a cell from being broken to fit
Not closing your tags (</TAG>) can ruin your site
Practice Coding
http://www.w3schools.com/html/tryit.asp?filename=tryhtml_intro
A Quick Bit About CSS
• CSS = Cascading Style Sheets
– You can set what “Style” <h1> or <font=1> should
be instead of the default sizes / colors.
– It can also set the layout of the site, backgrounds,
different regions (called <div>’s)
– CSS are basically your “template design”
• There are free webpage templates available.
Google “FREE HTML WEB TEMPLATES”
What’s HTML5
• HTML5 is the latest version of HTML. It
– Removes the need for flash objects
– Uses “responsive design”
You Mentioned Scripts?
• Check out “DynamicDrive.Com”
http://www.dynamicdrive.com/dynamicindex10
/matrixeffect.htm#.UjpxXMbbN8E
Live Demo
1. If you don't have an FTP application, then I recommend that you download
and install the following: http://filezilla-project.org/download.php
2. Upload files to your directory (e.g., lastname_firstname).
3. When you begin to work with the FTP client, you will need to enter the
following credentials:
•REMOVED FOR SLIDESHARE UPLOAD
4. You will need either a text editor (TextEdit on mac or Notepad on PC) or a
tool like Dreamweaver.
Uploading Files
Homework …
• Pick 2 HTML5 tags (experiment with their attributes) and add them
to your practice Web site. OR …
• Find an interesting site that uses HTML5 and modify it for your
needs. {Note: try a search for “HTML5 exercises” and use whatever
interests you. http://goo.gl/MUpiM and http://html5demos.com/
are great resources too!}
• Test and validate your site at http://validator.w3.org/
• Please take good notes because I’d like to spend some time next
week discussing any issues you may have had using HTML5.
• Build a simple page (index.html) that describes what you liked in
the class and what else you would like to learn. Use at least 5
different tags in the body.
Stay In Contact!
• Brian Pichman
– bpichman@evolveproject.org
– Please email me any questions you may have
during the week.

More Related Content

What's hot

Introduction to XML, XHTML and CSS
Introduction to XML, XHTML and CSSIntroduction to XML, XHTML and CSS
Introduction to XML, XHTML and CSS
Jussi Pohjolainen
 

What's hot (20)

CHAPTER 1
CHAPTER 1CHAPTER 1
CHAPTER 1
 
Web Design Course: CSS lecture 1
Web Design Course: CSS lecture 1Web Design Course: CSS lecture 1
Web Design Course: CSS lecture 1
 
Images and Lists in HTML
Images and Lists in HTMLImages and Lists in HTML
Images and Lists in HTML
 
Html
HtmlHtml
Html
 
HTML Web design english & sinhala mix note
HTML Web design english & sinhala mix noteHTML Web design english & sinhala mix note
HTML Web design english & sinhala mix note
 
uptu web technology unit 2 html
uptu web technology unit 2 htmluptu web technology unit 2 html
uptu web technology unit 2 html
 
Html 5
Html 5Html 5
Html 5
 
HTML5 2019
HTML5 2019HTML5 2019
HTML5 2019
 
Html
HtmlHtml
Html
 
Html introduction
Html introductionHtml introduction
Html introduction
 
Introhtml 2
Introhtml 2Introhtml 2
Introhtml 2
 
Introduction to HTML
Introduction to HTMLIntroduction to HTML
Introduction to HTML
 
HTML 5 Basics Part Two
HTML 5 Basics Part TwoHTML 5 Basics Part Two
HTML 5 Basics Part Two
 
Introduction to XML, XHTML and CSS
Introduction to XML, XHTML and CSSIntroduction to XML, XHTML and CSS
Introduction to XML, XHTML and CSS
 
Web development (html)
Web development (html)Web development (html)
Web development (html)
 
HTML
HTMLHTML
HTML
 
HTML
HTMLHTML
HTML
 
Web Design Course: CSS lecture 2
Web Design Course: CSS  lecture 2Web Design Course: CSS  lecture 2
Web Design Course: CSS lecture 2
 
uptu web technology unit 2 Css
uptu web technology unit 2 Cssuptu web technology unit 2 Css
uptu web technology unit 2 Css
 
HTML
HTMLHTML
HTML
 

Similar to HTML Webinar Class

HTML 5_cfbe4b8d-092saawww24bb33cb2358.pptx
HTML 5_cfbe4b8d-092saawww24bb33cb2358.pptxHTML 5_cfbe4b8d-092saawww24bb33cb2358.pptx
HTML 5_cfbe4b8d-092saawww24bb33cb2358.pptx
TEJASARGADE5
 
web development.pdf
web development.pdfweb development.pdf
web development.pdf
BagHarki
 

Similar to HTML Webinar Class (20)

Web Design.ppt
Web Design.pptWeb Design.ppt
Web Design.ppt
 
Unit 2 (html)
Unit 2  (html)Unit 2  (html)
Unit 2 (html)
 
HTML? What is Hyper Text Mark Up Language
HTML? What is Hyper Text Mark Up  LanguageHTML? What is Hyper Text Mark Up  Language
HTML? What is Hyper Text Mark Up Language
 
HTML
HTMLHTML
HTML
 
BITM3730Week1.pptx
BITM3730Week1.pptxBITM3730Week1.pptx
BITM3730Week1.pptx
 
Lab1_HTML.pptx
Lab1_HTML.pptxLab1_HTML.pptx
Lab1_HTML.pptx
 
FFW Gabrovo PMG - HTML
FFW Gabrovo PMG - HTMLFFW Gabrovo PMG - HTML
FFW Gabrovo PMG - HTML
 
Html
HtmlHtml
Html
 
Html Workshop
Html WorkshopHtml Workshop
Html Workshop
 
Basic of HTML, CSS(StyleSheet), JavaScript(js), Bootstrap, JSON & AngularJS
Basic of HTML, CSS(StyleSheet), JavaScript(js), Bootstrap, JSON & AngularJSBasic of HTML, CSS(StyleSheet), JavaScript(js), Bootstrap, JSON & AngularJS
Basic of HTML, CSS(StyleSheet), JavaScript(js), Bootstrap, JSON & AngularJS
 
html
htmlhtml
html
 
HTML & CSS.ppt
HTML & CSS.pptHTML & CSS.ppt
HTML & CSS.ppt
 
Html cia
Html ciaHtml cia
Html cia
 
Session ii(html)
Session ii(html)Session ii(html)
Session ii(html)
 
Html basics
Html basicsHtml basics
Html basics
 
Basic HTML
Basic HTMLBasic HTML
Basic HTML
 
Lecture 2 introduction to html basics
Lecture 2 introduction to html basicsLecture 2 introduction to html basics
Lecture 2 introduction to html basics
 
HTML 5_cfbe4b8d-092saawww24bb33cb2358.pptx
HTML 5_cfbe4b8d-092saawww24bb33cb2358.pptxHTML 5_cfbe4b8d-092saawww24bb33cb2358.pptx
HTML 5_cfbe4b8d-092saawww24bb33cb2358.pptx
 
web development.pdf
web development.pdfweb development.pdf
web development.pdf
 
INTRODUCTION FOR HTML
INTRODUCTION  FOR HTML INTRODUCTION  FOR HTML
INTRODUCTION FOR HTML
 

More from Brian Pichman

NCompass Live - Pretty Sweet Tech - Evolve Project
NCompass Live - Pretty Sweet Tech - Evolve ProjectNCompass Live - Pretty Sweet Tech - Evolve Project
NCompass Live - Pretty Sweet Tech - Evolve Project
Brian Pichman
 

More from Brian Pichman (20)

AI Coding, Tools for Building AI (TBLC AI Conference)
AI Coding, Tools for Building AI (TBLC AI Conference)AI Coding, Tools for Building AI (TBLC AI Conference)
AI Coding, Tools for Building AI (TBLC AI Conference)
 
Building Your Own AI Instance (TBLC AI )
Building Your Own AI Instance (TBLC AI )Building Your Own AI Instance (TBLC AI )
Building Your Own AI Instance (TBLC AI )
 
CyberSecurity - Computers In Libraries 2024
CyberSecurity - Computers In Libraries 2024CyberSecurity - Computers In Libraries 2024
CyberSecurity - Computers In Libraries 2024
 
AI Workshops at Computers In Libraries 2024
AI Workshops at Computers In Libraries 2024AI Workshops at Computers In Libraries 2024
AI Workshops at Computers In Libraries 2024
 
Community Health & Welfare: Seniors & Memory Care
Community Health & Welfare: Seniors & Memory CareCommunity Health & Welfare: Seniors & Memory Care
Community Health & Welfare: Seniors & Memory Care
 
Robotics in Libraries - Education and Automation
Robotics in Libraries - Education and AutomationRobotics in Libraries - Education and Automation
Robotics in Libraries - Education and Automation
 
NCompass Live - Pretty Sweet Tech - Evolve Project
NCompass Live - Pretty Sweet Tech - Evolve ProjectNCompass Live - Pretty Sweet Tech - Evolve Project
NCompass Live - Pretty Sweet Tech - Evolve Project
 
AI tools in Scholarly Research and Publishing
AI tools in Scholarly Research and PublishingAI tools in Scholarly Research and Publishing
AI tools in Scholarly Research and Publishing
 
Tech Trends 2024 and Beyond - AI and VR and MOre
Tech Trends 2024 and Beyond - AI and VR and MOreTech Trends 2024 and Beyond - AI and VR and MOre
Tech Trends 2024 and Beyond - AI and VR and MOre
 
Content Creation and Social Media Tools for Libraries
Content Creation and Social Media Tools for LibrariesContent Creation and Social Media Tools for Libraries
Content Creation and Social Media Tools for Libraries
 
Artificial Intelligence (AI) – Powering Data and Conversations.pptx
Artificial Intelligence (AI) – Powering Data and Conversations.pptxArtificial Intelligence (AI) – Powering Data and Conversations.pptx
Artificial Intelligence (AI) – Powering Data and Conversations.pptx
 
Cybersecurity - Defense Against The Dark Arts Harry Potter Style
Cybersecurity - Defense Against The Dark Arts Harry Potter StyleCybersecurity - Defense Against The Dark Arts Harry Potter Style
Cybersecurity - Defense Against The Dark Arts Harry Potter Style
 
40 Day Challenge
40 Day Challenge40 Day Challenge
40 Day Challenge
 
NCompass Live: AI: The Modern Day Pandora's Box
NCompass Live: AI: The Modern Day Pandora's BoxNCompass Live: AI: The Modern Day Pandora's Box
NCompass Live: AI: The Modern Day Pandora's Box
 
Lets Chat AI - and Not Just ChatGPT
Lets Chat AI - and Not Just ChatGPTLets Chat AI - and Not Just ChatGPT
Lets Chat AI - and Not Just ChatGPT
 
Securing and Safeguarding Your Library Setup
Securing and Safeguarding Your Library SetupSecuring and Safeguarding Your Library Setup
Securing and Safeguarding Your Library Setup
 
CES 2023
CES 2023CES 2023
CES 2023
 
Lets Chat AI – And Not Just ChatGPT
Lets Chat AI – And Not Just ChatGPTLets Chat AI – And Not Just ChatGPT
Lets Chat AI – And Not Just ChatGPT
 
STEM Programming Ideas at the Library.pdf
STEM Programming Ideas at the Library.pdfSTEM Programming Ideas at the Library.pdf
STEM Programming Ideas at the Library.pdf
 
Getting Started With Using AI In Libraries (PLAN)
Getting Started With Using AI In Libraries (PLAN)Getting Started With Using AI In Libraries (PLAN)
Getting Started With Using AI In Libraries (PLAN)
 

Recently uploaded

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
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 

Recently uploaded (20)

Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
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, ...
 
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)
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUKSpring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
 
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
 
Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelMcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
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
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
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
 
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
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 

HTML Webinar Class

  • 2.
  • 3. HTML = Hypertext Markup Language • Displays web pages in a web browser. • Web browsers use the tags to interpret the content of the page. • HTML elements consisting of tags enclosed in angle brackets (e.g., <html>) • Tags most commonly come in pairs like <h1> and </h1>
  • 4. Before we learn HTML… • A “website” is a collection of “webpages” – A webpage is PAGENAME.HTML in an HTML site – Your home page should always be index.html • Technically www.yoursitename.com is actually www.yoursitename.com/index.html – Webpages are linked together through “hyperlinks” • A website is stored on a server. – A Server has an IP Address (10.231.231.21) and a DNS translates www.yoursitename.com to that Address
  • 5. This is typically at index.html
  • 6. Color As A Code http://colorschemedesigner.com
  • 7. What Does HTML Code Look Like?
  • 8. What Does HTML Code Look Like? www.circtech.net
  • 9.
  • 10. <html> <head> <title>Learning Sites</title> </head> <body> The content of the document...... </body> </html> The <html> element defines what the website is loading (whether it be an HTML site or PHP, etc) Important: Save your home page as: index.html
  • 11. <html> <head> <title>Learning Sites</title> </head> <body> The content of the document...... </body> </html> The <head> element must include a title for the document, and can include scripts, styles, meta information etc. It lets the browser know what to load Scripts (Like JQUERY) are called in the “Head” Tag
  • 12. <html> <head> <title>Learning Sites</title> </head> <body> The content of the document...... </body> </html> The <body> element must includes the content on the physical page. If you are using scripts, you can call the placement of the scripts in the body element. Here is where most of the “actual coding” takes place
  • 13. Basic HTML Body Tags Formatting Text Tags o <h1> Creates the largest headline/heading o <h6> Creates the smallest headline/heading o <b> or <strong>,Creates bold text / words o <i> or <em> Creates italic text / words o <font size="3"></font> Sets size of font, from 1 to 7 o <font color="green"></font> Sets font color, using name or hex value o <blockquote> Indents text from both sides
  • 14. Basic HTML Body Tags Formatting Paragraphs Tags o <p>Creates a new paragraph o <p align="left"> Aligns a paragraph to the left (default), right, or center. o <br> Inserts a line break o <ol>Creates a numbered list o <ul>Creates a bulleted list o <li>Precedes each list item, and adds a number or symbol depending upon the type of list selected o <hr /> Inserts a horizontal rule o <hr size="3" /> Sets size (height) of rule o <hr width="80%" /> Sets width of rule, in percentage or absolute value o <hr noshade /> Creates a rule without a shadow
  • 15. Media HTML Tags Picture Tags o <img src="name"> Adds an image o <img src="name" align="left"> Aligns an image: left, right, center; bottom, top, middle o <img src="name" border="1"> Sets size of border around an image URL Tags o <a href="URL">NAME OF LINK</a> Creates a hyperlink o <a href="mailto:EMAIL">NAME OF LINK</a> Creates a mailto link o <a href="#NAME"></a> Links to that target location from elsewhere in the document (Defining A Book Mark) o <a name="NAME"></a> Creates a target location within a document
  • 16. Basic Table Tags Formatting Paragraphs Tags Tables • <table></table> Creates a table • <tr></tr> Sets off each row in a table • <td></td> Sets off each cell in a row • <th></th> Sets off the table header (a normal cell with bold, centered text) Table Attributes • <table border="1"> Sets width of border around table cells • <table cellspacing="1"> Sets amount of space between table cells • <table cellpadding="1"> Sets amount of space between a cell’s border and its contents • <table width="500" or "80%"> Sets width of table, in pixels or as a percentage of document width • <tr align="left"> or <td align="left"> Sets alignment for cell(s) (left, center, or right) • <tr valign="top"> or <td valign="top"> Sets vertical alignment for cell(s) (top, middle, or bottom) • <td colspan="2"> Sets number of columns a cell should span (default=1) • <td rowspan="4"> Sets number of rows a cell should span (default=1) • <td nowrap> Prevents the lines within a cell from being broken to fit
  • 17.
  • 18.
  • 19.
  • 20.
  • 21. Not closing your tags (</TAG>) can ruin your site
  • 22.
  • 23.
  • 25. A Quick Bit About CSS • CSS = Cascading Style Sheets – You can set what “Style” <h1> or <font=1> should be instead of the default sizes / colors. – It can also set the layout of the site, backgrounds, different regions (called <div>’s) – CSS are basically your “template design” • There are free webpage templates available. Google “FREE HTML WEB TEMPLATES”
  • 26.
  • 27.
  • 28. What’s HTML5 • HTML5 is the latest version of HTML. It – Removes the need for flash objects – Uses “responsive design”
  • 29.
  • 30. You Mentioned Scripts? • Check out “DynamicDrive.Com” http://www.dynamicdrive.com/dynamicindex10 /matrixeffect.htm#.UjpxXMbbN8E
  • 32. 1. If you don't have an FTP application, then I recommend that you download and install the following: http://filezilla-project.org/download.php 2. Upload files to your directory (e.g., lastname_firstname). 3. When you begin to work with the FTP client, you will need to enter the following credentials: •REMOVED FOR SLIDESHARE UPLOAD 4. You will need either a text editor (TextEdit on mac or Notepad on PC) or a tool like Dreamweaver. Uploading Files
  • 33. Homework … • Pick 2 HTML5 tags (experiment with their attributes) and add them to your practice Web site. OR … • Find an interesting site that uses HTML5 and modify it for your needs. {Note: try a search for “HTML5 exercises” and use whatever interests you. http://goo.gl/MUpiM and http://html5demos.com/ are great resources too!} • Test and validate your site at http://validator.w3.org/ • Please take good notes because I’d like to spend some time next week discussing any issues you may have had using HTML5. • Build a simple page (index.html) that describes what you liked in the class and what else you would like to learn. Use at least 5 different tags in the body.
  • 34. Stay In Contact! • Brian Pichman – bpichman@evolveproject.org – Please email me any questions you may have during the week.