HTML.

Slides:



Advertisements
Similar presentations
Introduction to Web Design Lecture number:. Todays Aim: Introduction to Web-designing and how its done. Modelling websites in HTML.
Advertisements

HTML popo.
Introduction to HTML & CSS
Internet Services and Web Authoring (CSET 226) Lecture # 5 HyperText Markup Language (HTML) 1.
CSS The basics { }. CSS Cascading Style Sheets - language used to – describe html appearance & formatting Style Sheet - file that describes – how html.
HTML Minute University Richard Fisher 10/1/2001 HTML FSA Training2 HTML Overview  HTML  HyperText Markup Language.
MASTERY OBJECTIVE: Learn parts of an html document Learn basic html tags HTML-An Introduction.
Hypertext Markup Language. Platform: - Independent  This means it can be interpreted on any computer regardless of the hardware or operating system.
HTML and Web Page Design Presented by Frank H. Osborne, Ph. D. © 2005 ID 2950 Technology and the Young Child.
COMP101 – Exploring Multimedia and Internet Computing LA2 (Thur 14:00 – 16:50) TA: Jackie Lo.
CM143 - Web Week 2 Basic HTML. Links and Image Tags.
HTML Basics An Introduction to HTML. What is HTML? Stands for “Hyper Text Markup Language” Composed of “tags” which are surrounded by sideways triangles.
HTMLMR.Mostafa badr1. Lesson 3 HTML Tags Lesson 2 Creating a HTML File Lesson 1: Hyper Text Markup Language (HTML) Basics Get Trained for a Better Future.
Designing Web Pages Getting to know HTML... What is HTML? Hyper Text Markup Language HTML is the major language of the Internet’s World Wide Web. Web.
Tags through Forms. This element is required for all HTML pages It must be at the top of every page of every website We’ll see later on why it is important.
Basics of HTML.
Introduction to HTML. Topics HTML –What is HTML –Parts of an HTML Document –HTML Tags.
Define html document byusing Example : Title of the document The content of the document......
McGraw-Hill/Irwin © The McGraw-Hill Companies, All Rights Reserved TECHNOLOGY PLUG-IN T10 Creating Web pages Using HTML.
THE BACKBONE OF EVERY WEB PAGE HTML Day 1. What will we learn? How to create a basic web page Backgrounds and colors How to link Web sites How to include.
Learning HTML. HTML Attributes HTML elements can have attributes Attributes provide additional information about an element Class – specifies a class.
 HTML stands for Hyper Text Mark-up Language. The coding language used to create documents for the World Wide Web  HTML is composed of tags. HTML tags.
