Creating and Editing a Web Page

Slides:



Advertisements
Similar presentations
HTML Basics Customizing your site using the basics of HTML.
Advertisements

Computers: Tools for an Information Age Writing Your Own Web Page: Using HTML and Web Authoring Tools.
Iframes & Images Using HTML.
Creating and Editing a Web Page Using Inline Styles
Creating and Editing a Web Page
HTML Hypertext Markup Language –First proposed by CERN in 1989 –It is non-linear so it allows you to jump from place to place –Markup refers to the structure.
New Perspectives on Creating Web Pages with HTML
Web Page Development Identify elements of a Web Page Start Notepad
XP 1 New Perspectives on Creating Web Pages with HTML Tutorial 1: Developing a Basic Web Page.
Creating and Editing a Web Page
Database-Driven Web Sites, Second Edition1 Chapter 2 INTRODUCTION TO HTML.
Developing a Basic Web Page with HTML
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.
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.
The HTLM History HMTL Basics.  World Wide Web  World Wide Web (Web):The part of the Internet that supports multimedia and consists of a collection of.
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.
Adding Images & Working with Images Unit 2. TITLE CORNELL NOTES TOPIC: NOTES: Name: Date:08/10/2009 Period : Summary: To display Art To display Photographs.
Unit 1 – Developing a Web Page. Objectives:  Learn the history of the Web and HTML  Describe HTML standards and specifications  Understand HTML elements.
HTML BASICS Creating Web Pages with HTML CIS 133 Web Programming Concepts 1.
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.
Chapter 4 Adding Images. Chapter 4 Lessons Introduction 1.Insert and align images 2.Enhance an image and use alternate text 3.Insert a background image.
Enhancing Your Web Site. More Basic HTML Tags Today you will learn these tags: & add-on (alt, height, width & align) and “href” add-on Add a text link.
HTML H yper T ext M arkup L anguage. HTML HTML is NOT case sensitive However, proper coding etiquette if for all to be in ALL CAPS and for text to be.
Understanding HTML Code
Images (1) Three most popular formats – Graphics Interchange Format (GIF) – Joint Photographic Experts Group (JPEG) – Portable Network Graphics (PNG) –
Chapter 1 XHTML: Part I The Web Warrior Guide to Web Design Technologies.
Web Design Fundamentals Demystifying Basic HTML. 2 After completing this lesson, you will be able to: Understand the basics of HTML coding. Use HTML tags.
Creating and Editing a Web Page using HTML IMED1316.
Creating and Editing a Web Page Project 2. Project Objectives Project 2: Creating and Editing a Web Page 2 Identify elements of a Web page Start Notepad.
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.
DHTML AND JAVASCRIPT Genetic Computer School LESSON 2 HTML TAGS G H E F.
XP Mohammad Moizuddin Creating Web Pages with HTML Tutorial 1 1 New Perspectives on Creating Web Pages With HTML Tutorial 1: Developing a Basic Web Page.
Html Basic Codes Week Two. Start Your Text Editor Windows use 'Notepad’ Macintosh use 'Simple Text'
HTML 4 Foundation Level Course HyperText Markup Language Most common language used in creating Web documents. You can use HTML to create cross-platform.
Welcome to CMPE003 Personal Computer Concepts: Hardware and Software Winter 2003 UC Santa Cruz Instructor: Guy Cox.
Web Programming Basics of HTML. HTML stands for Hyper Text Mark-up Language A mark-up language is different than those that you have learned before in.
HTML Hyper Text Markup Language. What is an HTML File?  HTML stands for Hyper Text Markup Language  An HTML file is a text file containing small markup.
WEB PAGE DESIGN FOR CHIARVELLE PIZZA Open Notepad Click on Start Point to Accessories Point to Notepad Click Notepad Click the Maximize button Click Edit.
XP 1 New Perspectives on Creating Web Pages with HTML Tutorial 1: Developing a Basic Web Page.
INTRODUCTORY Tutorial 1 Using HTML Tags to Create Web Pages.
HTML PROJECT #2 Project 2 Creating and Editing A Web Page.
Project 2 Web Page Design Creating and Editing a Web Page Pages
Copyright (c) 2004 Prentice-Hall. All rights reserved. 1 Committed to Shaping the Next Generation of IT Experts. Creating XHTML Documents Essentials for.
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.
Copyright (c) 2004 Prentice-Hall. All rights reserved. 1 Committed to Shaping the Next Generation of IT Experts. Adding Graphical Elements Essentials for.
HTML Comprehensive Concepts and Techniques Third Edition 2 nd Project Creating and Editing a Web Page.
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 Basics. HTML Coding HTML Hypertext markup language The code used to create web pages.
1 2/22/05CS120 The Information Era Chapter 4 Basic Web Page Construction TOPICS: Images and placing pages on the server.
Creating and Editing a Web Page
1 Start TextEdit. 2 Creating a Home Page  A home page is the main page of a Web site –Visitors usually view the home page first –Identify the purpose.
Basic HTML Programming Technology Education Ellsworth Community Middle School Communication Systems.
THE TEXT ELEMENTS. THE HEADING ELEMENTS,,,, and - introduce new section of content as a title or a header. Heading sizes range from H1 to H6, where H1.
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.
Creating and Editing a Web Page Using Inline Styles
1 Your Web Page title body of Web page main heading H2 heading bulleted list paragraph.
XP New Perspectives on Macromedia Dreamweaver MX 2004 Tutorial 5 1 Adding Shared Site Elements.
Creating and Editing a Web Page. Organization Logo Menu Bar Title Background Text Links Heading Image Links Body of 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.
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.
NOTEPAD++ Lab 1 1 Riham ALSmari. Why Notepad++ ?  Syntax highlighting  Tabbed document interface  Zooming  Indentation code  Find and replace over.
HTML Comprehensive Concepts and Techniques Second Edition Creating Frames on a Web Page.
HTML Basics.
Chapter 1: Introduction to XHTML (part 1)
Chapter 3 Images.
Creating and Editing a Web Page
Presentation transcript:

Creating and Editing a Web Page HTML Project 02 Creating and Editing a Web Page

Saving an HTML File HTML files must end with an extension of .htm or .html HTML files with an extension of .html can be viewed on Web servers running an operating system that allows long file names (Windows). For Web servers that run an operating system that does not accept long file names, you need the .htm extension.

Saving an HTML File In this book, all files are saved using the .htm extension. When saving an HTML file, do NOT include any spaces in the file name. Although allowed in both Windows and Macintosh, it is NOT allowed on a UNIX Web server—and most Web servers run UNIX The home page of a Web site should always be saved as index.htm.

Saving an HTML File Save Notepad files with .htm extension (.html is also acceptable but not to be used for classroom exercises) .html Used for Web servers that run an operating system that allows long file names (Windows/Macintosh do allow) .htm Used for Web servers that run an operating system that does not accept long file names

Viewing or Opening a Web Page in a Browser Open My Computer Navigate to the appropriate folder

Viewing or Opening a Web Page in a Browser G:\Web Design\HTML\Data Templates\Project02\AYK Double Click the icon—Apply2-1 Open the View Menu Click on Source

Viewing or Opening a Web Page in a Browser Make changes? Save the HTML file Refresh the browser

Saving an HTML File Add your Name to Every Title Tag!!! Project 2 <title> Your Name Campus Tutoring Service Home Page </title>  Save the Notepad file to the appropriate folder:  Open the File Menu and select Save Navigate to the appropriate folder

Saving an HTML File Projects Apply your Knowledge In the Lab Saved in ProjectFiles folder Apply your Knowledge Saved in the AYK folder In the Lab IntheLab folder

Saving an HTML File Remember to use the .htm extension and no spaces Save as: project2.htm in the ProjectFiles folder

Apply Your Knowledge (P. 64) <title> Your Name Apply Your Knowledge</title> Open: apply2-1.htm Save as: apply2-1solution.htm G:\Web Design\HTML\Data Templates\Project02\AYK

