107
lunch & learn HTML

HTML for Beginners

Embed Size (px)

DESCRIPTION

In this introduction to HTML we start at the very beginning by defining HTML, looking at tags and how we actually use them. We'll learn how to markup paragraphs, bold and italic text, headings, links, images and lists.

Citation preview

Page 1: HTML for Beginners

lunch & learnHTML

Page 2: HTML for Beginners

this is for youASK QUESTIONS

Page 3: HTML for Beginners

MarkupHypertext Language

Page 4: HTML for Beginners

Markup

Page 5: HTML for Beginners

contentDESCRIBES

html

Page 6: HTML for Beginners

fonts, colours & layoutCSS

Page 7: HTML for Beginners

TAGS

Page 8: HTML for Beginners

this is a<tag>

Page 9: HTML for Beginners

<tag>Hello!</tag>

Page 10: HTML for Beginners

<tag>Hello!</tag>

Opening Closing

Page 11: HTML for Beginners

<tag>not a real tag

Page 12: HTML for Beginners

<p>paragraph

Page 13: HTML for Beginners

It must have felt like the end of days for these beach goers when a cyclone pelting hailstones the size of golf balls tore onto the scene. Smartphone footage shows sunbathers on the shore of Ob River in Siberia fleeing for shelter as the storm erupts without warning.

Page 14: HTML for Beginners

<p>It must have felt like the end of days for these beach goers when a cyclone pelting hailstones the size of golf balls tore onto the scene. Smartphone footage shows sunbathers on the shore of Ob River in Siberia fleeing for shelter as the storm erupts without warning.</p>

Page 15: HTML for Beginners

<p>It must have felt like the end of days for these beach goers when a cyclone pelting hailstones the size of golf balls tore onto the scene. Smartphone footage shows sunbathers on the shore of Ob River in Siberia fleeing for shelter as the storm erupts without warning.</p>

Opening

Closing

Page 16: HTML for Beginners

RECAP

Page 17: HTML for Beginners

<b>bold

<i>italic

Page 18: HTML for Beginners

<p>It must have felt like the end of days for these beach goers when a cyclone pelting hailstones the size of golf balls tore onto the scene. Smartphone footage shows sunbathers on the shore of Ob River in Siberia fleeing for shelter as the storm erupts without warning.</p>

Page 19: HTML for Beginners

It must have felt like the end of days for these beach goers when a cyclone pelting hailstones the size of golf balls tore onto the scene. Smartphone footage shows sunbathers on the shore of Ob River in Siberia fleeing for shelter as the storm erupts without warning.

Page 20: HTML for Beginners

It must have felt like the end of days for these beach goers when a cyclone pelting hailstones the size of golf balls tore onto the scene. Smartphone footage shows sunbathers on the shore of Ob River in Siberia fleeing for shelter as the storm erupts without warning.

Page 21: HTML for Beginners

<p>It must have felt like the end of days for these beach goers when a cyclone pelting hailstones the size of <i>golf balls</i> tore onto the scene. Smartphone footage shows sunbathers on the shore of <b>Ob River in Siberia</b> fleeing for shelter as the storm erupts without warning.</p>

Page 22: HTML for Beginners

It must have felt like the end of days for these beach goers when a cyclone pelting hailstones the size of golf balls tore onto the scene. Smartphone footage shows sunbathers on the shore of Ob River in Siberia fleeing for shelter as the storm erupts without warning.

Page 23: HTML for Beginners

It must have felt like the end of days for these beach goers when a cyclone pelting hailstones the size of golf balls tore onto the scene. Smartphone footage shows sunbathers on the shore of Ob River in Siberia fleeing for shelter as the storm erupts without warning.

Page 24: HTML for Beginners

<p>It must have felt like the end of days for these beach goers when a cyclone pelting hailstones the size of <i><b>golf balls</b></i> tore onto the scene. Smartphone footage shows sunbathers on the shore of <b>Ob River in Siberia</b> fleeing for shelter as the storm erupts without warning.</p>

Page 25: HTML for Beginners

<p>It must have felt like the end of days for these beach goers when a cyclone pelting hailstones the size of <b><i>golf balls</i></b> tore onto the scene. Smartphone footage shows sunbathers on the shore of <b>Ob River in Siberia</b> fleeing for shelter as the storm erupts without warning.</p>

Page 26: HTML for Beginners

It must have felt like the end of days for these beach goers when a cyclone pelting hailstones the size of golf balls tore onto the scene. Smartphone footage shows sunbathers on the shore of Ob River in Siberia fleeing for shelter as the storm erupts without warning.

