New Perspectives on Creating Web Pages with HTML. Developing a Basic Web Page

Similar documents
Web Development. Owen Sacco. ICS2205/ICS2230 Web Intelligence

Contents. Downloading the Data Files Centering Page Elements... 6

CREATING WEB PAGES USING HTML INTRODUCTION

The Web Web page Links 16-3

Dreamweaver. Introduction to Editing Web Pages

Quick Guide to the Cascade Server Content Management System (CMS)

Module 6 Web Page Concept and Design: Getting a Web Page Up and Running

Lesson Review Answers

BLACKBOARD 9.1: Text Editor

Basic tutorial for Dreamweaver CS5

Getting Started with KompoZer

ebooks: Exporting EPUB files from Adobe InDesign

HTML, CSS, XML, and XSL

Web Design Basics. Cindy Royal, Ph.D. Associate Professor Texas State University

ADOBE DREAMWEAVER CS3 TUTORIAL

Microsoft Office 2010: Introductory Q&As PowerPoint Chapter 1

Dreamweaver CS4 Day 2 Creating a Website using Div Tags, CSS, and Templates

ICT 6012: Web Programming

Using Adobe Dreamweaver CS4 (10.0)

04 Links & Images. 1 The Anchor Tag. 1.1 Hyperlinks

QUESTION BANK COMPUTER SCIENCE. Class VIII LESSON-1 INTRODUCTION TO MS ACCESS

Mastering the JangoMail EditLive HTML Editor

CSE 3. Marking Up with HTML. Tags for Bold, Italic, and underline. Structuring Documents. An HTML Web Page File

Web Authoring. Module Descriptor

Saving work in the CMS Edit an existing page Create a new page Create a side bar section... 4

IAS Web Development using Dreamweaver CS4

Contents. Launching FrontPage Working with the FrontPage Interface... 3 View Options... 4 The Folders List... 5 The Page View Frame...

How To Use Dreamweaver With Your Computer Or Your Computer (Or Your Computer) Or Your Phone Or Tablet (Or A Computer)

Introduction to Web Technologies

Web Authoring CSS. Module Descriptor

HTML and CSS. Elliot Davies. April 10th,

Short notes on webpage programming languages

Introduction to XHTML. 2010, Robert K. Moniot 1

Website Development Komodo Editor and HTML Intro

Creating Accessible Word Documents

Essential HTML & CSS for WordPress. Mark Raymond Luminys, Inc mraymond@luminys.com

In this session, we will explain some of the basics of word processing. 1. Start Microsoft Word 11. Edit the Document cut & move

Web Developer Jr - Newbie Course

Going Above and Beyond

Overview of Microsoft Office Word 2007

Microsoft Expression Web Quickstart Guide

Your Own Web Page: Quick and Dirty

Microsoft Word 2010 Basics

Creating a Resume Webpage with

TUTORIAL 4 Building a Navigation Bar with Fireworks

Creating Web Pages with Microsoft FrontPage

BASICS OF WEB DESIGN CHAPTER 2 HTML BASICS KEY CONCEPTS COPYRIGHT 2013 TERRY ANN MORRIS, ED.D

HTML5 and CSS3 Part 1: Using HTML and CSS to Create a Website Layout

Word Processing programs and their uses

Microsoft Word 2010 Tutorial

EUROPEAN COMPUTER DRIVING LICENCE / INTERNATIONAL COMPUTER DRIVING LICENCE WEB EDITING

Intro to Web Development

HIT THE GROUND RUNNING MS WORD INTRODUCTION

KOMPOZER Web Design Software

Enduring Understandings: Web Page Design is a skill that grows and develops throughout the careful planning and study of software and design.

Microsoft Office PowerPoint 2013

Content Management System

How to Author a Custom Course

Content Author's Reference and Cookbook

MS Word 2007 practical notes

Word basics. Before you begin. What you'll learn. Requirements. Estimated time to complete:

Using Microsoft Word. Working With Objects

Introduction To Microsoft Office PowerPoint Bob Booth July 2008 AP-PPT5

Help on Icons and Drop-down Options in Document Editor

WYSIWYG Editor in Detail

Introduction to Web Development

Garfield Public Schools Fine & Practical Arts Curriculum Web Design

How to Use the Text Editor in Blackboard

Font and color choices are all made from the Message or Format Text tab on the ribbon.

How To Write A Web Page In Html

WYSIWYG Tips and FAQ

COMMON CUSTOMIZATIONS

7 th Annual LiveText Collaboration Conference. Advanced Document Authoring

General Electric Foundation Computer Center. FrontPage 2003: The Basics

