HTML Hyper Text Markup Language. What is HTML HTML stands for the Hyper Text Markup Language. HTML stands for the Hyper Text Markup Language. HTML is.

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 Basics Customizing your site using the basics of HTML.
1 Programming the Web: HTML Basics Computing Capilano College.
HTML popo.
Designing Websites Using HTML and FrontPage A Typical Webpage View Source A webpage is a text file containing instructions to tell a computer how the.
Internet Services and Web Authoring (CSET 226) Lecture # 5 HyperText Markup Language (HTML) 1.
HTML Creating Web pages. HTML Hyper Text Markup Language Not programming, but a markup language using tags to format text in Web browsers.
Chapter 4 Marking Up With Html: A Hypertext Markup Language Primer.
 2008 Pearson Education, Inc. All rights reserved. 1 Introduction to HTML.
Marking Up With Html: A Hypertext Markup Language Primer
Glencoe Digital Communication Tools Create a Web Page with HTML Chapter Contents Lesson 4.1Lesson 4.1 Get Started with HTML (85) Lesson 4.2Lesson 4.2 Format.
Web Design is a class created to nurture the minds of high school techies, and introduce those without prior knowledge to the field.
HTML Code. What we will cover Basic HTML Body Font Images Hyperlinks Tables Frames.
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.
HTML. Goals How to use the Komodo editor HTML coding and testing – List and Images – Tables and Links – At least 2 pages and navigation –
CS105 Introduction to Computer Concepts HTML
Presenting Information on WWW using HTML. Presenting Information on the Web with HTML How Web sites are organized and implemented A brief introduction.
Chapter 4 Fluency with Information Technology L. Snyder Marking Up With HTML: A Hypertext Markup Language Primer.
Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Fluency with Information Technology Third Edition by Lawrence Snyder Chapter.
Web Design HTML, Frontpage, DreamWeaver μέρος β ΠΡΥ019 - Πληροφορική Δρ.Βάσος Βασιλείου.
McGraw-Hill/Irwin © The McGraw-Hill Companies, All Rights Reserved TECHNOLOGY PLUG-IN T10 Creating Web pages Using HTML.
HTML HTML stands for "Hyper Text Mark-up Language“. Technically, HTML is not a programming language, but rather a markup language. Used to create web pages.
ITCS373: Internet Technology HTML
Dr. Nuha El-KhaliliInternet Programming ( ) HTML Hyper Text Markup Language The language of web pages Maintained by the W3C
Chapter 4: Hypertext Markup Language Primer TECH Prof. Jeff Cheng.
HTML Overview Part 4 – Tables 1. HTML Tables  Tables are defined with the tag pair.  A table is divided into rows with tag pairs. o tr stands for "table.
Understanding HTML Code
 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.