Page 27: HTML for Beginners

It must have felt like the end of days for these beach goers when a cyclone pelting hailstones the size of golf balls tore onto the scene. Smartphone footage shows sunbathers on the shore of Ob River in Siberia fleeing for shelter as the storm erupts without warning.

Page 28: HTML for Beginners

RECAP

Page 29: HTML for Beginners

<h1> <h2>headings

Page 30: HTML for Beginners

It must have felt like the end of days for these beach goers when a cyclone pelting hailstones the size of golf balls tore onto the scene. Smartphone footage shows sunbathers on the shore of Ob River in Siberia fleeing for shelter as the storm erupts without warning.

Freak Russian Hailstorm Clears Out The Beach

Page 31: HTML for Beginners

<p>It must have felt like the end of days for these beach goers when a cyclone pelting hailstones the size of <i>golf balls</i> tore onto the scene. Smartphone footage shows sunbathers on the shore of <b>Ob River in Siberia</b> fleeing for shelter as the storm erupts without warning.</p>

<h1>Freak Russian Hailstorm Clears Out The Beach</h1>

Page 32: HTML for Beginners

It must have felt like the end of days for these beach goers when a cyclone pelting hailstones the size of golf balls tore onto the scene. Smartphone footage shows sunbathers on the shore of Ob River in Siberia fleeing for shelter as the storm erupts without warning.

Freak Russian Hailstorm Clears Out The Beach

Sunbathers flee the shores

Page 33: HTML for Beginners

<p>It must have felt like the end of days for these beach goers when a cyclone pelting hailstones the size of <i>golf balls</i> tore onto the scene. Smartphone footage shows sunbathers on the shore of <b>Ob River in Siberia</b> fleeing for shelter as the storm erupts without warning.</p>

<h1>Freak Russian Hailstorm Clears Out The Beach</h1>

<h2>Sunbathers flee the shores</h2>

Page 34: HTML for Beginners

It must have felt like the end of days for these beach goers when a cyclone pelting hailstones the size of golf balls tore onto the scene. Smartphone footage shows sunbathers on the shore of Ob River in Siberia fleeing for shelter as the storm erupts without warning.

Freak Russian Hailstorm Clears Out The Beach

Sunbathers flee the shores

Page 35: HTML for Beginners

RECAP

Page 36: HTML for Beginners

<a>link

Page 37: HTML for Beginners

<a>Contact Us</a>

Page 38: HTML for Beginners

<a>Contact Us</a>needs more information

Page 39: HTML for Beginners

<a href=“”>Contact Us</a>

where should the link go?

Page 40: HTML for Beginners

<a href=“”>Contact Us</a>

attribute

Page 41: HTML for Beginners

<a href=“http://www.coastdigital.co.uk/contact-us”>Contact Us</a>

Page 42: HTML for Beginners

<a href=“http://www.coastdigital.co.uk/contact-us”>Contact Us</a>

Page 43: HTML for Beginners

<a href=“http://www.coastdigital.co.uk/contact-us”>Contact Us</a>

Page 44: HTML for Beginners

RECAP

Page 45: HTML for Beginners

<img>images

Page 46: HTML for Beginners

<tag>Hello!</tag>

Opening Closing

Page 47: HTML for Beginners

<img>Hello!</img>

we’re not describing text

Page 48: HTML for Beginners

<img/>self-closing tag

Page 49: HTML for Beginners

<img/>needs more information

Page 50: HTML for Beginners
Page 51: HTML for Beginners

<img src=“”/>

Page 52: HTML for Beginners

<img src=“”/>

attribute

Page 53: HTML for Beginners

breadcat.jpg

Page 54: HTML for Beginners

<img src=“”/>

Page 55: HTML for Beginners

<img src=“breadcat.jpg”/>

Page 56: HTML for Beginners

<img src=“breadcat.jpg”/>

Page 57: HTML for Beginners

<img src=“” width=“” height=“” alt=“”/>

Page 58: HTML for Beginners

<img src=“” width=“” height=“” alt=“”/>

Page 59: HTML for Beginners

<img src=“” width=“” height=“” alt=“”/>

Page 60: HTML for Beginners

640 x 480

Page 61: HTML for Beginners

640px

480px

Page 62: HTML for Beginners

<img src=“” width=“640” height=“480” alt=“”/>

Page 63: HTML for Beginners

<img src=“” width=“640” height=“480” alt=“”/>

screen readers and search engines

