N100 Building a Simple Web Page

Slides:



Advertisements
Similar presentations
XHTML Week Two Web Design. 2 What is XHTML? XHTML is the current standard for HTML Newest generation of HTML (post-HTML 4) but has many new features which.
Advertisements

Cascading Style Sheets
C HAPTER – 3 I NTRODUCTION TO H TML By :- Pinkesh H. Patel.
XHTML Basics.
1. Content – Collective term for all text, images, videos, etc. that you want to deliver to your audience. 2. Structure – How the content is placed on.
HTML/XML XHTML Authoring. Creating Tables  Table: An arrangement of horizontal rows and vertical columns. The intersection of a row and a column is called.
Copyright © 2004 ProsoftTraining, All Rights Reserved. Lesson 3: XHTML Coding © 2007 Prosoft Learning Corporation All rights reserved ITD 110 Web Page.
Site Development Foundations © 2004 ProsoftTraining All rights reserved.
INTRODUCTORY Tutorial 3 Using CSS to Format Multiple Pages.
Copyright © 2004 ProsoftTraining, All Rights Reserved. Lesson 4: Horizontal Rules and Graphical Elements.
Using Cascading Style Sheets CSS Basics. Goals Understand basic syntax of Cascading Style Sheets (CSS) Understand basic syntax of Cascading Style Sheets.
Using Cascading Style Sheets CSS Structure. Goals Understand how contextual, class and ID selectors work Understand how contextual, class and ID selectors.
Web page - A Web page is a simple text file that contains HTML tags (code) that describe what should be displayed on the browser. -The Web browser interprets.
Week 1.  Phillip Chee   Ext.1214 
CSCI N241: Fundamentals of Web Design Copyright ©2004  Department of Computer & Information Science Introducing XHTML: Module D: Text, Lists & Links.
Document Type Definitions Kanda Runapongsa Dept. of Computer Engineering Khon Kaen University.
Copyright © 2004 ProsoftTraining, All Rights Reserved. Lesson 4: Horizontal Rules and Graphical Elements © 2007 Prosoft Learning Corporation All rights.
Site Development Foundations © 2004 ProsoftTraining All rights reserved.
1 HTML intro The development of HTMLThe development of HTML The transition from HTML to XHTMLThe transition from HTML to XHTML XHTML syntax, tags, and.
1.  Describe the anatomy of a web page  Format the body of a web page with block-level elements including headings, paragraphs, lists, and blockquotes.
Chapter 2 HTML Basics Key Concepts Copyright © 2013 Terry Ann Morris, Ed.D 1.
1 Web Developer Foundations: Using XHTML Chapter 2 Key Concepts.
CSCI 1101 Intro to Computers
Introduction to Programming the WWW I CMSC Winter 2003 Lecture 3.
 2008 Pearson Education, Inc. All rights reserved Introduction to XHTML.
Tutorial 5 Formatting with CSS. Objectives Session 5.1 – Evaluate why CSS styles are used – Determine where to write styles – Create an element selector.
A Basic Web Page. Chapter 2 Objectives HTML tags and elements Create a simple Web Page XHTML Line breaks and Paragraph divisions Basic HTML elements.
Chapter 2 XHTML: Part II The Web Warrior Guide to Web Design Technologies.
INTRODUCTORY Tutorial 1 Using HTML Tags to Create Web Pages.
Copyright (c) 2004 Prentice-Hall. All rights reserved. 1 Committed to Shaping the Next Generation of IT Experts. Creating XHTML Documents Essentials for.
HTML – Organizing Page Content. HTML Images img tag Required attribute: src
CIS234A- Lecture 7 Instructor Greg D’Andrea. Tables A table can be displayed on a Web page either in a text or graphical format. A text table: – contains.
HTML – Organizing Page Content. HTML Images img tag Required attribute: src
INTRODUCTORY Tutorial 3 Using CSS to Format Multiple Pages.
HTML.
HTML Basics Computers. What is an HTML file? *HTML is a format that tells a computer how to display a web page. The documents themselves are plain text.
1 herbert van de sompel CS 502 Computing Methods for Digital Libraries Cornell University – Computer Science Herbert Van de Sompel
Are You Smarter Than a 5 th Grader? 1,000,000 5th Grade HTML 5th Grade Syntax 4th Grade HTML 4th Grade Syntax 3rd Grade HTML 3rd Grade Syntax 2nd Grade.
HTML tags and attributes By: Dennis Champagne. List of tags.
DESIGNING A WEB PAGE Introducing the… &TAGS.
Department of Computer Science, Florida State University CGS 3066: Web Programming and Design Spring
XP 2 HTML Tutorial 1: Developing a Basic Web Page.
NOTEPAD++ Lab 1 1 Riham ALSmari. Why Notepad++ ?  Syntax highlighting  Tabbed document interface  Zooming  Indentation code  Find and replace over.
Lesson 5. XHTML Tags, Attributes and Structure XHTML Basic Structure head and body titles Paragraph headings comments Document Presentation Manipulating.
HTML Extra Markup CS 1150 Spring 2017.
Working with Cascading Style Sheets
Web Architecture & HTML
HTML TEXT.
Working with Tables: Module A: Table Basics
Introducing XHTML: Module D: Text, Lists & Links
Madam Hazwani binti Rahmat
Using Cascading Style Sheets Module B: CSS Structure
The Web Warrior Guide to Web Design Technologies
Introduction to Scripting
Introduction to HTML.
CSS.
WEBSITE DESIGN Chp 1
IS 360 Understanding CSS Selectors
Exercise 8 – Software skills
Marking Up with XHTML Tags describe how a web page should look
Client-Side Internet and Web Programming
Cascading Style Sheets™ (CSS)
Structuring Content in a Web Document
Tutorial 1.3 Using Element Attributes
Understand basic HTML and CSS terminology, concepts, and basic operations. Objective 3.01.
Lesson 3: Cascading Style Sheets (CSS) and Graphical Elements
Lesson 2: HTML5 Coding.
Getting Started with Marking Up Page Content
Marking Up with XHTML Tags describe how a web page should look
Creating Web Documents
Presentation transcript:

