SlideShare ist ein Scribd-Unternehmen logo
1 von 15
Downloaden Sie, um offline zu lesen
presents
HTML / CSS: Getting to
Know the Face of the Web
TOM BOATES
@tomboates
Good to know...
• “standards” are rarely “standards”
• No “right way” to do anything (though plenty of
people will tell you otherwise)
• Media/OS/Browser matters!
What is HTML?
• HyperText Markup Language
• Originally built for structural layout
• The lifeblood of the entire web
<div>
CONTENT
</div>
what HTML looks like
CONTENT=
“div” is imaginary box
HTML Structure
html
head body
meta title div div
p ul ul img
li li lili li li
<div>
<ul>
<li>ONE</li>
<li>TWO</li>
<li>THREE</
li>
</ul>
</div>
WHAT NESTING looks like
ONE
= TWO
THREE
Block vs. Inline elements
BLOCK elements have a
natural width and height,
and “stack” by default.
DIV 1
DIV 2
DIV 3
INLINE elements don’t
carry a width or height,
and don’t displace
elements around them.
This is displaying how
inline elements get
rendered in HTML.
<element attribute=”value”>
html attributes
Examples:
<div id=”mainContent”>
<div class=”black”>
What is CSS?
• Cascading StyleSheet
• Supplement to HTML
• Designed to manage styling and layout
• Central place to manage styles across many
HTML pages
• Order of definitions very important
• Linked, <head>, inline, user agent
selector {
property: value;
property: value;
}
what CSS looks like
div {
width: 100px;
padding: 5px;
}
EXAMPLE
SELECTING NESTED elements
CSS: div ul li span { ... }
Is referencing these elements:
<div>
<ul>
<li>This is a first <span>SPAN</span> element.</li>
<li>This is a second <span>SPAN</span> element.</
li>
<li>This is a third <span>SPAN</span> element.</li>
</ul>
</div>
SELECTING with Attributes
CSS: p#main span.bold.italic { ... }
Is referencing this element:
<p id=”main”>
I am selecting <span class=”bold italic”>this text</span>
</p>
<p>
I’m not selecting <span class=”bold italic”>this one</span>.
</p>
but not <span class=”bold”>this one</span>.
hands on
Making a landing page for this class
Resources
W3 Schools - Lists all HTML elements, what attributes they take and what values are available. Also lists all
CSS selectors and options, and provides all properties and values. (http://www.w3schools.com/)
CSS3 Generator - For the more advanced side of you, this tool provides an easy to understand form to
generate the necessary CSS for the effect you’re trying to achieve (shadows, rounded corners, etc.). (http://
www.css3generator.com)
HTML Emails Tips and Tricks - A collection of posts and articles on what’s up with HTML emails. (http://
www.1stwebdesigner.com/tutorials/ultimate-guide-html-emails/)
30 Best Practices for CSS - Good list of some of the things I taught as well as some others to keep in mind
when writing your CSS. (http://net.tutsplus.com/tutorials/html-css-techniques/30-css-best-practices-for-
beginners/)
Wordpress.com - If you’re looking to create a website and have a simpler interface for managing your
content than writing every line of HTML/CSS this is for you. Themes are available to completely skin your
website and you can customize images and styles even more with the knowledge you learned here! (http://
www.wordpress.com)
Google - Honestly almost all I learned I learned from a blog post someone wrote somewhere that I found
after googling what I needed. The internet is FILLED with helpful information and often you can find a post or
article explaining how to do what you’re trying to do. (http://www.google.com
Check out these helpful resources for reference.
Course Title
Course Title
INSTRUCTOR NAME

Weitere ähnliche Inhalte

Mehr von Intelligent_ly

Craft Your Marketing To-Do List Like a Growth Hacker
Craft Your Marketing To-Do List Like a Growth HackerCraft Your Marketing To-Do List Like a Growth Hacker
Craft Your Marketing To-Do List Like a Growth HackerIntelligent_ly
 
The UX Playbook: Tools, Tips, & Tricks
The UX Playbook: Tools, Tips, & TricksThe UX Playbook: Tools, Tips, & Tricks
The UX Playbook: Tools, Tips, & TricksIntelligent_ly
 
Founder Selling: How to Win Deals & Close Critical Sales
Founder Selling: How to Win Deals & Close Critical SalesFounder Selling: How to Win Deals & Close Critical Sales
Founder Selling: How to Win Deals & Close Critical SalesIntelligent_ly
 
Tech for the Non Technical - Anatomy of an Application Stack
Tech for the Non Technical - Anatomy of an Application StackTech for the Non Technical - Anatomy of an Application Stack
Tech for the Non Technical - Anatomy of an Application StackIntelligent_ly
 
Fundamentals of Facebook Advertising
Fundamentals of Facebook AdvertisingFundamentals of Facebook Advertising
Fundamentals of Facebook AdvertisingIntelligent_ly
 
Introduction to Paid Customer Acquisition
Introduction to Paid Customer AcquisitionIntroduction to Paid Customer Acquisition
Introduction to Paid Customer AcquisitionIntelligent_ly
 
Immigration Issues for Startups
Immigration Issues for StartupsImmigration Issues for Startups
Immigration Issues for StartupsIntelligent_ly
 
Product Management and the Search for Product Market Fit
Product Management and the Search for Product Market Fit Product Management and the Search for Product Market Fit
Product Management and the Search for Product Market Fit Intelligent_ly
 
Sales 101: How to Write an Email that Everyone Responds To
Sales 101: How to Write an Email that Everyone Responds To Sales 101: How to Write an Email that Everyone Responds To
Sales 101: How to Write an Email that Everyone Responds To Intelligent_ly
 
How to Market Unsexy Products
How to Market Unsexy ProductsHow to Market Unsexy Products
How to Market Unsexy ProductsIntelligent_ly
 
Get funded Expert Advice from the People Who Know
Get funded Expert Advice from the People Who KnowGet funded Expert Advice from the People Who Know
Get funded Expert Advice from the People Who KnowIntelligent_ly
 
Dave Balter's Advocacy Marketing Class
Dave Balter's Advocacy Marketing ClassDave Balter's Advocacy Marketing Class
Dave Balter's Advocacy Marketing ClassIntelligent_ly
 
The Short List: Choosing Critical Features for Your Minimum Viable Product
The Short List: Choosing Critical Features for Your Minimum Viable ProductThe Short List: Choosing Critical Features for Your Minimum Viable Product
The Short List: Choosing Critical Features for Your Minimum Viable ProductIntelligent_ly
 
Whale Hunting: How to Get Intros and Sell to Big Brands as a Startup
Whale Hunting: How to Get Intros and Sell to Big Brands as a Startup  Whale Hunting: How to Get Intros and Sell to Big Brands as a Startup
Whale Hunting: How to Get Intros and Sell to Big Brands as a Startup Intelligent_ly
 
Don't Get Funded: How to Use Your Customers to Bootstrap
Don't Get Funded: How to Use Your Customers to Bootstrap Don't Get Funded: How to Use Your Customers to Bootstrap
Don't Get Funded: How to Use Your Customers to Bootstrap Intelligent_ly
 
Facebook Advertising: Launch a Campaign That Really Works
Facebook Advertising: Launch a Campaign That Really WorksFacebook Advertising: Launch a Campaign That Really Works
Facebook Advertising: Launch a Campaign That Really WorksIntelligent_ly
 
UX & Wireframes Know Your Weapon of Choice
UX & Wireframes Know Your Weapon of ChoiceUX & Wireframes Know Your Weapon of Choice
UX & Wireframes Know Your Weapon of ChoiceIntelligent_ly
 
Content 101: How to Create Content People Actually Care About
Content 101: How to Create Content People Actually Care About Content 101: How to Create Content People Actually Care About
Content 101: How to Create Content People Actually Care About Intelligent_ly
 
Ramping Up: B2C Acquisition Marketing for Start-Ups
Ramping Up: B2C Acquisition Marketing for Start-UpsRamping Up: B2C Acquisition Marketing for Start-Ups
Ramping Up: B2C Acquisition Marketing for Start-UpsIntelligent_ly
 
Email Strategy, Design and User Experience: Keys to Success
Email Strategy, Design and User Experience: Keys to SuccessEmail Strategy, Design and User Experience: Keys to Success
Email Strategy, Design and User Experience: Keys to SuccessIntelligent_ly
 

Mehr von Intelligent_ly (20)

Craft Your Marketing To-Do List Like a Growth Hacker
Craft Your Marketing To-Do List Like a Growth HackerCraft Your Marketing To-Do List Like a Growth Hacker
Craft Your Marketing To-Do List Like a Growth Hacker
 
The UX Playbook: Tools, Tips, & Tricks
The UX Playbook: Tools, Tips, & TricksThe UX Playbook: Tools, Tips, & Tricks
The UX Playbook: Tools, Tips, & Tricks
 
Founder Selling: How to Win Deals & Close Critical Sales
Founder Selling: How to Win Deals & Close Critical SalesFounder Selling: How to Win Deals & Close Critical Sales
Founder Selling: How to Win Deals & Close Critical Sales
 
Tech for the Non Technical - Anatomy of an Application Stack
Tech for the Non Technical - Anatomy of an Application StackTech for the Non Technical - Anatomy of an Application Stack
Tech for the Non Technical - Anatomy of an Application Stack
 
Fundamentals of Facebook Advertising
Fundamentals of Facebook AdvertisingFundamentals of Facebook Advertising
Fundamentals of Facebook Advertising
 
Introduction to Paid Customer Acquisition
Introduction to Paid Customer AcquisitionIntroduction to Paid Customer Acquisition
Introduction to Paid Customer Acquisition
 
Immigration Issues for Startups
Immigration Issues for StartupsImmigration Issues for Startups
Immigration Issues for Startups
 
Product Management and the Search for Product Market Fit
Product Management and the Search for Product Market Fit Product Management and the Search for Product Market Fit
Product Management and the Search for Product Market Fit
 
Sales 101: How to Write an Email that Everyone Responds To
Sales 101: How to Write an Email that Everyone Responds To Sales 101: How to Write an Email that Everyone Responds To
Sales 101: How to Write an Email that Everyone Responds To
 
How to Market Unsexy Products
How to Market Unsexy ProductsHow to Market Unsexy Products
How to Market Unsexy Products
 
Get funded Expert Advice from the People Who Know
Get funded Expert Advice from the People Who KnowGet funded Expert Advice from the People Who Know
Get funded Expert Advice from the People Who Know
 
Dave Balter's Advocacy Marketing Class
Dave Balter's Advocacy Marketing ClassDave Balter's Advocacy Marketing Class
Dave Balter's Advocacy Marketing Class
 
The Short List: Choosing Critical Features for Your Minimum Viable Product
The Short List: Choosing Critical Features for Your Minimum Viable ProductThe Short List: Choosing Critical Features for Your Minimum Viable Product
The Short List: Choosing Critical Features for Your Minimum Viable Product
 
Whale Hunting: How to Get Intros and Sell to Big Brands as a Startup
Whale Hunting: How to Get Intros and Sell to Big Brands as a Startup  Whale Hunting: How to Get Intros and Sell to Big Brands as a Startup
Whale Hunting: How to Get Intros and Sell to Big Brands as a Startup
 
Don't Get Funded: How to Use Your Customers to Bootstrap
Don't Get Funded: How to Use Your Customers to Bootstrap Don't Get Funded: How to Use Your Customers to Bootstrap
Don't Get Funded: How to Use Your Customers to Bootstrap
 
Facebook Advertising: Launch a Campaign That Really Works
Facebook Advertising: Launch a Campaign That Really WorksFacebook Advertising: Launch a Campaign That Really Works
Facebook Advertising: Launch a Campaign That Really Works
 
UX & Wireframes Know Your Weapon of Choice
UX & Wireframes Know Your Weapon of ChoiceUX & Wireframes Know Your Weapon of Choice
UX & Wireframes Know Your Weapon of Choice
 
Content 101: How to Create Content People Actually Care About
Content 101: How to Create Content People Actually Care About Content 101: How to Create Content People Actually Care About
Content 101: How to Create Content People Actually Care About
 
Ramping Up: B2C Acquisition Marketing for Start-Ups
Ramping Up: B2C Acquisition Marketing for Start-UpsRamping Up: B2C Acquisition Marketing for Start-Ups
Ramping Up: B2C Acquisition Marketing for Start-Ups
 
Email Strategy, Design and User Experience: Keys to Success
Email Strategy, Design and User Experience: Keys to SuccessEmail Strategy, Design and User Experience: Keys to Success
Email Strategy, Design and User Experience: Keys to Success
 

Kürzlich hochgeladen

Escorts Service Basapura ☎ 7737669865☎ Book Your One night Stand (Bangalore)
Escorts Service Basapura ☎ 7737669865☎ Book Your One night Stand (Bangalore)Escorts Service Basapura ☎ 7737669865☎ Book Your One night Stand (Bangalore)
Escorts Service Basapura ☎ 7737669865☎ Book Your One night Stand (Bangalore)amitlee9823
 
infant assessment fdbbdbdddinal ppt.pptx
infant assessment fdbbdbdddinal ppt.pptxinfant assessment fdbbdbdddinal ppt.pptx
infant assessment fdbbdbdddinal ppt.pptxsuhanimunjal27
 
call girls in Kaushambi (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝...
call girls in Kaushambi (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝...call girls in Kaushambi (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝...
call girls in Kaushambi (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝...Delhi Call girls
 
CALL ON ➥8923113531 🔝Call Girls Aminabad Lucknow best Night Fun service
CALL ON ➥8923113531 🔝Call Girls Aminabad Lucknow best Night Fun serviceCALL ON ➥8923113531 🔝Call Girls Aminabad Lucknow best Night Fun service
CALL ON ➥8923113531 🔝Call Girls Aminabad Lucknow best Night Fun serviceanilsa9823
 
call girls in Vasundhra (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝...
call girls in Vasundhra (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝...call girls in Vasundhra (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝...
call girls in Vasundhra (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝...Delhi Call girls
 
Booking open Available Pune Call Girls Kirkatwadi 6297143586 Call Hot Indian...
Booking open Available Pune Call Girls Kirkatwadi  6297143586 Call Hot Indian...Booking open Available Pune Call Girls Kirkatwadi  6297143586 Call Hot Indian...
Booking open Available Pune Call Girls Kirkatwadi 6297143586 Call Hot Indian...Call Girls in Nagpur High Profile
 
Top Rated Pune Call Girls Koregaon Park ⟟ 6297143586 ⟟ Call Me For Genuine S...
Top Rated  Pune Call Girls Koregaon Park ⟟ 6297143586 ⟟ Call Me For Genuine S...Top Rated  Pune Call Girls Koregaon Park ⟟ 6297143586 ⟟ Call Me For Genuine S...
Top Rated Pune Call Girls Koregaon Park ⟟ 6297143586 ⟟ Call Me For Genuine S...Call Girls in Nagpur High Profile
 
RT Nagar Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Bang...
RT Nagar Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Bang...RT Nagar Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Bang...
RT Nagar Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Bang...amitlee9823
 
Peaches App development presentation deck
Peaches App development presentation deckPeaches App development presentation deck
Peaches App development presentation decktbatkhuu1
 
SD_The MATATAG Curriculum Training Design.pptx
SD_The MATATAG Curriculum Training Design.pptxSD_The MATATAG Curriculum Training Design.pptx
SD_The MATATAG Curriculum Training Design.pptxjanettecruzeiro1
 
Stark Industries Marketing Plan (1).pptx
Stark Industries Marketing Plan (1).pptxStark Industries Marketing Plan (1).pptx
Stark Industries Marketing Plan (1).pptxjeswinjees
 
VVIP CALL GIRLS Lucknow 💓 Lucknow < Renuka Sharma > 7877925207 Escorts Service
VVIP CALL GIRLS Lucknow 💓 Lucknow < Renuka Sharma > 7877925207 Escorts ServiceVVIP CALL GIRLS Lucknow 💓 Lucknow < Renuka Sharma > 7877925207 Escorts Service
VVIP CALL GIRLS Lucknow 💓 Lucknow < Renuka Sharma > 7877925207 Escorts Servicearoranaina404
 
AMBER GRAIN EMBROIDERY | Growing folklore elements | Root-based materials, w...
AMBER GRAIN EMBROIDERY | Growing folklore elements |  Root-based materials, w...AMBER GRAIN EMBROIDERY | Growing folklore elements |  Root-based materials, w...
AMBER GRAIN EMBROIDERY | Growing folklore elements | Root-based materials, w...BarusRa
 
Design Inspiration for College by Slidesgo.pptx
Design Inspiration for College by Slidesgo.pptxDesign Inspiration for College by Slidesgo.pptx
Design Inspiration for College by Slidesgo.pptxTusharBahuguna2
 
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756dollysharma2066
 
Call Girls Basavanagudi Just Call 👗 7737669865 👗 Top Class Call Girl Service ...
Call Girls Basavanagudi Just Call 👗 7737669865 👗 Top Class Call Girl Service ...Call Girls Basavanagudi Just Call 👗 7737669865 👗 Top Class Call Girl Service ...
Call Girls Basavanagudi Just Call 👗 7737669865 👗 Top Class Call Girl Service ...amitlee9823
 
Verified Trusted Call Girls Adugodi💘 9352852248 Good Looking standard Profil...
Verified Trusted Call Girls Adugodi💘 9352852248  Good Looking standard Profil...Verified Trusted Call Girls Adugodi💘 9352852248  Good Looking standard Profil...
Verified Trusted Call Girls Adugodi💘 9352852248 Good Looking standard Profil...kumaririma588
 
💫✅jodhpur 24×7 BEST GENUINE PERSON LOW PRICE CALL GIRL SERVICE FULL SATISFACT...
💫✅jodhpur 24×7 BEST GENUINE PERSON LOW PRICE CALL GIRL SERVICE FULL SATISFACT...💫✅jodhpur 24×7 BEST GENUINE PERSON LOW PRICE CALL GIRL SERVICE FULL SATISFACT...
💫✅jodhpur 24×7 BEST GENUINE PERSON LOW PRICE CALL GIRL SERVICE FULL SATISFACT...sonalitrivedi431
 
(AISHA) Ambegaon Khurd Call Girls Just Call 7001035870 [ Cash on Delivery ] P...
(AISHA) Ambegaon Khurd Call Girls Just Call 7001035870 [ Cash on Delivery ] P...(AISHA) Ambegaon Khurd Call Girls Just Call 7001035870 [ Cash on Delivery ] P...
(AISHA) Ambegaon Khurd Call Girls Just Call 7001035870 [ Cash on Delivery ] P...ranjana rawat
 

Kürzlich hochgeladen (20)

Escorts Service Basapura ☎ 7737669865☎ Book Your One night Stand (Bangalore)
Escorts Service Basapura ☎ 7737669865☎ Book Your One night Stand (Bangalore)Escorts Service Basapura ☎ 7737669865☎ Book Your One night Stand (Bangalore)
Escorts Service Basapura ☎ 7737669865☎ Book Your One night Stand (Bangalore)
 
infant assessment fdbbdbdddinal ppt.pptx
infant assessment fdbbdbdddinal ppt.pptxinfant assessment fdbbdbdddinal ppt.pptx
infant assessment fdbbdbdddinal ppt.pptx
 
call girls in Kaushambi (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝...
call girls in Kaushambi (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝...call girls in Kaushambi (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝...
call girls in Kaushambi (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝...
 
CALL ON ➥8923113531 🔝Call Girls Aminabad Lucknow best Night Fun service
CALL ON ➥8923113531 🔝Call Girls Aminabad Lucknow best Night Fun serviceCALL ON ➥8923113531 🔝Call Girls Aminabad Lucknow best Night Fun service
CALL ON ➥8923113531 🔝Call Girls Aminabad Lucknow best Night Fun service
 
call girls in Vasundhra (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝...
call girls in Vasundhra (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝...call girls in Vasundhra (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝...
call girls in Vasundhra (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝...
 
Booking open Available Pune Call Girls Kirkatwadi 6297143586 Call Hot Indian...
Booking open Available Pune Call Girls Kirkatwadi  6297143586 Call Hot Indian...Booking open Available Pune Call Girls Kirkatwadi  6297143586 Call Hot Indian...
Booking open Available Pune Call Girls Kirkatwadi 6297143586 Call Hot Indian...
 
Top Rated Pune Call Girls Koregaon Park ⟟ 6297143586 ⟟ Call Me For Genuine S...
Top Rated  Pune Call Girls Koregaon Park ⟟ 6297143586 ⟟ Call Me For Genuine S...Top Rated  Pune Call Girls Koregaon Park ⟟ 6297143586 ⟟ Call Me For Genuine S...
Top Rated Pune Call Girls Koregaon Park ⟟ 6297143586 ⟟ Call Me For Genuine S...
 
RT Nagar Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Bang...
RT Nagar Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Bang...RT Nagar Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Bang...
RT Nagar Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Bang...
 
Peaches App development presentation deck
Peaches App development presentation deckPeaches App development presentation deck
Peaches App development presentation deck
 
SD_The MATATAG Curriculum Training Design.pptx
SD_The MATATAG Curriculum Training Design.pptxSD_The MATATAG Curriculum Training Design.pptx
SD_The MATATAG Curriculum Training Design.pptx
 
Stark Industries Marketing Plan (1).pptx
Stark Industries Marketing Plan (1).pptxStark Industries Marketing Plan (1).pptx
Stark Industries Marketing Plan (1).pptx
 
young call girls in Pandav nagar 🔝 9953056974 🔝 Delhi escort Service
young call girls in Pandav nagar 🔝 9953056974 🔝 Delhi escort Serviceyoung call girls in Pandav nagar 🔝 9953056974 🔝 Delhi escort Service
young call girls in Pandav nagar 🔝 9953056974 🔝 Delhi escort Service
 
VVIP CALL GIRLS Lucknow 💓 Lucknow < Renuka Sharma > 7877925207 Escorts Service
VVIP CALL GIRLS Lucknow 💓 Lucknow < Renuka Sharma > 7877925207 Escorts ServiceVVIP CALL GIRLS Lucknow 💓 Lucknow < Renuka Sharma > 7877925207 Escorts Service
VVIP CALL GIRLS Lucknow 💓 Lucknow < Renuka Sharma > 7877925207 Escorts Service
 
AMBER GRAIN EMBROIDERY | Growing folklore elements | Root-based materials, w...
AMBER GRAIN EMBROIDERY | Growing folklore elements |  Root-based materials, w...AMBER GRAIN EMBROIDERY | Growing folklore elements |  Root-based materials, w...
AMBER GRAIN EMBROIDERY | Growing folklore elements | Root-based materials, w...
 
Design Inspiration for College by Slidesgo.pptx
Design Inspiration for College by Slidesgo.pptxDesign Inspiration for College by Slidesgo.pptx
Design Inspiration for College by Slidesgo.pptx
 
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
 
Call Girls Basavanagudi Just Call 👗 7737669865 👗 Top Class Call Girl Service ...
Call Girls Basavanagudi Just Call 👗 7737669865 👗 Top Class Call Girl Service ...Call Girls Basavanagudi Just Call 👗 7737669865 👗 Top Class Call Girl Service ...
Call Girls Basavanagudi Just Call 👗 7737669865 👗 Top Class Call Girl Service ...
 
Verified Trusted Call Girls Adugodi💘 9352852248 Good Looking standard Profil...
Verified Trusted Call Girls Adugodi💘 9352852248  Good Looking standard Profil...Verified Trusted Call Girls Adugodi💘 9352852248  Good Looking standard Profil...
Verified Trusted Call Girls Adugodi💘 9352852248 Good Looking standard Profil...
 
💫✅jodhpur 24×7 BEST GENUINE PERSON LOW PRICE CALL GIRL SERVICE FULL SATISFACT...
💫✅jodhpur 24×7 BEST GENUINE PERSON LOW PRICE CALL GIRL SERVICE FULL SATISFACT...💫✅jodhpur 24×7 BEST GENUINE PERSON LOW PRICE CALL GIRL SERVICE FULL SATISFACT...
💫✅jodhpur 24×7 BEST GENUINE PERSON LOW PRICE CALL GIRL SERVICE FULL SATISFACT...
 
(AISHA) Ambegaon Khurd Call Girls Just Call 7001035870 [ Cash on Delivery ] P...
(AISHA) Ambegaon Khurd Call Girls Just Call 7001035870 [ Cash on Delivery ] P...(AISHA) Ambegaon Khurd Call Girls Just Call 7001035870 [ Cash on Delivery ] P...
(AISHA) Ambegaon Khurd Call Girls Just Call 7001035870 [ Cash on Delivery ] P...
 

HTML / CSS: Getting to Know the Face of the Web

  • 1. presents HTML / CSS: Getting to Know the Face of the Web TOM BOATES @tomboates
  • 2. Good to know... • “standards” are rarely “standards” • No “right way” to do anything (though plenty of people will tell you otherwise) • Media/OS/Browser matters!
  • 3. What is HTML? • HyperText Markup Language • Originally built for structural layout • The lifeblood of the entire web
  • 4. <div> CONTENT </div> what HTML looks like CONTENT= “div” is imaginary box
  • 5. HTML Structure html head body meta title div div p ul ul img li li lili li li
  • 7. Block vs. Inline elements BLOCK elements have a natural width and height, and “stack” by default. DIV 1 DIV 2 DIV 3 INLINE elements don’t carry a width or height, and don’t displace elements around them. This is displaying how inline elements get rendered in HTML.
  • 8. <element attribute=”value”> html attributes Examples: <div id=”mainContent”> <div class=”black”>
  • 9. What is CSS? • Cascading StyleSheet • Supplement to HTML • Designed to manage styling and layout • Central place to manage styles across many HTML pages • Order of definitions very important • Linked, <head>, inline, user agent
  • 10. selector { property: value; property: value; } what CSS looks like div { width: 100px; padding: 5px; } EXAMPLE
  • 11. SELECTING NESTED elements CSS: div ul li span { ... } Is referencing these elements: <div> <ul> <li>This is a first <span>SPAN</span> element.</li> <li>This is a second <span>SPAN</span> element.</ li> <li>This is a third <span>SPAN</span> element.</li> </ul> </div>
  • 12. SELECTING with Attributes CSS: p#main span.bold.italic { ... } Is referencing this element: <p id=”main”> I am selecting <span class=”bold italic”>this text</span> </p> <p> I’m not selecting <span class=”bold italic”>this one</span>. </p> but not <span class=”bold”>this one</span>.
  • 13. hands on Making a landing page for this class
  • 14. Resources W3 Schools - Lists all HTML elements, what attributes they take and what values are available. Also lists all CSS selectors and options, and provides all properties and values. (http://www.w3schools.com/) CSS3 Generator - For the more advanced side of you, this tool provides an easy to understand form to generate the necessary CSS for the effect you’re trying to achieve (shadows, rounded corners, etc.). (http:// www.css3generator.com) HTML Emails Tips and Tricks - A collection of posts and articles on what’s up with HTML emails. (http:// www.1stwebdesigner.com/tutorials/ultimate-guide-html-emails/) 30 Best Practices for CSS - Good list of some of the things I taught as well as some others to keep in mind when writing your CSS. (http://net.tutsplus.com/tutorials/html-css-techniques/30-css-best-practices-for- beginners/) Wordpress.com - If you’re looking to create a website and have a simpler interface for managing your content than writing every line of HTML/CSS this is for you. Themes are available to completely skin your website and you can customize images and styles even more with the knowledge you learned here! (http:// www.wordpress.com) Google - Honestly almost all I learned I learned from a blog post someone wrote somewhere that I found after googling what I needed. The internet is FILLED with helpful information and often you can find a post or article explaining how to do what you’re trying to do. (http://www.google.com Check out these helpful resources for reference.