How do you use word processing software (MS Word)?

Action settings and interactivity

CiviCRM for The Giving Circle. Bulk Mailing Tips & Tricks

Computer Literacy Syllabus Class time: Mondays 5:00 7:00 p.m. Class location: 955 W. Main Street, Mt. Vernon, KY 40456

Taking your HTML s to the Next Level. Presented by: Joey Trogdon, Asst. Director of Financial Aid & Veterans Affairs Randolph Community College

Chapter 10: Multimedia and the Web

Go Kiwi Internet Content Management System Version 5.0 (K5) TRAINING MANUAL

DOING MORE WITH WORD: MICROSOFT OFFICE 2010

Microsoft PowerPoint 2010 Handout

Introduction to Word 2007

How To Create A Web Page On A Windows (For Free) With A Notepad) On A Macintosh (For A Freebie) Or Macintosh Web Browser (For Cheap) On Your Computer Or Macbook (

Microsoft Word 2013 Tutorial

WebCT 4.x: HTML Editor

Microsoft Office Publisher 2010

New Perspectives on Creating Web Pages with HTML. Considerations for Text and Graphical Tables. A Graphical Table. Using Fixed-Width Fonts

Web Design Revision. AQA AS-Level Computing COMP2. 39 minutes. 39 marks. Page 1 of 17

Create a GAME PERFORMANCE Portfolio with Microsoft Word

Microsoft Excel Understanding the Basics

Windows 95. 2a. Place the pointer on Programs. Move the pointer horizontally to the right into the next window.

Umbraco v4 Editors Manual

Jadu Content Management Systems Web Publishing Guide. Table of Contents (click on chapter titles to navigate to a specific chapter)

Lesson Overview. Getting Started. The Internet WWW

Dreamweaver CS6 Basics

Chapter 6. Formatting Text with Character Tags

Contents. Introduction Downloading the Data Files... 2

Introduction to Web Design Curriculum Sample

Transcription:

New Perspectives on Creating Web Pages with HTML Developing a Basic Web Page 1

Objectives Upon completion of this lesson, you should be able to: 1. Review the structure of the World Wide Web 2. Learn the basic principles of Web documents 3. Create a HTML document 4. View an HTML file using a Web browser 5. Explain the basic syntax of HTML. 6. Do simple markup of a text document in HTML. 7. Use document tags (HTML, HEAD, BODY, and TITLE). 8. Use formatting tags (P, BR, and HR) with some of their attributes. 2

Objectives Continued XP 1. Use text style tags (I, B, U, and FONT) with some of their attributes. 2. Use heading and list tags for organizing the document. 3. Use the image tag (IMG) with its attributes. 4. Use the anchor tag (A) with its main attribute to link to another Web page. 5. Test your HTML documents. 6. Use HTML tags for text, headings, paragraphs, and lists 7. Insert character tags into an HTML document 8. Insert an inline graphic image into a HTML document 9. Add special characters to an HTML document 10. Insert horizontal lines into an HTML document 3

Introducing the World Wide Web In order for computers to share resources efficiently, they can be linked together in one of the following structured networks: linked within a local area network (LAN) linked across a wide area network (WAN) Networks are very useful, their use led to a network of networks called the Internet. 4

The Internet The Internet consists of millions of interconnected computers that enable users to communicate and share information. Many Internet tools required users to master an array of terms, acronyms, and commands before they could navigate the Internet. The World Wide Web was developed to make the Internet easier to use and give quick access to users. 5

The Development of the World Wide Web XP In 1989, Timothy Berners-Lee and other researchers at the CERN nuclear research facility, laid the foundation of the World Wide Web, or the Web. created an information system that would make it easy for researchers to locate and share data required minimal training and support developed a system of hypertext documents, electronic files that contain elements that you can easily select 6

Hypertext Documents XP Hypertext offers a better way of locating information. When you read a book, you follow a linear progression, reading one page after another. With hypertext, you progress through pages in whatever way is best suited to you and your objectives. Hypertext lets you skip from one topic to another. 7

Hypertext Documents Continued The key to hypertext is the use of links, which you activate to move from one topic to another. a link can open a document on a computer anywhere in the world Hypertext has become the dominate method of sharing and retrieving information on the Internet, becoming known as the World Wide Web, or the Web. Documents on the Web are known as Web pages. 8

HTML: The Language of the Web Web pages are text files, written in a language called Hypertext Markup Language or HTML. A markup language is a language used to describe the contact and format of documents. HTML = HyperText Markup Language. Markup languages tell browsers how to display text and graphics. 9

HTML is a markup language, not a programming language. Why? Markup language is different from programming language in that instead of making the computer act a certain way, it just makes the text and other elements of the screen display a certain way. Markup language allow for very little interaction with the user, while programming languages allow the user to have a lot of interaction. With most programming languages (such as Java, C++, and Visual Basic) you begin with a text file, but that is then compiled into machine-readable computer code file that is virtually impossible for a person to read. This machine-readable file (somethimes called binary file) is the program or application file. In the markup language, a simple text file contains both the content and the markup, and it remains a text file, so a person can easily read it, even after it is marked up. 10

Web Pages and Web Browsers XP A Web page is stored on a Web server, which makes the page available to users of the Web. To view a Web page, the user runs a Web browser, a software program that retrieves the page and displays it. A Web browser can either be text-based, or graphical. 11

Using a Browser to View a Web Document on a Server This figure shows to view web pages, the user runs a Web browser, a software program that retrieves the page and displays it. 12

Internet Explorer and Netscape The most common Web browsers available today are: Microsoft Internet Explorer Netscape Navigator 13

Web Page with Interesting Fonts, Graphics, and Layout XP This figure shows a Web page is not only a source of information, it can also be a work of art. interesting fonts graphic image links The Web designer has a great deal of control over the format of the page. 14

Hypertext Markup Language (HTML) XP HTML allows Web authors to create documents that can be displayed across different operating systems. HTML code is easy to use, that even nonprogrammers can learn to use it. HTML describes the format of Web pages through the use of tags. it s the job of the Web browser to interpret these tags and render the text accordingly 15

Versions of HTML XP This figure presents a history of the various versions of HTML that have been released by the World Wide Web Consortium (W3C). 16

Hypertext Markup Language (HTML) Continued HTML has a set of rules, called syntax. syntax are a set of standards or specifications developed by a consortium of Web developers, programmers, and authors called the World Wide Web Consortium (WC3) HTML extensions have been added to support new features, which have been adopted in subsequent sets of standards released by the W3C. these extensions have provided Web page authors with more options XP 17

Web Development XP Web designers need to determine which browsers and browser versions support their web pages. In the future, Web development is focusing more on XML (Extensible Markup Language) and XHTML (Extensible HyperText Markup Language) for developing document content. XML combined with style sheets provides the same functionality as HTML, but with greater flexibility XHTML was designed to overcome some of the problems with competing HTML standards Activity 1: Find information in the Internet about XML and XHTML. Write a two page paper. 18

Tools for Creating HTML Documents XP HTML documents are text files, which a text editor such as Windows NotePad can be used to create. You can also use an HTML converter or an HTML editor. an HTML converter like Microsoft Word takes text in one format and converts it to HTML code an HTML editor helps you create an HTML file by inserting HTML codes for you as you work Activity 2: Find information on the Internet about HTML converters and HTML editors. Write a paper (2 pages) bring a copy for your grades and keep a copy as a reference to study. 19

Creating an HTML Document It s always a good idea to plan the appearance of your Web page before you start writing code. heading 1 image paragraph list bold and italic text horizontal line heading 3 20

HTML Syntax Document content is what the users sees on the page, such as headings and images. Tags are the HTML codes that control the appearance of the document content. tag is the name of the HTML tag attributes are properties of the tag document content is actual content that appears in the Web page 21

What Is HTML? (Cont.) HTML = HyperText Markup Language. Markup languages tell browsers how to display text and graphics. HTML uses tags surrounded by <angle brackets> to pass commands to the browser. The first set of tags will bold text. The second set of tags will italicize text. Tags usually appear in pairs, with an opening tag <B> and a closing tag </B>. <B> To Bold Text </B> <I> To Italicize Text </I> 22

HTML Tags XP Tags can be one-sided or two-sided. two-sided tags contain an opening tag <b> that tells the browser to turn on a feature and apply it to the contact that follows, and a closing tag </b> that turns off the feature one-sided tags are used to insert noncharacter data into the Web page, such as a graphic image or video clip <tag attribute> Tags are not case sensitive. The current standard is to display all tags in lowercase letters. 23

Interpretation of the <H1> tag by Different Browsers This figure shows how three different browsers might interpret a line of HTML code. XP 24

Nesting Tags and Attributes XP Tags should be nested when more than one tag is used to mark a set of text, as in this example. Attributes add information to tell the browser exactly how to implement a tag. This attribute changes the width of a horizontal line. <B> <I> Properly Nested Tags </I></B> <HR size= 7 > Tag Attribute Step-by-Steps 8.1 & 8.2 25

Document Tags Examine these document tags used to organize Web pages: Starts a Web page. Places information in title bar. Any text or graphics placed between the BODY tags will display in a Web browser. A few tags, like <HR>, do not need a closing tag. These tags end the Web page. Step-by-Steps 8.1 & 8.2 <HTML> <HEAD> <TITLE>Your Web Page s Title </TITLE> </HEAD> <BODY> <B> To Bold Text </B> <I> To Italicize Text </I> <B> <I> Properly Nested Tags </I> </B> <HR> Creates Horizontal Line </BODY> </HTML> 26

Initial HTML Tags in Notepad Your text editor may not display the file extension in the title bar. This is okay. <html> tag indicates that this file is written in HTML <head> tag contains information about the Web page Page content will go between the <body> tags <title> tag contains the Web page title 27

Document Tags XP <HEAD> and <BODY> tags are used to separate the document into two parts, a head and a body. The head (that material inside the <HEAD> tags) will not be visible to the user, except for the title. However, this space can be used to insert information about the Web pages that will help users find your page, such as indexing words called metadata. When search engines are classifying pages, they often use metadata to help them recognize what the Web page is about. 28

The Initial HTML File in Internet Explorer XP the title you entered between the <title> tags address box indicates the name and location of the HTML file page content will appear here You should occasionally view the formatted page with different Web browsers to check compatibility, verify that there are no syntax errors, or other problems. 29

The <BODY> tags surround the part of your Web page that is visible to the public in the browser window. Most of the content of your Web pages will be inside the <BODY> tags. Attributes: To change background color <BODY bgcolor= blue > To set up an image to be the background image <BODY background= mybackgroundimage.jpg > 30

Formatting Tags These tags work to format text in interesting ways: The paragraph tag adds a double space between paragraphs. The break tag adds a single space between paragraphs. The width and size attributes make the Horizontal Rule tag change size and shape. <P> The Paragraph Tag </P> <BR> The Break Tag </BR> <HR width= 50% size= 5 > Step-by-Step 8.3 31

My name is Mrs. Hernandez Attributes for formatting tags: <P align= center >My name is Mrs. Hernandez</P> To center the text. To get the text Like this <P align= center >To get the text<br>like this</p> To center the text and break it in two lines. 32

Text Style Tags These tags, like formatting tags, modify the look of words on a Web page: The Italics Tag The Bold Tag The Underline Tag The FONT Tag with attributes <I> Italics </I> Bold </B> <B> Bold <U> Underline </U> <FONT face= Arial, Helvetica > </FONT> <FONT face= Arial color= green >Sample Text </FONT> Sample Text Step-by-Step 8.4 33

Creating Heading Tags XP HTML supports six levels of headings, numbered <h1> through <h6>, with <h1> being the largest and most prominent. Headings are always displayed in a bold font. 34

Tags for Organizing and Lists These tags are used for headings and lists: HEADING Tags Unordered List Tags <H1> HEADING </H1> <H3> HEADING </H3> <H5> HEADING </H5> <UL> <LI></LI> <LI></LI> </UL> Step-by-Step 8.5 Ordered List Tags <OL> <LI></LI> <LI></LI> </OL> 35

Six Heading Levels This figure illustrates the general appearance of the six heading styles. Your browser might use slightly different fonts and sizes. 36

Entering Heading Tags and Text heading tags As of HTML 3.2, the heading tag can contain additional attributes, one of which is the alignment attribute. 37

Headings As They Appear in the Browser XP <h1> <h2> <h3> 38

Entering Paragraph Text If you are using a test editor like NotePad, the text might not wrap to the next line automatically. Selecting the Word Wrap command within NotePad will allow you to see all the text on your screen. 39

Paragraph Text in the Browser XP 40

Adding Paragraphs XP adding paragraphs 41

The Paragraphs Displayed by the Browser XP Remember: HTML formats text only through the use of tags and ignores such things as extra blank spaces, blank lines, or tabs. four grading paragraphs are not separated 42

The Grading Text Separated into Paragraphs XP To add space between paragraphs, you use the paragraph tag <p>. text is now separated into four paragraphs 43

Creating Lists HTML supports three kinds of lists: an ordered list, which is used to display information in a numeric order an unordered list, which list items are not listed in a particular order i.e. bullets a definition list, which is a list of terms, each followed by a definition line that is typically indented slightly to the right 44

Entering an Unordered List <ul> unordered list tag <li> list item tag 45

The Unordered List in the Browser An unordered list is a bulleted list. unordered list 46

Creating Character Tags XP HTML also lets you format individual characters. A tag that you apply to an individual character is called a character tag. There are two types of character tags: logical character tag physical character tag 47

Common Logical Character Tags This figure lists some common logical character tags. 48

Common Physical Character Tags This figure shows examples of how these tags can be displayed in a browser. 49

Logical Character Tags as They Appear in the Browser XP examples of individual tags example of combined tags 50

Physical Character Tags as They Appear in the Browser Underline text can sometimes be confused with hyperlinked text (which is usually underlined), and for that reason, use of the <u> tag is discouraged. 51

Applying Character Tags Italic <i> </i> and bold <b> </b> character tags If you support users with older browsers, you should use a logical tag. Otherwise, use physical tags, which are more common and easier to interpret. 52

The Effect of the Character Tags in the Browser XP text formatted with bold and italic 53

Inserting a Graphic XP Images can be displayed in two ways: as inline images or as external images. an inline image displays directly on the Web page and is displayed when the page is accessed by a user an inline image can be placed on a separate line in your HTML code, or it can be placed directly within a line of text inline images should be in one of two file formats: GIF (Graphics Interchange Format) or JPEG (Joint Photographic Experts Group) 54

Inserting a Graphic Continued XP an external image is not displayed with the Web page, the browser must have a file viewer, which is a separate program that the browser launches when it encounters an external image file external images are represented by an icon that a user clicks to view the image external images are not limited to GIF or JPEG formats 55

Inserting a Graphic Image file dube.jpg use the <p> tag so you can center the image 56

The Image File as it Appears in the Browser XP 57

Tags to Insert Images The IMaGe tag requires the use of attributes: <IMG src= sign.jpg align= right > Src= searches for the image. The align= attribute will move the picture to the left, right, or center of the page. sign.jpg is the name of this file, which is then searched and displayed in the Web browser. Step-by-Step 8.6 58

Special Characters and Codes XP This figure shows some HTML symbols and the corresponding code numbers or names. 59

Special Characters Occasionally you will want to include entities or special characters in your Web page that do not appear on your keyboard. For example: registered trademark symbol copyright symbol HTML supports the use of character symbols that are identified by a code number or name. 60

Special Characters in the Browser This figure shows an example of the code Welcome to Mr. Dub&#233 s Web site, which accented the é in his last name.. accented é added to last name 61

Inserting Horizontal Lines A horizontal line can improve the appearance of a Web page. The syntax for creating a horizontal line is: <hr align= align size= size width= width color= color noshade> 62

Inserting Horizontal Lines XP The HTML horizontal syntax includes the following: align specifies the horizontal alignment of the line on the page (center, left, or right) size specifies the height of the line in pixels or percentage of the screen width width indicates the width of the line in pixels or percentage of the screen width color indicates the color of the line noshade specifies that the browser display a solid line 63

Different Line Styles size=12 width-100% size=6 width-50% size=3 width-25% size=1 width-10% <hr align= center size= 12 width= 100% > <hr align= center size= 6 width= 50% > <hr align= center size= 3 width= 25% > <hr align= center size= 1 width= 10% > You can use line styles to improve the appearance of your Web page. 64

Horizontal Line Added to the Page XP horizontal line 65

Tags for HyperLinks The Anchor tag <A> creates hyperlinks and also requires attributes. This hyperlink searches for Disney on the Web. The second example <A ref= www.disney.com >Disney</A> loads a page from the local computer s hard drive. href= searches for the <A href= Friends.html >Friends</A> Web page online. The closed </A> tag stops underlining hyperlinks. Disney and Friends is what the user clicks. Step-by-Step 8.7 66

Testing Your HTML Stop and evaluate your HTML formatting and hyperlinking tags: Alpha testing is the first series of tests that programmers usually do themselves to find obvious mistakes. Beta testing requires a team of testers who try to break the software. Step-by-Step 8.8 67

Summary Learned about the history and structure of the World Wide Web. Introduced the basic principles of Web documents and about the HTML language. Learned how to create a Web page using basic layout tags. Learned how to create paragraphs, headings and lists (both ordered and unordered). 68

Summary Continued XP Worked with character tags and special characters. Introduced to working with graphics by creating a horizontal line and an inline graphic image. To explain the basic syntax of HTML. How to do simple markup of a text document in HTML. To use document tags (HTML, HEAD, BODY, and TITLE). To use formatting tags (P, BR, and HR) with some of their attributes. To use text styles tags (I, B, U, and FONT) with some of their attributes. To use heading and listing tags for organizing the document. To use the image tag (IMG) with its attributes. To use the anchor tag (A) with its main attribute to link to another Web page. How to test your HTML documents. 69