Lesson 2 — HTML Organization Techniques

Slides:



Advertisements
Similar presentations
Introduction to HTML. A Web Page is.. An ASCII (text) file.. Whose filename ends with.htm or.html –index.html or cookie-recipe.htm Contains HTML tags.
Advertisements

Session 2 Introduction to HyperText Markup Language 4 (HTML 4) Matakuliah: M0114/Web Based Programming Tahun: 2005 Versi: 5.
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.
กระบวนวิชา CSS. What is CSS? CSS stands for Cascading Style Sheets Styles define how to display HTML elements Styles were added to HTML 4.0 to.
HTML Tags. Bolding Text Or Italics Text Or
Chapter 4 Marking Up With Html: A Hypertext Markup Language Primer.
COMP101 – Exploring Multimedia and Internet Computing LA2 (Thur 14:00 – 16:50) TA: Jackie Lo.
CIS101 Introduction to Computing HTML Project Two.
Basic HTML UCR Webmasters Support Group Derk Adams.
Marking Up With Html: A Hypertext Markup Language Primer
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,
HTML Tags. Objectives Know the commonly used HTML tags Create a simple webpage using the HTML tags that will be discussed.
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.
Computer Science 101 HTML. World Wide Web Invented by Tim Berners-Lee at CERN, the European Laboratory for Particle Physics in Geneva, Switzerland (roughly.
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 4 Fluency with Information Technology L. Snyder Marking Up With HTML: A Hypertext Markup Language Primer.
Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Fluency with Information Technology Third Edition by Lawrence Snyder Chapter.
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.
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 Chapter 3 Key Concepts 1 Copyright © Terry Felke-Morris.
Chapter 4: Hypertext Markup Language Primer TECH Prof. Jeff Cheng.
HTML Overview Part 4 – Tables 1. HTML Tables  Tables are defined with the tag pair.  A table is divided into rows with tag pairs. o tr stands for "table.
Understanding HTML Code
XP 1 New Perspectives on Creating Web Pages with HTML Adding Hypertext Links to a Web Page.
1 CSC 121 Computers and Scientific Thinking David Reed Creighton University HTML and Web Pages.
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.
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!
Linking web pages Wah Yan College (Hong Kong) Mr. Li C.P.
Just Enough HTML How to Create Basic HTML Documents.
Review session for Web development. Time line of the internet history When was the ARPANET first demostrated? When did the NFSNet replace it? When did.
CS105 INTRODUCTION TO COMPUTER CONCEPTS HTML Instructor: Cuong (Charlie) Pham.
The Teacher Computing HTML HyperText Markup Language.
12/20/20151 Color Fall, 2010 Modified by Linda Kenney 10/26/10.
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 Links HTML uses a hyperlink to another document on the Web.
HTML CS 105. Page Structure HTML elements control the details of how a page gets displayed. Every HTML document has the following basic structure: … …
HTML Comprehensive Concepts and Techniques Second Edition Project 2 Creating a Web Site with Links.
Basic HTML Programming Technology Education Ellsworth Community Middle School Communication Systems.
Chapter 5 BIE2313 | Web design. ALL RIGHTS RESERVED No part of this document may be reproduced without written approval from Limkokwing University of.
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.
HTML5 and CSS3 Illustrated Unit E: Inserting and Working with Links.
Let’s Try It! Open Notepad
HTML Basics.
LESSON 2 Module 2: XHTML Basics More Basic XHTML.
Web Development & Design Foundations with HTML5 8th Edition
Links and Comments in HTML5
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
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
Lesson 4: Hyperlinks.
Lesson 2 HTML Organization Techniques.
Presentation transcript:

Lesson 2 — HTML Organization Techniques Unit 1 — HTML BASICS Lesson 2 — HTML Organization Techniques

Objectives Organize page information with single and double spacing. Organize page information with lines. Implement attributes and values. Change Web page color defaults by altering attributes and values. HTML BASICS

Objectives (cont.) Alter Web page text colors. Create a hyperlink to another spot within a Web page. Create a hyperlink to an URL or Web page anywhere on the World Wide Web. Create a hyperlink to another Web page on your own computer. HTML BASICS

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. HTML BASICS

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. HTML BASICS

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> HTML BASICS

Lines and Background Colors (cont.) 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> HTML BASICS

Lines and Background Colors (cont.) The BACKGROUND COLOR attribute has been changed to yellow. Horizontal rules, or lines, have been added through the use of the <PR> tag. HTML BASICS

Lines and Background Colors (cont.) The WIDTH attribute changes the length or width of the line. The SIZE attribute changes the size of the line. HTML BASICS

Hyperlinks Inside Your Document Internal hyperlinks require 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> HTML BASICS

Hyperlinks Inside Your Document (cont.) Internal hyperlinks jump from an index to content below in another area on a Web page. Internal hyperlink Jumps to content below HTML BASICS

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> HTML BASICS

Linking to Pages Already Created <BR><A HREF=“one.html”>one</A> Web hyperlinks: Break tag Open anchor tag<A> HREF= attribute Filename in quotes Name of the link between brackets Close anchor tag </A> HTML BASICS

Linking to Pages Already Created (cont.) 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 HTML BASICS

Coloring Text 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> HTML BASICS

Coloring Text (cont.) <BODY TEXT=BLUE LINK=RED VLINK=GREEN> <HTML> <TITLE>Text</TITLE> <BODY TEXT=BLUE LINK=RED VLINK=GREEN> <P>Text</P> </BODY> </HTML> HTML BASICS

Summary You can organize page information with single and double spacing. You can organize page information with lines. You can use attributes and values to improve Web page design. You can change color defaults, attributes, and values. HTML BASICS

Summary (cont.) You can create hypertext links to a spot in a Web document. You can create hypertext links to another page on the World Wide Web. You can create hypertext links to Web pages on your own computer. HTML BASICS