McGraw-Hill/Irwin Copyright © 2013 by The McGraw-Hill Companies, Inc. All rights reserved. Extended Learning Module F Building a Web Page with HTML.
1 CSC 121 Computers and Scientific Thinking David Reed Creighton University HTML and Web Pages.
Basic HTML Workshop By: Preeda Chunjongkolkul (Pete) Systems Librarian/Webmaster
Section 4.1 Format HTML tags Identify HTML guidelines Section 4.2 Organize Web site files and folder Use a text editor Use HTML tags and attributes Create.
CS105 INTRODUCTION TO COMPUTER CONCEPTS HTML Instructor: Cuong (Charlie) Pham.
1 John Magee 9 November 2012 CS120 Lecture 17: The World Wide Web and HTML Web Publishing.
HTML: Hyptertext Markup Language Doman’s Sections.
HTML (Hypertext Markup Language) – Class 3 Recap: HTML Special Characters (ex: ©). Including Images – using the tag. Lists – Ordered and Unordered.
4 Chapter Four Introduction to HTML. 4 Chapter Objectives Learn basic HTML commands Discover how to display graphic image objects in Web pages Create.
Chapter 2 Web Page Design Mr. Gironda. Elements of a Web Page These are things that most web pages use.
CSE 409 – Advanced Internet Technology 1 DISCUSSION OF BASIC HTML TAGS.
HTML (Hyper Text Markup Language) Lecture II. Review Writing HTML files for web pages – efficient compact – fundamental. Text files with htm extension.
HTML Basics. HTML Coding HTML Hypertext markup language The code used to create web pages.
1 Lecture 12 Lecture 12 Basic HTML ITEC 1000 “Introduction to Information Technology”
Spiderman ©Marvel Comics Creating Web Pages (part 1)
HTML CS 105. Page Structure HTML elements control the details of how a page gets displayed. Every HTML document has the following basic structure: … …
What is HTML? HTML is a language for describing web pages. HTML stands for Hyper Text Markup Language HTML is not a programming language, it is a markup.
Writing Your Own Web Page: Using HTML and FrontPage Chapter 10.
REEM ALMOTIRI Information Technology Department Majmaah University.
Department of Computer Science, Florida State University CGS 3066: Web Programming and Design Spring
LINKING WEBPAGES USING HTML HYPERLINKS. Hyperlinks are text strings or images on a webpage which when clicked on, links to another section in the same.
`. Lecture Overview HTML Body Elements Linking techniques HyperText references Linking images Linking to locations on a page Linking to a fragment on.
1 HTML. 2 Full forms WWW – world Wide Web HTTP – Hyper Text Transfer Protocol HTML – Hyper Text Markup Language.
1 Foundation of HTML Web Page Design. 2 Safe Web Fonts: Used by most computers regardless of environment or platform  Times New Roman  Arial  Courier.
Chapter 4 HTML Tags. HTML is written in something called tags. Tags come in pairs, an opening one and a closing one. The first pair of tags we'll write.
HTML AN INTRODUCTION TO WEB PAGE PROGRAMMING. INTRODUCTION TO HTML With HTML you can create your own Web site. HTML stands for Hyper Text Markup Language.
Introduction to Computer CC111 Week 11 Introduction To HTML 1.
HTML Basics.
Section 4.1 Section 4.2 Format HTML tags Identify HTML guidelines
Marking Up with XHTML Tags describe how a web page should look
Introduction to XHTML.
COMPUTING FUNDAMENTALS
Computers and Scientific Thinking David Reed, Creighton University
Web Design and Development
Marking Up with XHTML Tags describe how a web page should look
Marking Up with XHTML Tags describe how a web page should look
If You Know Nothing About HTML, This is Where You Start.
Introduction to HTML.
Marking Up with XHTML Tags describe how a web page should look
Basic HTML.
Marking Up with XHTML Tags describe how a web page should look
Marking Up with XHTML Tags describe how a web page should look
Presentation transcript:

HTML Hyper Text Markup Language

What is HTML HTML stands for the Hyper Text Markup Language. HTML stands for the Hyper Text Markup Language. HTML is the major language of the Internet's World Wide Web. HTML is the major language of the Internet's World Wide Web. Web sites and web pages are written in HTML. Web sites and web pages are written in HTML.

What is HTML cont… With HTML and the world wide web, you have the ability to bring together text, pictures, sounds, and links... all in one place! With HTML and the world wide web, you have the ability to bring together text, pictures, sounds, and links... all in one place! HTML files are plain text files, so they can be composed and edited on any type of computer... Windows, Mac, UNIX, whatever. HTML files are plain text files, so they can be composed and edited on any type of computer... Windows, Mac, UNIX, whatever.

HTML Code Intro. HTML is composed of tags. HTML is composed of tags. HTML tags are always enclosed in angle-brackets ( ) and are case- insensitive; that is, it doesn't matter whether you type them in upper or lower case. HTML tags are always enclosed in angle-brackets ( ) and are case- insensitive; that is, it doesn't matter whether you type them in upper or lower case. Tags typically occur in begin-end pairs. These pairs are in the form Tags typically occur in begin-end pairs. These pairs are in the form......

Terms Content Content The actual 'meat' of a document -- all of the words, images, and links which a user can read and interact with. We use this term to mean "whatever you put in the document." The actual 'meat' of a document -- all of the words, images, and links which a user can read and interact with. We use this term to mean "whatever you put in the document." Hyperlink Hyperlink A link from one document to another, or to any resource, or within a document. The default is usually blue, underlined text for unviewed links. However, you may choose the colour for active, viewed and unviewed links. A link from one document to another, or to any resource, or within a document. The default is usually blue, underlined text for unviewed links. However, you may choose the colour for active, viewed and unviewed links.

Terms cont… In-line "in-line" refers to the placement of resources where they are placed one after the other directly into a document. "in-line" refers to the placement of resources where they are placed one after the other directly into a document.URL The Uniform Resource Locator is a "standard" way of expressing the location and data type of a resource. URLs in general take the form "protocol://address“ – the protocol maybe an HTTP, FTP or telnet site …and so on. The address is merely the server and pathname (if any) of a given resource or page. The Uniform Resource Locator is a "standard" way of expressing the location and data type of a resource. URLs in general take the form "protocol://address“ – the protocol maybe an HTTP, FTP or telnet site …and so on. The address is merely the server and pathname (if any) of a given resource or page.

TAGS HTML HTML The first and last tags in a document should always be the HTML tags. These are the tags that tell a Web browser where the HTML in your document begins and ends. The absolute most basic of all possible Web documents is: The first and last tags in a document should always be the HTML tags. These are the tags that tell a Web browser where the HTML in your document begins and ends. The absolute most basic of all possible Web documents is:

TAGS Cont… TITLE TITLE This container is placed after the opening HTML tag. Between the TITLE tags, you should have the title of your document. This will appear at the top of the browser's title bar, and also appears in the history list. This container is placed after the opening HTML tag. Between the TITLE tags, you should have the title of your document. This will appear at the top of the browser's title bar, and also appears in the history list.

TAGS Cont… BODY BODY BODY comes after the TITLE tag. Between the BODY tags, you find the content that is displayed in the browser window. All of the text, the graphics, and links, and so on -- these things occur between the BODY tags. BODY comes after the TITLE tag. Between the BODY tags, you find the content that is displayed in the browser window. All of the text, the graphics, and links, and so on -- these things occur between the BODY tags.

HTML Strucuture <HTML> Document Title Document Title Insert Text, Graphics and.. here Insert Text, Graphics and.. here </HTML>

HTML Structure Cont…

TAG ATTRIBUTES With HTML, the web developer has the ability to change the appearance and ‘look-and feel’ of certain tags. With HTML, the web developer has the ability to change the appearance and ‘look-and feel’ of certain tags. For example, with the BODY tag, one may modify the background colour or place an image as the background. For example, with the BODY tag, one may modify the background colour or place an image as the background. The modification to these attributes are placed after the actual tag and within the brackets. The modification to these attributes are placed after the actual tag and within the brackets.

BODY ATTRIBUTES The attributes in the BODY tag allow you to control the overall appearance of the document by specifying a background color or background image (BGCOLOR, BACKGROUND), and the color of text, links, visited and activated links. The attributes in the BODY tag allow you to control the overall appearance of the document by specifying a background color or background image (BGCOLOR, BACKGROUND), and the color of text, links, visited and activated links.

TAG ATTRIBUTES CONT… The structure of the attribute is as follows. The structure of the attribute is as follows. Note: The attribute change is placed in quotes and an equal sign is placed between the attribute and the value to change

TAG ATTRIBUTES CONT… Example 1. To change the colour of the background Example 1. To change the colour of the background Note: You can change more than one attribute per tag.

P Tag The tag defines a paragraph Ex. Insert Text Ex. Insert Text Align attribute specifies the alignment of the text within the paragraph.

FONT Formatting TEXT - Bolding TEXT - Bolding TEXT - Italics TEXT - Italics TEXT - Underline TEXT - Underline Hello World! Hello World!

LINK COLOURS Link Colour Link Colour Active Link Active Link Visited Link Visited Link

ALIGNMENT OF TEXT and OBJECTS To Centre To Centre

INSERTING IMAGES HTML and Webpages work with the following image types: HTML and Webpages work with the following image types: JPG JPG GIF GIF PNG PNG

INSERTING IMAGES In HTML, images are defined with the tag. To correctly insert an image we need to also specify the source. In HTML, images are defined with the tag. To correctly insert an image we need to also specify the source. The source can be a file specified on the same webserver and folder The source can be a file specified on the same webserver and folder Ex: Ex: The source may also point to an URL that contains the specified address of the image The source may also point to an URL that contains the specified address of the image Ex:

IMAGE ATTRIBUTES ALT ALT The ALT attribute provides specific text to display when the image is not available. The ALT attribute provides specific text to display when the image is not available. It is also useful to visually impaired users who can not see the image but can obtain a verbal description of that image. It is also useful to visually impaired users who can not see the image but can obtain a verbal description of that image. Ex: Ex:

IMAGE ATTRIBUTES WIDTH AND HEIGHT WIDTH AND HEIGHT In HTML, we can adjust the absolute and relative size of an image. Absolute is provided in pixels while relative is provided in percentages.

IMAGE ATTRIBUTES WIDTH AND HEIGHT WIDTH AND HEIGHT Ex 1. Ex 1. In this example the width is set to 20 pixels and the height 30 pixels. Ex 2. Ex 2. In this example, the width and height are both set to 50% of the original size of the image.

ANCHOR TAG (LINKS) Hyperlinks, are active text or images that when clicked on bring the web browser to a new page or item. Hyperlinks, are active text or images that when clicked on bring the web browser to a new page or item. HTML uses the anchor tag to create hyperlinks. HTML uses the anchor tag to create hyperlinks. An anchor can point to any resource on the web; another webpage, an image, an URL or a sound or movie clip. An anchor can point to any resource on the web; another webpage, an image, an URL or a sound or movie clip.

ANCHOR TAG (LINKS) Ex 1: Click Here! Ex 1: Click Here! In this example, when the user clicks on the words ‘Click Here’ the web browser will open a webpage called page2.html

ANCHOR TAG (LINKS) Ex 2: Click to go! Ex 2: Click to go! In this example, when the user clicks on the words ‘Click to go!’ the web browser go to the site

ANCHOR TAG ATTRIBUTES One popular attribute with the tag is the target, which specifies where the link will open – a new or current browser window. Current window is the default One popular attribute with the tag is the target, which specifies where the link will open – a new or current browser window. Current window is the default Ex. Click to go! Ex. Click to go! In the example above, the google website will be opened in a new window.

ANCHOR TAG - Mailto Ex 3. Me Me In this example, when the user clicks on the words Me the web browser will open the default program with an addressed to

LISTS HTML can provide web developers with an ordered list (numbered) an unordered list (bulleted) or a definition list (tabbed and un-bulleted). HTML can provide web developers with an ordered list (numbered) an unordered list (bulleted) or a definition list (tabbed and un-bulleted). Lists are useful when arranging text so that it appears neat and clean. Lists are useful when arranging text so that it appears neat and clean. Ordered List tag Ordered List tag Unordered List tag Unordered List tag Definition List tag Definition List tag

ORDERED LISTS <ol><li>Car</li><li>Bus</li></ol> The example above will appear: 1. Car 2. Bus

UNORDERED LISTS <ul> Sault Ste. Marie Sault Ste. Marie <li>Sudbury</li></ul> The example above will appear: Sault Ste. Marie Sault Ste. Marie Sudbury Sudbury

DEFINITION LIST <dl><dt>Canada</dt><dd>Ontario</dd><dd>Quebec</dd></dl> The example above will appear: CanadaOntarioQuebec

TABLE Tables in HTML Code, can be as a traditional table to place text and graphics like a spreadsheet. Tables in HTML Code, can be as a traditional table to place text and graphics like a spreadsheet. But the power of a table is to use it as a container to arrange all of your contents with one or several tables But the power of a table is to use it as a container to arrange all of your contents with one or several tables The entire web page can be coded within one or several tables! The entire web page can be coded within one or several tables!

TABLES CONT… Tables use three basic tags, which all tables must have: Tables use three basic tags, which all tables must have: (Table Create) creates the table. (Table Create) creates the table. Most of the overall properties of the table are defined here, such as if it has borders and what is the table's background color. Most of the overall properties of the table are defined here, such as if it has borders and what is the table's background color. (Table Row) defines each row within a table. (Table Row) defines each row within a table. (Table Data) defines each cell within a row. (Table Data) defines each cell within a row.

TABLES CONT… (Ex 1.) Jane 19 Jane 19 John 18 John 18 Anne 16 Anne 16 Bob 17 Bob 17

TABLES CONT… (Ex 1.) This is what the example will look like! This is what the example will look like!

TABLES CONT… CELLPADDING and CELLSPACING By default, table cells tend to be squeezed close to each other. To give your table cells a little more breathing room, use CELLPADDING and CELLSPACING. CELLSPACING controls the space between table cells. Although there is no official default, browsers usually use a default of 2.

TABLE CONT… COLSPAN and ROWSPAN Table cells can span across more than one column or row. The attributes COLSPAN ("how many across") and ROWSPAN ("how many down") indicate how many columns or rows a cell should take up.

TABLES CONT… To add headings, you add the tag, which stands for Table Heading. The code is: To add headings, you add the tag, which stands for Table Heading. The code is: Production

TABLES CONT… Example of Colspan Example of Colspan Production Ray 1493 Sal 3829 Mel 0283 Sales Hal 4827 Kel 7246 Dan 5689

WHERE TO FIND MORE TAGS