In the Lab (P. 65) <title>Your Name LAB 2-1</title> Save as: lab2-1.htm G:\Web Design\HTML\Data Templates\Project02\InTheLab

DOCTYPE – Initial Tags to Define a Web Page Structure <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">   <html> <head> <title> Campus Tutoring</title> </head> <body> </body> </html>

DOCTYPE – Initial Tags to Define a Web Page Structure indicates the version and type of HTML used

DOCTYPE – Initial Tags to Define a Web Page Structure <html> </html> Indicates the start and end of an HTML document

DOCTYPE – Initial Tags to Define a Web Page Structure <title> </title> Indicates the start and end of a title which does not appear in the Web page but appears on the Title Bar of the browser (Always include your name and Project name)

DOCTYPE – Initial Tags to Define a Web Page Structure <body> </body> Indicates the start and end of the Web page body

DOCTYPE – Initial Tags to Define a Web Page Structure Most HTML tags have corresponding end tags—not all! For tags that do not have end tags, such as <hr /> and <br />, the tag is closed using a space and a forward slash

Define the Web Page Structure <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <!DOCTYPE> tag is used to tell the browser which HTML or XHTML version and type the document uses. The W3C supports three document types:

Define the Web Page Structure strict (prohibits the use of deprecated tags--tags that the W3C has named for eventual removal because newer, more functional tags are replacing them) transitional (allows the use of deprecated tags) frameset (used to support frames on a Web page and also allows the use of deprecated tags)   Notice that we are using a transitional document type

Define the Web Page Structure The <!DOCTYPE> tag also includes a URL that references a Document Type Definition (DTD) found on the W3C Web site. This is a file containing definitions of tags and how they should be used in a Web page. To create an HTML document, you begin by inserting a <!DOCTYPE> tag and four sets of tags which define the overall structure of a standard Web page and divide the HTML file into its basic sections—such as the header information and the body of the page that contains text and graphics

Headings Serve to separate text and introduce new topics Tags = <h6> to <h1> (smallest to largest) Heading size 1 = 24 point (usually only one <h1> tag per page) Heading size 2 = 18 point Heading size 3 = 16 point Heading size 4 = 14 point Heading size 5 = 13 point Heading size 6 = 11 point Normal text = 12 point

Paragraphs: <p> </p> Used to indicate the start of a new paragraph; the browser starts a new line and inserts a blank line above the new paragraph

Lists Lists structure text into an itemized format—either bulleted or numbered Ordered <ol> </ol> Also known as a numbered list formats information in a series using numbers or letters Default type = Arabic numbers Unordered <ul> </ul> Also known as a bulleted list formats information using small images called bullets Default type = disc bullet To change the defaults, the type attribute is entered within the <ol> or <ul> tags. <ol type=”A”> or <ul type=”square”>  After the <ol> or <ul> tag is entered to define the type of list, the <li> and </li> tags are used to define a list item in an ordered or unordered list.

Images: <img> Web pages use three types of files as images: Graphics Interchange Format (GIF), Joint Photographic Experts Group (JPEG), and Portable Network Graphics (PNG) Attributes used with the <img> tag: src attribute = used to define the URL of the image to load alt attribute = used to provide alternative text if the image does not load

It is important to include the height and width attributes so the browser will know the size of the image without having to calculate it. Adding these attributes will be expected every time you insert an image tag! <img src=”cts_clip8.gif” width=”484” height=”62” alt=”Student Services logo” />

Background color: bgcolor attribute  Use a six-digit number code or a color name (predefined) Must be added in the <body> tag (pg. 55)

Center: align=”center” Align attribute Right: align=”right” Center: align=”center” Left: align=”left” By default, headings (and text) are left-aligned

Horizontal rule: <hr /> Does not have an end tag Tag is closed using a space and a forward slash  Visual divider of sections on a Web page  Can use an inline image or the horizontal rule tag  Dimension is added to the default horizontal rule by increasing the number of pixels that are displayed  Can also turn off shading using the noshade option