N100 Building a Simple Web Page Text N100 Building a Simple Web Page XHTML

Text-Formatting Elements Formatting elements provide specific instructions about how their contents should be displayed For instance, the <b> element instructs user agents to display its contents as boldface text Phrase elements, however, primarily identify or describe their contents For instance, the <em> element is an emphasized piece of data, similar to a quotation XHTML

Text-Formatting Elements XHTML

The <pre> Element The <pre> element (short for preformatted text) tells a Web browser that any text and line breaks contained between the opening and closing tag are to be rendered exactly as they appear The <pre> element is still typically used to contain computer output or programming code that needs to be rendered in a monospace font and that needs to retain its original line breaks, spaces, and white space XHTML

Using Inline CSS on text You can use CSS to change the background color, the text color, and the size of the text. <p style = " background: blue; color: white; font-size:10pt;"> This is your paragraph. </p> XHTML

The <blockquote> Element The <blockquote> element is a block-level element that defines long quotations on Web pages The <blockquote> element includes an optional cite attribute to which you can assign a URL that cites the quotation, provided you found it on the Web The only purpose of the cite attribute is to identify the location of a URL that is the original source of a quotation; the value assigned to it is not rendered by a browser or visible in a ToolTip XHTML

Special Characters You will often find it necessary to add special characters to your XHTML documents, such as a copyright symbol (©) or a foreign character such as the Latin capital letter E with a circumflex (Ê) You add special characters to an XHTML document using numeric character references or character entity references XHTML

Numeric Character References A numeric character reference inserts a special character using its numeric position in the Unicode character set Unicode is a standardized set of characters from many of the world’s languages XHTML

Numeric Character References A number represents each character in the Unicode character set To display a character using a numeric character reference, place an ampersand (&) and the number sign (#) before the character’s Unicode number and a semicolon after the Unicode number XHTML

Numeric Character References Numeric character references and character references are both defined using an ampersand For this reason, a Web browser may be confused if it encounters an ampersand within the text of a Web page Therefore, you should use a numeric character reference of & in place of any ampersands in your document XHTML

Character Entities A character entity reference, or character entity, uses a descriptive name for a special character instead of its Unicode number For instance, the descriptive name for the copyright symbol is copy You can display the copyright symbol on a Web page using a character entity of © XHTML

Character Entities Most Web browsers ignore multiple, contiguous spaces on a Web page and replace them with a single space To force Web browsers to render multiple spaces, you must add a non-breaking space using the   character entity. Be careful with this character. It is wiser to use the number character reference, &#160, to get the multiple spacing. XHTML

Commonly Used Special Characters XHTML

Misc. Characters &#38 & ampersand &#37 % percentage sign &#35 # number sign &#42 * asterick &#61 = equal sign &#43 + plus sign &#47 / forward slash &#45 - hyphen or minus sign &#169 copyright symbol &#58 : colon &#60 < less than &#62 > greater than &#59 ; semicolon &#46 . period &#92 \ backslash &#8594 right arrow &#034 “ quotation mark XHTML