Top Banner
HTML – Basic Web Design By Mr. Mundy November 22, 2011
12

HTML – Basic Web Design

Feb 14, 2016

Download

Documents

rufus

HTML – Basic Web Design. By Mr. Mundy November 22, 2011. What is HTML?. Hyper Text Markup Language Uses m arkup tags. What is a markup tag?. A tag defines how we see text or media on a website A tag has brackets < or > before and after the words - PowerPoint PPT Presentation
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: HTML – Basic Web Design

HTML – Basic Web DesignBy Mr. Mundy

November 22, 2011

Page 2: HTML – Basic Web Design

What is HTML? Hyper

Text

Markup

Language

Uses markup tags

Page 3: HTML – Basic Web Design

What is a markup tag? A tag defines how we see text or media on a website

A tag has brackets < or > before and after the words

Usually, tags have opening <> and closing tags </>

Example, bold tags:

<b> </b>

<b> Elephant </b> will show up as Elephant

Page 4: HTML – Basic Web Design

WWWC – W3C - ? The World Wide Web Consortium

Professionals who say what you can or can’t do in HTML

Use lowercase letters in your tags

Page 5: HTML – Basic Web Design

How do we start? <html> </html> - describes the

webpage

<title> </title> - title of webpage (visible in bar at top of browser)

<body> </body> - the visible parts of the webpage

Nested tags – tags inside other tags

What order? (see example to right)

<html>

<title> Title of Website </title>

<body>

<p> Text of the body of the website. </p>

</body>

</html>

Page 6: HTML – Basic Web Design

What are some basic tags?

Page 7: HTML – Basic Web Design

Heading Tags <h1> </h1> - Heading 1, largest

<h2> </h2> - Heading 2, still large

Headings 3-5 , decreasingly smaller

<h6> </h6> - Heading 6, smallest heading

Put the text in between the tags:

<h1> Text </h2>

Heading 1Heading 2

Heading 3

Heading 4

Heading 5

Heading 6

Page 8: HTML – Basic Web Design

Paragraph, Line Break, and Horizontal Line Tags <p> </p> - Paragraph tags

<br /> - Line Break – no end tag, all inclusive!

<hr /> - Horizontal rule – no end tag, all inclusive!

This is a paragraph.

This is a paragraph.

This is a line break.

Below this paragraph is a horizontal rule.

______________________________

Page 9: HTML – Basic Web Design

Bold, Italics, and Underline Tags <b> </b> - bold tags

<i> </i> - italic tags

<u> </u> - underline tags (try not to use, it will look like a link!)

My text is bold.

My text is italicized.

My text is underline.

Page 10: HTML – Basic Web Design

Link Tags Use the <a> </a> tag

However, it’s not that easy! We need to define the links:

Link to another website: Will show as: Website<a href=“www.website.com”> Website </a>

Link to another place in your webpage: Will jump to that place.<a name=“jump”> Text you want to be able to jump to. </a><a href=“#jump”> Text of link </a> Will show as Text of link. When clicked, it will jump to where “Text you want to jump to.” is in your webpage.

Page 11: HTML – Basic Web Design

List Tags (Unordered and Ordered) <ul> </ul> - Unordered (bulleted) list

<ol> </ol> - Ordered (numbered) list

Both use <li> </li> for list items

<ul> <ol>

<li> Item a </li> <li> Item 1 </li>

<li> Item b </li> <li> Item 2 </li>

</ul> </ol>

Unordered List:

Item a

Item b

Item c

Ordered List:

1. Item 1

2. Item 2

Page 12: HTML – Basic Web Design