Web Pages: Creating & Maintaining Body Tags. There have been several versions of HTML since its inception. VersionYear HTML1991 HTML HTML
HTML. WHAT IS HTML HTML stands for Hyper Text Markup Language HTML is not a programming language, it is a markup language A markup language is a set of.
More Basic HTML. Add spacing (single & double space) Save Refresh Add horizontal rule Add comments Add styles Add headings Add features Add alignments.
Html Basic Codes Week Two. Start Your Text Editor Windows use 'Notepad’ Macintosh use 'Simple Text'
Lesson 2 Adding more content to your web page. Thanks to Richard Hudnutt, Luella HS.
Exploring the Digital Domain HTML Basics. HTML Hypertext Markup Language Standard (ASCII) text with embedded format codes Most HTML tags are paired Tags.
By Brieya. What is HTML Hypertext Markup Language, a standardized system for tagging text files to achieve font, colour, graphic, and hyperlink effects.
Introduction to HTML 1 Basharat Mahmood, Department of Computer Science, CIIT, Islamabad, Pakistan.
Basic HTML PowerPoint How Hyper Text Markup Language Works
Creating Webpage Using HTML
HTML: Hyptertext Markup Language Doman’s Sections.
Introduction HTML (Hypertext Markup Language) is used to create document on the World Wide Web. HTML is not a programming language, it is a markup language.
Introduction to HTML Xiangming Mu 9/23/ Learning Objectives Understand basic HTML tags and their attributes Learn to create a simple HTML page.
Introduction to HTML. HTML Introduction HTML – Hypertext Markup Language are the instructions that tell a browser how to lay out the information (text,
HTML Lesson 2. Review Questions  What are HTML tags used for?  What do HTML tags look like?  What are the 3 required HTML tags?  In what section of.
Colors & Fonts Building a Website Lesson 7. Font Font The tag specifies the font face, font size, and color of text. The tag can have any or all of these.
HTML GUIDE Press F5 and then Click on the links on the left to get to the section you want Section 1: Getting Started Section 2: Moving Banner Section.
Cascading Style Sheets Creating a Uniform Site. Style Sheets  Style sheets are used for conformity on a web page or web site.  Style sheets eliminate.
HTML. Hyper Text Markup Language Markup your text document The markup is the tag Hyper text means you can jump from place to place.
Quick Questions 1. What does HTML stand for? 2. What are the three main languages of the Web? 3. What is the purpose of the tags? 4. Why do we indent different.
DYNAMIC HTML What is Dynamic HTML: HTML code that allow you to change/ specify the style of your web pages. Example: specify style sheet, object model.
Body and Heading Tags and their Attributes. Attribute Name DefinitionValues backgroundIndicates the background image of the Web page. Ex. Filename(path.
HTML BASICS Why can we see images and text, hear sounds, and view video files on the Web? The browser and a language called HTML are largely responsible.
Are You Smarter Than a 5 th Grader? 1,000,000 5th Grade HTML 5th Grade Syntax 4th Grade HTML 4th Grade Syntax 3rd Grade HTML 3rd Grade Syntax 2nd Grade.
HTML Basics. HTML Coding HTML Hypertext markup language The code used to create web pages.
Spiderman ©Marvel Comics Creating Web Pages (part 1)
External Style Sheets Exploring Computer Science – Lesson 3-6.
HTML Basic Structure. Page Title My First Heading My first paragraph.
HTML. INDEX Introduction to HTML Creating Web Pages Commands And Tags Web Page.
Project 02 Creating and Editing a Web Page Concept Map of Unit Creating and Editing a Web Page Key Learning Understand the elements to create a web page.
Basic HTML Page 1. First Open Windows Notepad to type your HTML code 2.
HTML And the Internet. HTML and the Internet ► HTML: HyperText Markup Language  Language in which all pages on the web are written  Not Really a Programming.
Basic Web Publishing M. Scott Gartner 7/15/98.
Source of website: “Text/css rel=“styles heet” This is an external style sheet link. This means that the.
Prepared by Sana Maqbool. Objectives After completing this lesson, the you will be able to… Understand about web authoring Name and explain the uses of.
External Style Sheets.
Web Basics: HTML/CSS/JavaScript What are they?
HTML Basics.
HTML – The COMPUTING UNLOCKED GUIDE
>> Introduction to CSS
Basic HTML PowerPoint How Hyper Text Markup Language Works
Website Design 3
Basic HTML PowerPoint How Hyper Text Markup Language Works
HTML HYPERTEXT MARKUP LANGUAGE.
HTML Structure.
Understand basic HTML and CSS terminology, concepts, and basic operations. Objective 3.01.
Common Page Design Elements
HTML – The COMPUTING UNLOCKED GUIDE
Presentation transcript:

HTML

HTML TAGS Every tag must have an opening bracket < and a closing bracket > The basic construction of an Beginning HTML TAG is this: <NAME ATTRIBUTE=VALUE> Ending tags begin with a forward slash. That's what makes them ending tags - </font>

Structure of an HTML Document <head> <title>MY WEBPAGE</title> </head> <body> This is my first web page ... </body> </HTML>

HTML DOCUMENTS An HTML Document is nothing more than a text document which has been given an .html extension on the end of the file name. My Web Page This page is about me. I was born . . .

HTML TAGS What gives a web page its sizzle are the HTML TAGS which are sprinkled throughout the document.  An HTML TAG looks like this: <FONT COLOR=RED> </font>

HTML TAGS Most HTML TAGS come in pairs, and effect any text placed between the opening and closing tag. <FONT COLOR=RED>This will be red </font> but this won't. This will be red but this won't.

THE HEAD SECTION The entire area between the opening and closing HEAD tags is considered the HEAD SECTION of an HTML document. There's a funny thing about the HEAD SECTION – nothing you put here will actually be visible on your web page. The HEAD SECTION generally contains the TITLE of the web page, META TAGS, sometime a STYLE SHEET and occasionally some javascript code.

THE TITLE TAG <head> <title>Welcome to Ponder Independent School District</title </head> The text you place between the TITLE tags shows up in the Color Bar at the top of your screen.

THE TITLE TAG Title

THE BODY SECTION This is the area between the two BODY tags, and will contain all of your text, images, graphics, sounds – and even a link to Uncle Otto's homepage if you like. The entire page must be encompassed by a pair of HTML tags. <body> </body>

A HEADING TAG A Heading Tag looks like this: <H1>My Web Page</H1>

HEADING TAGS HEADING tags come in six unique sizes, ranging from <H1> thru <H6> with 6 being the smallest: <H1>HTML LESSON</H1> <H2>HTML LESSON </H2> <H3>HTML LESSON </H3> <H4>HTML LESSON </H4> <H5>HTML LESSON </H5>  <H6>HTML LESSON </H6>

HEADING TAG ATTRIBUTES The HEADING tag has 1 possible attribute. This is the ALIGN attribute. If you want your HEADING to show up in the middle of the page, you would do this: <H1 ALIGN=CENTER>Lesson 2</H1> If you want your HEADING to show up on the right side of the page, you would do this: <H1 ALIGN=RIGHT>Lesson 2</H1>

THE BODY TAG It controls the color of your background, text, link, and other elements. It also allows you to place an image as a background on your page. The body tag follows the </head> tag. <body background="url of image" bgcolor="???" text="???" link="???"

PARAGRAPH TAGS To set apart a block of text as a PARAGRAPH, you should place it between a pair of PARAGRAPH tags. PARAGRAPH tags look like this: <P> </P> Any text placed between the opening and closing PARAGRAPH tags will be set apart as a paragraph, with a blank line above it and a blank line below it.

My text becomes a centered paragraph PARAGRAPH CENTER TAG <P ALIGN=CENTER>My text becomes a centered paragraph </P> My text becomes a centered paragraph

BREAK TAG <BR> Notice that the BREAK tag does not have a closing tag. Place this tag wherever you want a line break. The text which immediately follows will jump down to the next line.

This is bold but this is not BOLD TAG To make your text appear heavier, use the BOLD tag: <BOLD>This is bold </BOLD>but this is not This is bold but this is not

EMPHASIS TAG To add some emphasis (Italics) to a text, Simply enclose it in EMPHASIS tags: <EM>This is emphasized </EM>but this is not This is emphasized but this is not

FONT TAG The FONT tag will alter 3 different features of the text placed between the opening and closing tags. These are the:   Font Size Font Color Font Face

FONT SIZE In order for the FONT tags to control the size of text placed between them, you must use a SIZE attribute in the FONT tag itself.   Do so like this:   <FONT size=3>Text to be effected here </FONT>

FONT TAG <font size="1">font size 1 </font>

FONT COLOR Specifying font color is the same as specifying font size. The only difference is that you will use a COLOR attribute in your FONT tag: <FONT COLOR=RED>Text to be effected here </FONT> You can use the proper name for most of the basic colors in your COLOR attribute. Red, Blue, Green, Yellow, Black, etc. are all okay. But, if you want to use a funky color, like chilipepper magenta, you can't use the proper name, you'll have to use a HEXADECIMAL COLOR CODE.

HEXADECIMAL COLOR CODE Hexadecimal Color Codes are 6 digit codes which are used to express the amount of red, blue and green in any given color. Here are the Hex Codes for some of the more common colors: #000000 BLACK #FFFFFF WHITE #FF0000 RED #00FF00 GREEN #0000FF BLUE

MARQUEE TAG A Marquee is scrolling text across a page. It is eye-catching, but not supported by all browsers. (Works in MSIE – not Netscape) <marquee>This is the code for Marquee.</marquee> This is the code for Marquee. This is the code for Marquee. This is the code for Marquee. This is the code for Marquee. This is the code for Marquee. This is the code for Marquee. This is the code for Marquee.

MARQUEE TAG To vary the background color of the marquee Add BGCOLOR="color name or code" to the MARQUEE tag <MARQUEE BGCOLOR="aqua">Your scrolling text goes here</MARQUEE> This is the code for Marquee. This is the code for Marquee. This is the code for Marquee. This is the code for Marquee. This is the code for Marquee. This is the code for Marquee. This is the code for Marquee.

HYPERLINKS One of the most dramatic differences between HTML and any other information medium is the ability to place a link to another document. Hyperlinks are built using an opening and closing ANCHOR tag. Everything placed between these tags becomes a HYPERLINK.

ANCHOR TAGS The anchor tag has an attribute called HREF. The HTML for a hyperlink looks like this: To find a web host <A HREF="http://all-hosts.com"> Click Here </A> To find a web host Click Here

IMAGE TAGS For an IMAGE to show up on your page, you need to place an HTML tag which will, basically, tell the browser to go to a location, grab the image, and display it on the webpage. <IMG SRC="http://scotiainn.com/front1.jpg"> Note, the IMG tag does not have a closing tag. In order for the tag to work, you must use the URL of a GIF or JPG.

POSITIONING IMAGES You can position the image horizontally by using the ALIGN attribute. <IMG SRC="http://www.ponderisd.net/lion.gif" align=right> Without an align attribute, the image will always default to the left.

POSITIONING IMAGES So, if you just put this: <IMG SRC="http://www.ponderisd.net/lion.gif"> You'll get this: The first line of text, following the IMAGE tag, begins even with the bottom, then continues on like normal.

USING IMAGES AS LINKS If you'd like your hot spot to be an image rather than text, do this instead: <A HREF="http://www.ponderisd.net"> <IMG SRC="http://www.ponderisd.net/lion.gif"> </A>

USING IMAGES AS LINKS That will give you this: To get rid of the border, place a BORDER=0 attribute in your IMAGE tag. <A HREF="http://www.ponderisd.net"> <IMG SRC="http://www.ponderisd.net/lion.gif"> BORDER=0 </A>

CENTERING IMAGES To center an Image, we must nest it between a pair of DIVISION tags which contain the ALIGN attribute. <DIV ALIGN="center"> <IMG SRC="http://scotiainn.com/front1.jpg"> </DIV>

Images for Background To use an image as a background for your page, you’ll place a BACKGROUND attribute in the body tag. <BODY BACKGROUND=“bg1.gif” The URL you use for the value of the BACKGROUND attribute must be a gif or jpg file, or it won’t work.

HORIZONTAL LINES Horizontal Ruled Lines are used to separate different areas of a web page. The tag for a horizontal ruled line is <hr>. The horizontal ruled line DOES NOT have a closing tag.

HORIZONTAL LINE EXAMPLES <hr width=50> <hr width=50%> <hr size=7> <hr noshade> You may also use several attributes within one tag... <hr width=50% size=10 color=red>

LISTS – Ordered (Numbered) ORDERED LIST pencils pens erasers paper glue HTML CODE <ol> <li>pencils <li>pens <li>erasers <li>paper <li>glue </ol>

LISTS – Unordered (Bullets) UNORDERED LIST pencils pens erasers paper glue HTML CODE <ul> <li>pencils <li>pens <li>erasers <li>paper <li>glue </ul>

What will appear in the browser? If your HTML Code Is ò What will appear in the browser? <UL> <LI> apples <LI> bananas <LI> grapefruit </UL> <OL> <LI> oranges <LI> peaches <LI> grapes </OL> apples bananas grapefruit oranges peaches grapes