3.02D HTML Overview 3.02 Develop webpages.

Slides:



Advertisements
Similar presentations
3.02D HTML Overview 3.02 Develop webpages.
Advertisements

Learning HTML. > Title of page This is my first homepage. Tells Browser This is an HTML page Basic Tags Tells Browser End of HTML page Header information.
WeB application development
Website Design.
INTRODUCTION TO HYPERTEXT MARKUP LANGUAGE 1. Outline  Introduction  Markup Languages  Editing HTML  Common Tags  Headers  Text Styling  Linking.
Upgrading to XHTML DECO 3001 Tutorial 1 – Part 1 Presented by Ji Soo Yoon 19 February 2004 Slides adopted from
Introducing XHTML: Module B: HTML to XHTML. Goals Understand how XHTML evolved as a language for Web delivery Understand the importance of DTDs Understand.
Chapter 2 Introduction to HTML5 Internet & World Wide Web How to Program, 5/e Copyright © Pearson, Inc All Rights Reserved.
Introducing HTML & XHTML:. Goals  Understand hyperlinking  Understand how tags are formed and used.  Understand HTML as a markup language  Understand.
Computer Sciences Department
Basics of HTML Shashanka Rao. Learning Objectives 1. HTML Overview 2. Head, Body, Title and Meta Elements 3.Heading, Paragraph Elements and Special Characters.
 2008 Pearson Education, Inc. All rights reserved Introduction to XHTML.
Using HTML to Create a Basic Web Page… By Josh Gallagan.
CS 299 – Web Programming and Design Introduction to HTML.
4 HTML Basics 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.
HTML (HyperText Markup Language)
HTML INTRODUCTION, EDITORS, BASIC, ELEMENTS, ATTRIBUTES.
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.
1 CSC 121 Computers and Scientific Thinking David Reed Creighton University HTML and Web Pages.
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.
Introduction to HTML. What is a HTML File?  HTML stands for Hyper Text Markup Language  An HTML file is a text file containing small markup tags  The.
 2008 Pearson Education, Inc. All rights reserved Introduction to XHTML.
