Lesson 2 HTML Organization Techniques.

Slides:



Advertisements
Similar presentations
Session 2 Introduction to HyperText Markup Language 4 (HTML 4) Matakuliah: M0114/Web Based Programming Tahun: 2005 Versi: 5.
Advertisements

CREATED BY : VIRAL M.KORADIYA. Anchor elements are defined by the element. The element accepts several attributes, but either the Name or HREF attribute.
Internet Services and Web Authoring (CSET 226) Lecture # 5 HyperText Markup Language (HTML) 1.
1 تقنيات الانترنت عال457 HTML. 2 HTML  HTML – HyperText Markup Language – The Language of Web Pages on the World Wide Web. HTML is a text formatting.
Unit 4 Lesson 2 HTML Organization Techniques
INTRODUCTION TO HYPERTEXT MARKUP LANGUAGE 1. Outline  Introduction  Markup Languages  Editing HTML  Common Tags  Headers  Text Styling  Linking.
HTML Tags. Bolding Text Or Italics Text Or
Web Page Development Identify elements of a Web Page Start Notepad
Creating a Web Page HyperText Markup Language. HTML Documents  Created using any text editor  Notepad  Vi, Pico, or Emacs  If using word-processor,
HTML BASIC
Contains 16,777,216 Colors. My Car is red My Car is red How do I add colors to my web page? Notepad Browser Works with the “Standard” colors: Red, Green,
Explanation of Web 6, Web 7 and Web 9 at my site Please be sure to bring up the speaker notes for the explanation Intro - Web 6, Web 7 and Web 9.
Link and Table in HTML. Statistics HTML review The two faces of a HTML file In a notepad program. In a internet browser program. The function of HTML.
CS105 Introduction to Computer Concepts HTML
Chapter 2: The Client Side: HTML CIS 275—Web Application Development for Business I.
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.
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)
Chapter 4: Hypertext Markup Language Primer TECH Prof. Jeff Cheng.
Understanding HTML Code
McGraw-Hill/Irwin Copyright © 2013 by The McGraw-Hill Companies, Inc. All rights reserved. Extended Learning Module F Building a Web Page with HTML.
More Basic HTML. Add spacing (single & double space) Save Refresh Add horizontal rule Add comments Add styles Add headings Add features Add alignments.
Unit 1 — HTML BASICS Lesson 2 — HTML Organization Techniques.
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.
More Basic XHTML Module 2: XHTML Basics LESSON 2.
Department of Information Technology Chapter 8 - Creating Hypertext links Lecturer: Ms Melinda Chung.
15.2 More Basic HTML. More Basic HTML Add spacing (single & double space) Save Refresh Add horizontal rule Add comments Add styles Add headings Add features.
Getting Started with HTML Please use speaker notes for additional information!
Just Enough HTML How to Create Basic HTML Documents.
CS105 INTRODUCTION TO COMPUTER CONCEPTS HTML Instructor: Cuong (Charlie) Pham.
HTML Basic IST2101. Keep In Mind Programming can be time consuming. Plan ahead!
HTML: Hyptertext Markup Language Doman’s Sections.
Georgia Institute of Technology Making Text for the Web Barb Ericson Georgia Institute of Technology March 2006.
HTML. Adding Background Color The bgcolor attribute lets you change the background color of the Web page. Located in the body tag See common Web Page.
The Teacher Computing HTML HyperText Markup Language.
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) 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.
HTML BASIC IST 210: Organization of Data IST210 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: … …
Links and Images. Links HTML uses a hyperlink to link to another document on the Web A hyperlink can be either text or a picture Links are created with.
Writing Web Pages in HTML HTML.1 The Web  Lots of computers connected together in a collection of networks  HyperText Markup Language (HTML) is a common.
HTML. INDEX Introduction to HTML Creating Web Pages Commands And Tags Web Page.
1 HTML. 2 Full forms WWW – world Wide Web HTTP – Hyper Text Transfer Protocol HTML – Hyper Text Markup Language.
Revision Webpage design HTML.   FACE  Attributes  Marquee  Define the following terms.
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.
HTML is the language that allows text and graphics to be displayed as Web pages. It is a set of special codes, called tags, that tells a browser application.
Revised June 2008 Online PD Basic HTML1 Let’s Try It!  Open Notepad oStart > All Programs > Accessories > Notepad oDon’t get WordPad by mistake – won’t.
Basic Web Publishing M. Scott Gartner 7/15/98.
Let’s Try It! Open Notepad
HTML Basics.
Extended Learning Module F
Section 4.1 Section 4.2 Format HTML tags Identify HTML guidelines
LESSON 2 Module 2: XHTML Basics More Basic XHTML.
What is HTML? Acronym for: HyperText Markup Language
LAB Work 01 MBA 61062: E-Commerce
Introduction to HTML.
What is HTML? Structure of HTML Document HTML TAG HEAD TAG TITLE TAG
Web Development & Design Foundations with HTML5
Tag Basics.
What is HTML? Structure of HTML Document HTML TAG HEAD TAG TITLE TAG
Computers and Scientific Thinking David Reed, Creighton University
15.2 More Basic HTML & CSS.
HTML (Hypertext Markup Language )
What is HTML? Structure of HTML Document HTML TAG HEAD TAG TITLE TAG
LESSON 2 Module 2: XHTML Basics More Basic XHTML.
More Basic HTML 2 assignments: 1—complete the worksheet
Training & Development
Lesson 2 — HTML Organization Techniques
Presentation transcript:

