More Basic XHTML Module 2: XHTML Basics LESSON 2.

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.
Internet Services and Web Authoring (CSET 226) Lecture # 5 HyperText Markup Language (HTML) 1.
Cascading Style Sheets
Internet Applications Development Lecture 3 L. Obead Alhadreti.
1 تقنيات الانترنت عال457 HTML. 2 HTML  HTML – HyperText Markup Language – The Language of Web Pages on the World Wide Web. HTML is a text formatting.
INTRODUCTION TO HYPERTEXT MARKUP LANGUAGE 1. Outline  Introduction  Markup Languages  Editing HTML  Common Tags  Headers  Text Styling  Linking.
Web Pages and Style Sheets Bert Wachsmuth. HTML versus XHTML XHTML is a stricter version of HTML: HTML + stricter rules = XHTML. XHTML Rule violations:
กระบวนวิชา 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
Introduction to Cascading Style Sheets (CSS) Module 2: HTML Basics LESSON 4.
HTML Computing Concepts HTML - An Introduction 1.
Basic HTML UCR Webmasters Support Group Derk Adams.
RGB color model Skills: none IT concepts: combining red, green and blue light to generate colors This work is licensed under a Creative Commons Attribution-Noncommercial-
Creating a Web Page HyperText Markup Language. HTML Documents  Created using any text editor  Notepad  Vi, Pico, or Emacs  If using word-processor,
4.01 Cascading Style Sheets
Using color and fonts in HTML and XHTML Please use speaker notes for additional information!
HTML BASIC
HTML: PART ONE. Creating an HTML Document  It is a good idea to plan out a web page before you start coding  Draw a planning sketch or create a sample.
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,
© 2005 ComputerPREP, Inc. All rights reserved. HTML 4.0 and Web Page Design Module I.
ULI101: XHTML Basics (Part III) Introduction to XHTML / Continued … Block-Level vs. Inline Elements (tags) Manipulating Text,  , Text Characteristics,,,,,,,,,,,,,,,
Basic XHTML Module 2: XHTML Basics LESSON 1. Module 2: XHTML Basics LESSON 1 Lesson Overview In this lesson, you will learn to:  Write XHTML code using.
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.
HTML Line Breaks and HTML Horizontal Rules (Lines)
HTML Overview Part 2 – Paragraphs, Headings, and Lines 1.
INTRODUCTION TO HTML5 Styling Text. Change the Font Size  You can use the font-size property to change the font size for a document’s text.  Instead.
Copyright © 2003 Pearson Education, Inc. Slide 4-1 Created by, Stephanie Ludi, Rochester Institute of Technology—NY Basic Web Page Construction Graphics.
Images, Hyperlinks, and Sound Module 2: XHTML Basics LESSON 3.
Web Pages: Creating & Maintaining Body Tags. There have been several versions of HTML since its inception. VersionYear HTML1991 HTML HTML
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.
Kevin Murphy Web Color Basics Masters Project CS 490.
Unit 1 — HTML BASICS Lesson 2 — HTML Organization Techniques.
Introduction To CSS.. HTML Review What is HTML used for? Give some examples of formatting tags in HTML? HTML is the most widely used language on the Web.
Department of Information Technology Chapter 8 - Creating Hypertext links Lecturer: Ms Melinda Chung.
 This presentation introduces the following: › 3 types of CSS › CSS syntax › CSS comments › CSS and color › The box model.
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.
HTML: Tables & Frames Internet Technology1. HTML: Tables Table tags ► surround the entire table ► header row (text is boldfaced) ► surround each row ►
Working with Cascading Style Sheets (CSS) Module 2: HTML Basics LESSON 5.
Tables Module 2: HTML Basics LESSON Extension. Module 2: HTML Basics LESSON Extension Lesson Overview In this lesson, you will learn to:  Create tables.
HTML Basic IST2101. Keep In Mind Programming can be time consuming. Plan ahead!
Agenda Block-Level vs. Inline Elements (tags) Manipulating Text,  , Text Characteristics,,,,,,,,,,,,,,, Font Attributes: size, color, face Horizontal.
Georgia Institute of Technology Making Text for the Web Barb Ericson Georgia Institute of Technology March 2006.
Unit 4 Create and Use Tables. TITLE CORNELL NOTES TOPIC: NOTES: Name: Date: 09/08/2009 Period : Summary: Reasons for using tables Unit 4 Page 1 Display.
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.
XHTML Formatting font with a style declaration. Formatting Font HTML uses the font tag to change size and family of font But… the font tag is being deprecated.
Body and Heading Tags and their Attributes. Attribute Name DefinitionValues backgroundIndicates the background image of the Web page. Ex. Filename(path.
HTML Basics. HTML Coding HTML Hypertext markup language The code used to create web pages.
HTML CS 105. Page Structure HTML elements control the details of how a page gets displayed. Every HTML document has the following basic structure: … …
Basic HTML Programming Technology Education Ellsworth Community Middle School Communication Systems.
Your HTML website creating your first html file. Creating an HTML FIle Open note pad from accessories, programs. Write code. Save and view. In 3 Steps.
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.
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.
Extended Learning Module F
LESSON 2 Module 2: XHTML Basics More Basic XHTML.
4.01 Cascading Style Sheets
Tag Basics.
Font tag and its attributes
LESSON Extension Module 2: HTML Basics Tables.
HTML (Hypertext Markup Language )
Basics of XHTML What Lies Beneath.
LESSON 2 Module 2: XHTML Basics More Basic XHTML.
More Basic HTML 2 assignments: 1—complete the worksheet
Tutorial 3 Working with Cascading Style Sheets
Lesson 2 — HTML Organization Techniques
4.01 Cascading Style Sheets
Presentation transcript:

More Basic XHTML Module 2: XHTML Basics LESSON 2

Module 2: XHTML Basics LESSON 2 Lesson Overview In this lesson, you will learn to:  Manipulate XHTML code using a text editor application such as Notepad.  View Web pages created using XHTML code using a browser.  Change text within a Web page using XHTML coding.  Alignment text within an XHTML document.  Set the background color of a Web page.  Set the text color within a Web page.

Module 2: XHTML Basics LESSON 2 Guiding Questions for Lesson 2  What is text alignment and what are some examples of it?  What colors do you like to see when viewing a Web page?  How can a choice of color affect the message on a Web page?

Module 2: XHTML Basics LESSON 2 Text color  How did the code How would this attribute change things? change the text?  Web colors can be defined in three ways: 1.Color name 2.Hexadecimal code 3.RGB code

Module 2: XHTML Basics LESSON 2 Defining Color  Hexadecimal Color Chart - chickens.com/hex.htmlhttp:// chickens.com/hex.html  Visibone Hexadecimal Color Chart - codes.com/ codes.com/  216 Web Safe Color Chart (Hexadecimal and RGB)  Color Names and Hexadecimal Code  RGB, Hexadecimal and Color Names  RGB, Hexadecimal and Color Names -

Module 2: XHTML Basics LESSON 2 Background Color  Background color is defined using an attribute  The attribute to define background color is placed in the opening body tag.   What color will the background be using this code?

Module 2: XHTML Basics LESSON 2 Writing Code for Background color and Text color  Write the code that would display the following: White text on a black background

Module 2: XHTML Basics LESSON 2 Check your work:  Does your answer look like this:

Module 2: XHTML Basics LESSON 2 Text Alignment  Alignment refers to how the text is oriented on the page  Left  Right  Center

Module 2: XHTML Basics LESSON 2 Horizontal Rule  A horizontal rule is a horizontal line across the Web page  Created with the tag  Attributes can be added to the tag such as:  Width or how far the line extends across the page, defined by a percent  Size or how thick the line is, defined by an integer  Color, defined by a hexadecimal code   Creates a line that extends 90 percent across the Web page which is 10 pixels thick and the line is blue

Module 2: XHTML Basics LESSON 2 Lesson Review  Explain how to write the code and attributes for each of the following situations:  Text color  Background color  Alignment

Module 2: XHTML Basics LESSON 2 Practice: Beginning XHTML Create the following changes in your “Tags and Attributes” Web page:  Center the title “Tags and Attributes”  Make the background of the Web page green (Hint: The hexadecimal code for green is ).  Make the text color red (Hint: The hexadecimal code for red is FF0000).