What is Markup and Markup Languages? What is HTML? A Basic HTML Document Basic HTML Tags Tag Attributes and Text Formatting Tags Insert Hyperlinks Add.
Introduction to HTML. Slide 1 Hard-Coding What is hard-coding? –Creating the page in a text editor just using HTML A Web designer should know how to hard-
1 Creating Web Pages Part 1. 2 OVERVIEW: HTML-What is it? HyperText Markup Language, the authoring language used to create documents on the World Wide.
HTML: Hyptertext Markup Language Doman’s Sections.
Lecture: Web Design Assis. Prof. Freshta Hanif Ehsan Faculty of Computer Science Kabul Polytechnic University Spring Semester
4 HTML Basics 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.
HTML Hyper Text Markup Language 1BFCET BATHINDA. Definitions Web server: a system on the internet containing one or more web site Web site: a collection.
HTML Basics. HTML Coding HTML Hypertext markup language The code used to create web pages.
1 Introduction to HTML. 2 Definitions  W W W – World Wide Web.  HTML – HyperText Markup Language – The Language of Web Pages on the World Wide Web.
Blended HTML and CSS Fundamentals 3 rd EDITION Tutorial 1 Using HTML to Create Web Pages.
HTML Structure & syntax
HTML Structure & syntax
Online PD Basic HTML The Magic Of Web Pages
Introduction to HTML.
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
XHTML/CSS Week 1.
Introduction to HTML.
3.00cs HTML Overview 3.00cs Develop webpages.
Chapter 1: Introduction to XHTML (part 1)
Introduction to XHTML.
Chapter 4 - Introduction to XHTML: Part 1
HTML Images CS 1150 Spring 2017.
HTML Vocabulary.
INP150: Basic HTML Instructor: Paul J. Millis
WEBSITE DESIGN Chp 1
Introducing HTML & XHTML:
Computers and Scientific Thinking David Reed, Creighton University
Creating a Web Page Using HTML
3.02D HTML Overview 3.02 Develop webpages.
Marking Up with XHTML Tags describe how a web page should look
Marking Up with XHTML Tags describe how a web page should look
Introduction to HTML- Basics
Intro to Web Development HTML Structure
Internet Technologies I - Lect.01 - Waleed Ibrahim Osman
HTML Images CS 1150 Fall 2016.
Introduction to HTML.
Understand basic HTML and CSS terminology, concepts, and basic operations. Objective 3.01.
Basic HTML Workshop.
Marking Up with XHTML Tags describe how a web page should look
Marking Up with XHTML Tags describe how a web page should look
AN INTRODUCTION BY FAITH BRENNER
HTML Structure & syntax
Lesson 2: HTML5 Coding.
4.02A HTML Overview 4.02 Develop web pages using various layouts and technologies. (Note to instructor: HTML tags are in red only to differentiate from.
Marking Up with XHTML Tags describe how a web page should look
Presentation transcript:

3.02D HTML Overview 3.02 Develop webpages. (Note to instructor: HTML tags are in red only to differentiate from regular text.)

HTML Tags Purpose of Tags: Define and describe text, graphics, hypertext links, and other multimedia elements found on webpages Tell the browser how to display the document. By viewing the source code of a webpage, the user can see the HTML tags used to display the page. To view a webpage’s source code: In the browser window, Click on the View menu and choose Source.

Using HTML Tags An HTML tag begins with a < character and ends with a > character. Between these characters is the actual tag name, such as body or head. <body> is an example of a correct tag. Tags should appear in pairs, with an opening tag <html> and a closing tag </html>. The only difference between the opening and closing tag is the / used in the closing tag. Teacher Note: Exceptions – some tags are empty tags, meaning they do not have a closing tag, they only have an opening tag.

Using HTML Tags Text entered between the HTML tags is formatted with the code specified by those tags. Example: <h1>Welcome to my website!</h1> The browser will turn on formatting at heading level 1 to display the text and then turn it off at the end of that text. Note the source code showing the 6 levels of the heading tag.

HTML vs. XHTML W3C created XHTML as an extended version of HTML. XHTML requires some modification of the old HTML standard. All tags must be in lowercase. All tags must have a closing tag. All tags must be properly nested. The <html> tag must be the root tag for every document. While many old browsers can display “old” HTML, newer ones rely on the current standard. Remember, web pages are accessed from desktop computers, mobile phones and handheld devices—all using a variety of browser technologies! Teacher Note: Empty tags should be closed in the opening tag by placing a space and forward slash before the closing angle bracket. Example: <br /> Examples of empty tags: <br>, <hr>, <img>, <meta>

Nesting HTML Tags Nesting refers to the order in which tags are opened and closed. Enter the closing tags in the reverse order from the opening tags. Closing tags in a different order than they were opened may keep the browser from displaying the page as intended by the author.

Adding Attributes to Tags Attributes provide additional information about tags and control how the tag will be interpreted by the browser. Example: The anchor tag, <a>, defines an anchor that converts text or an image into a hyperlink. <a href=“http://www.unc.edu”>University of North Carolina</a> href is the attribute instructing the browser to set the text between the anchor tags as a hyperlink to the specified web address.

Rules for Using Attributes Attributes are entered inside the opening tag but not in the closing tag. Attributes are keyed in name/value pairs. Syntax: name=”value” The attribute should have an equal symbol followed by the value or setting for the attribute. Attribute values should be enclosed inside quotation marks.

Using Multiple Attributes Example: <img src=“image.gif” alt=“smiley face image” /> Space once between multiple attributes. The source attribute tells the browser where the image is located. The alt attribute instructs the browser to display alternative text if the image file will not load. For a comprehensive list of tags and attributes visit www.w3schools.com/html/html_reference.asp

Creating and Saving HTML Files Use any text editor to enter HTML code and create a web page. Save the file as an HTML file using .html as the extension. Many old browsers will display files with the .htm extension but the latest standard requires .html Launch a web browser and open the file to display the page. (Check the page out with several different browsers to see how each browser displays the HTML file.)