Creating a Web Page Using HTML

Slides:



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

Internet Services and Web Authoring (CSET 226) Lecture # 5 HyperText Markup Language (HTML) 1.
WeB application development
Website Design.
Teppo Räisänen LIIKE/OAMK 2010
INTRODUCTION TO HYPERTEXT MARKUP LANGUAGE 1. Outline  Introduction  Markup Languages  Editing HTML  Common Tags  Headers  Text Styling  Linking.
1 eVenzia Technologies Learning HTML, XHTML & CSS Chapter 1.
Upgrading to XHTML DECO 3001 Tutorial 1 – Part 1 Presented by Ji Soo Yoon 19 February 2004 Slides adopted from
Lecture 13. A Very Brief Introduction to HTML and XHTML, part II Instructor: Jie Yang Department of Computer Science University of Massachusetts Lowell.
Introducing HTML & XHTML:. Goals  Understand hyperlinking  Understand how tags are formed and used.  Understand HTML as a markup language  Understand.
Computer Sciences Department
Creating a Simple Page: HTML Overview
Using HTML to Create a Basic Web Page… By Josh Gallagan.
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.
Lesson 6 Links. Creating Folders  For every web site/page, you need to create a separate folder  The computer cannot find links if they are not stored.
HTML (HyperText Markup Language)
WEB DESIGN USING DREAMWEAVER. The World Wide Web –A Web site is a group of related files organized around a common topic –A Web page is a single file.
Agenda Links External and Internet Links Anchor Tag Text Hyperlinks Image Hyperlinks Images Image Attributes: src, alt, width, height, align, border.
Learning Web Design: Chapter 4. HTML  Hypertext Markup Language (HTML)  Uses tags to tell the browser the start and end of a certain kind of formatting.
ITEC 745 Instructional Web Authoring I Instructor: Ray Cole Week 8.
All Web pages are written with some form of HTML (HyperText Markup Language). HTML documents are saved as Text Only files so virtually any computer can.
HTML INTRODUCTION, EDITORS, BASIC, ELEMENTS, ATTRIBUTES.
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.
XP New Perspectives on The Internet, Sixth Edition— Comprehensive Tutorial 8 1 Creating Effective Web Pages Creating HTML Documents Tutorial 8.
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.
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.
XHTML1 Images N100 Building a Simple Web Page. XHTML2 The Element The src attribute specifies the filename of an image file To include the src attribute.
HTML Structure & syntax. Introduction This presentation introduces the following: Doctype declaration HTML Tags, Elements and Attributes Sections of a.
HTML: Hyptertext Markup Language Doman’s Sections.
Project 2 Web Page Design Creating and Editing a Web Page Pages
Lecture: Web Design Assis. Prof. Freshta Hanif Ehsan Faculty of Computer Science Kabul Polytechnic University Spring Semester
HTML Basics Computers. What is an HTML file? *HTML is a format that tells a computer how to display a web page. The documents themselves are plain text.
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.
Web Design Mr. Briggs’ Classes September 6-7, 2011.
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 (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.
Introduction lab1. Suzanne J. Sultan 2 What is HTML? The definition of HTML is Hyper Text Markup Language. HTML is a computer language devised to allow.
HTML. INDEX Introduction to HTML Creating Web Pages Commands And Tags Web Page.
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 Basics.
Section 4.1 Section 4.2 Format HTML tags Identify HTML guidelines
Essential Tags Web Design – Sec 3-3
Introduction to HTML.
3.00cs HTML Overview 3.00cs Develop webpages.
Essential Tags Web Design – Sec 3-3
Chapter 1: Introduction to XHTML (part 1)
Introduction to XHTML.
Chapter 4 - Introduction to XHTML: Part 1
HTML Images CS 1150 Spring 2017.
COMPUTING FUNDAMENTALS
WEBSITE DESIGN Chp 1
Computers and Scientific Thinking David Reed, Creighton University
3.02D HTML Overview 3.02 Develop webpages.
Basic HTML and Embed Codes
Introduction to HTML- Basics
HTML Images CS 1150 Fall 2016.
Introduction to HTML.
Basic HTML Workshop.
3.02D HTML Overview 3.02 Develop webpages.
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.
Hyperlinks, Images, Comments, and More…
Presentation transcript:

Creating a Web Page Using HTML 4.02 Develop web pages using various layouts and technologies. (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 WWW pages Mark- up documents Tell the browser how to display the document By viewing the source code of a web page, the user can see the HTML tags used to display the page.

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.

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. The new standard 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!

Nesting HTML Tags Nesting refers to sets of tags that are enclosed inside other sets of tags and refer to the same text or object. Example <center><h2><p>GIF files are popular for use on the World Wide Web. They contain up to 256 colors. They are used for cartoons, logos, graphics with transparent areas, and animations.</p></h2> </center> Enter the closing tags in the reverse order from the opening tags to achieve proper nesting. By closing the tags in a different order than they were opened, the browser may not be able to display the page as intended by the author.

Adding Attributes to Tags Attributes to tags specify additional preferences and program a specific value. 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.

Using Multiple Attributes Not all tags have multiple attributes. If a tag has an attribute or attributes available and no attribute is specified, the browser will use the default attribute for that tag. To make sure that pages are displayed as intended, always specify the intended attribute. Example <img src=“image.gif” alt=“smiley face image” /> In this example the image tag instructs the browser to display the graphic with the source attribute of image.gif. 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.)