Lesson 2 HTML Organization Techniques

Creating Better Web Pages Formatting tags can greatly improve the look of a Web page. The page shown in Figure 2-2 is unorganized and needs reworking. Step-by-Step 2.1

Open Notepad! Page 33 Save as six.html <TITLE>HTML and JavaScript<TITLE> <BODY> <CENTER><H1>Organizing Tags</H1><CENTER> There are many ways to organize a Web page. This Web page will organize text, hypertext links, colors, and fonts. You’ll also demonstrate single spacing, double spacing, and the use of line breaks. This Web page will display how to organize Web pages in a number of ways using: Powerful Lines Hyperlinks to HTML and Java Script Sources Hyperlinks to Previously Created Web Pages Fancy Fonts Perfect Pictures Orderly Tables Extraordinary Extras </BODY> </HTML

Creating Better Web Pages Two simple tags can make the changes in Figure 2-4: <P></P> <BR> The <P> tag creates a double-space. The <BR> tag creates a single-space. The close tag for the <P> tag is optional. Step-by-Step 2.1

Open your file. Enter the changes from page 35. Save your file as seven.html View your page.

Lines and Background Colors Use tag attributes and values to format a Web page in a variety of ways. The background color attribute A background color value <BODY BGCOLOR = YELLOW> Step-by-Step 2.2

Lines and Background Colors You can use either names or hexadecimal numbers to define color values. White = #FFFFFF Green = #00FF00 Black = #000000 Blue = #0000FF Red = #FF0000 Yellow = #FFFF00 <BODY BGCOLOR = YELLOW> Is the same as… <BODY BGCOLOR = #FFFF00> Step-by-Step 2.2

Go back to notepad and open your page 37. Enter BGCOLOR=YELLOW to change the color of the background. Save your file as eight.html View your page in the browser. Experiment and change to different colors Blue, Green, Red, White, etc.

Lines and Background Colors The background color attribute has been changed to yellow Horizontal rules, or lines, have been added through the use of the <PR> tag The WIDTH attribute changes the length or width of the line. The SIZE attribute changes the height of the line Step-by-Step 2.2

Next Step! Page 38 Switch back to your eight.html and enter the new coding from that page. Don’t forget to save your changes as nine.html

Hyperlinks Inside Your Document Internal hyperlinks required two steps: Enter an anchor tag using a # before the name of the target location. Define where the link will take you (the target location) with the NAME attribute. <HTML> <TITLE>Text</TITLE> <BODY> <A HREF=“#POWERFUL”> Powerful Lines</A> <P>Text</P> <A NAME=“POWERFUL”> </BODY> </HTML> Step-by-Step 2.3

Hyperlinks Inside Your Document Internal hyperlinks jump from an index to content below, in another spot on a Web page. Internal hyperlink Jumps to content below Step-by-Step 2.3

Creating Hyperlinks to the Web <A HREF=“http://www.course.com”>Course</A> Web hyperlinks: Open anchor tag<A> HREF= attribute Full Web address in quotes Name of the link between brackets Close Anchor tag </A> Step-by-Step 2.4

<BR><A HREF=“one.html”>one</A> Already Created <BR><A HREF=“one.html”>one</A> Web hyperlinks: Break tag Open anchor tag<A> HREF= attribute File name in quotes Name of the link between brackets Close Anchor tag </A> Step-by-Step 2.5

Already Created Hyperlinks to the World Wide Web look exactly like hyperlinks to pages on the local computer. Links to the Web Links to files on the local computer Step-by-Step 2.5

Next Step! Open your nine.html and make the changes from page 42 to 52. Don’t forget to save your changes as ten.html,eleven.html, and twelve.html

Coloring Text Step-by-Step 2.6 You will use three separate attributes to color text : Use the text attribute to change color of text Use the hypertext link color attribute to change color of hypertext links Use the visited link attribute to change color of hypertext links that have been selected <HTML> <TITLE>Text</TITLE> <BODY TEXT=BLUE LINK=RED VLINK=GREEN> <P>Text</P> </BODY> </HTML> Step-by-Step 2.6

Coloring Text <BODY TEXT=BLUE LINK=RED VLINK=GREEN> <HTML> <TITLE>Text</TITLE> <BODY TEXT=BLUE LINK=RED VLINK=GREEN> <P>Text</P> </BODY> </HTML> Step-by-Step 2.6

Next step! Open twelve.html and make changes from page 53. Don’t forget to save your work as thirteen.html

Homework Re-read lesson two. Define the vocabulary words on page 55. Be ready to turn your vocabulary into a web page tomorrow!