Page 64: HTML for Beginners

<img src=“” width=“640” height=“480” alt=“a cat wearing a bread accessory”/>

Page 65: HTML for Beginners

<img src=“breadcat.jpg” width=“640” height=“480” alt=“a cat wearing a bread accessory”/>

Page 66: HTML for Beginners

<img src=“breadcat.jpg” width=“640” height=“480” alt=“a cat wearing a bread accessory”/>

Page 67: HTML for Beginners

<img src=“breadcat.jpg” width=“640” height=“480” alt=“a cat wearing a bread accessory”/>

Page 68: HTML for Beginners

<img src=“breadcat.jpg” width=“640” height=“480” alt=“a cat wearing a bread accessory”/>

Page 69: HTML for Beginners

<img src=“breadcat.jpg” width=“640” height=“480” alt=“a cat wearing a bread accessory”/>

Page 70: HTML for Beginners

RECAP

Page 71: HTML for Beginners

<ul> <ol>bullet lists

Page 72: HTML for Beginners

<ul>unordered list

Page 73: HTML for Beginners

<ol>ordered list

Page 74: HTML for Beginners

recipe

Page 75: HTML for Beginners

<ul>

Page 76: HTML for Beginners

<ol>

Page 77: HTML for Beginners

<ol>

Page 78: HTML for Beginners

<ul> <ol>does changing the order change the meaning?

Page 79: HTML for Beginners

<li>list item

Page 80: HTML for Beginners

<li>bullet point

Page 81: HTML for Beginners

<li>Butter</li>

Page 82: HTML for Beginners

<ul></ul>

Page 83: HTML for Beginners

<ul> <li>Butter</li> </ul>

Page 84: HTML for Beginners

<ul> <li>Butter</li> </ul>

opening

closing

Page 85: HTML for Beginners

<ul> <li>Butter</li> </ul>

list starts

list ends

Page 86: HTML for Beginners

<ul> <li>Butter</li> </ul>

Page 87: HTML for Beginners

<ul> <li>Butter</li> <li>Eggs</li> <li>Flour</li> </ul>

Page 88: HTML for Beginners

<ul> <li>Butter</li> <li>Eggs</li> <li>Flour</li> </ul>

list starts

list ends

Page 89: HTML for Beginners

<ul> <li>Butter</li> <li>Eggs</li> <li>Flour</li> </ul>

bullet points

Page 90: HTML for Beginners

<ul> <li>Butter</li> <li>Eggs</li> <li>Flour</li> </ul>

Page 91: HTML for Beginners

<h1>Shopping List</h1> <ul> <li>Butter</li> <li>Eggs</li> <li>Flour</li> </ul>

Page 92: HTML for Beginners

Shopping List• Butter • Eggs • Flour

Page 93: HTML for Beginners

<ol></ol>

Page 94: HTML for Beginners

<ol> <li>Pre-heat oven</li> <li>Grease cake tins</li> <li>Mix dry ingredients</li> <li>Stir in eggs</li> <li>Pour mixture in tins</li> <li>Bake for 20 mins</li> </ol>

list starts

list ends

Page 95: HTML for Beginners

<ol> <li>Pre-heat oven</li> <li>Grease cake tins</li> <li>Mix dry ingredients</li> <li>Stir in eggs</li> <li>Pour mixture in tins</li> <li>Bake for 20 mins</li> </ol>

Page 96: HTML for Beginners

<h1>Baking Instructions</h1> <ol> <li>Pre-heat oven</li> <li>Grease cake tins</li> <li>Mix dry ingredients</li> <li>Stir in eggs</li> <li>Pour mixture in tins</li> <li>Bake for 20 mins</li> </ol>

Page 97: HTML for Beginners

Baking Instructions1. Pre-heat oven 2. Grease cake tins 3. Mix dry ingredients 4. Stir in eggs 5. Pour mixture in tins 6. Bake for 20 mins

Page 98: HTML for Beginners

RECAP

Page 99: HTML for Beginners

SUMMARY

Page 100: HTML for Beginners

this is a<tag>

Page 101: HTML for Beginners

<p>paragraph

Page 102: HTML for Beginners

<b>bold

<i>italic

Page 103: HTML for Beginners

<h1> <h2>headings

Page 104: HTML for Beginners

<a href=“”>link

Page 105: HTML for Beginners

<img src=“” width=“” height=“” alt=“”/>

images

Page 106: HTML for Beginners

<ul> <ol>lists

Page 107: HTML for Beginners

THANKSfor listeningplease fill in the survey