Advanced HTML Scripting WebGUI Users Conference

Size: px
Start display at page:

Download "Advanced HTML Scripting WebGUI Users Conference"

Transcription

1 Advanced HTML Scripting 2004 WebGUI Users Conference

2 XHTML where did that x come from?

3 XHTML =? Extensible Hypertext Markup Language Combination of HTML and XML More strict than HTML

4 Things to Remember Always include closing tags. Close empty elements with a slash. Must include values in attributes. Attributes must be enclosed in quotes. Write code in lowercase. Tags must be correctly nested. Always include a <!DOCTYPE> declaration in every document.

5 Closing Tags BAD GOOD <p>this XHTML is great stuff. <p>it sure is flexible! <p>this XHTML is great stuff.</p> <p>it sure is flexible!</p>

6 Close Empty Elements BAD GOOD Look at this cool photo <br> <img src= cool_photo.gif > Look at this cool photo <br /> <img src= cool_photo.gif />

7 Include Values in Attributes BAD GOOD <input type= radio id= bad checked> <input type= radio id= good checked= checked />

8 Enclose Attributes in Quotes BAD GOOD <table border=1 cellpadding=0> <td>bad</td> </table> <table border= 1 cellpadding= 0 > <td>good</td> </table>

9 Lowercase Code BAD GOOD <TABLE border=1 cellpadding=0> <TR> <TD>Bad</TD> </TR> </TABLE> <table border= 1 cellpadding= 0 > <td>good</td> </table>

10 Nest Your Tags BAD GOOD <b><p><i>look ma,</i> I m eating some delicious chicken! </b></p> <p><b><i>look ma,</i> I m eating some delicious chicken! </b></p>

11 Document Type Declarations Transitional DTD: allows for use of HTML s deprecated elements and attributes. Strict DTD: doesn t permit the use of any presentational (deprecated) elements or attributes. Must use CSS to add style to your site. Frameset DTD: used for frame based pages.

12 Document Type Declarations Transitional DTD: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" " Strict DTD: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" " Frameset DTD: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "

13 Tables 101 table building basics

14 KEEP IT SIMPLE

15 Key Elements <table> </table> Table element creates the table Table row element establishes a row <td></td> Table data element creates individual cells in a row (the columns) Content should be placed between the TD tags.

16 Tags in Use <table> </table> X X X X X X X X X

17 Headings Use the <th></th> element rather than <td></td> to add a heading. <table> <th>col 1</th> <th>col 2</th> <th>col 3</th> </table> Col 1 Col 2 Col 3 X X X X X X

18 Captions Use the <caption></caption> to add a title to your table. <table> <caption>title Here </caption> <th>col 1</th> <th>col 2</th> <th>col 3</th> </table> TITLE HERE Col 1 Col 2 Col 3 X X X X X X

19 Grouping Elements Allow you to organize tables by section. <thead> </thead> Specifies a header for the table. <tbody></tbody> Specify the body section. <tfoot></tfoot> Specify the footer section.

20 Grouping Elements <table> <thead> <td>header</td> </thead> <tfoot> <td>footer</td> </foot> <tbody> <td>body</td> </tbody> </table> Header Body Footer

21 Table Attributes

22 Adding Color With CSS Add color in the <table> element to control the color of the entire table. Add color in the element to control the color of the row. Add color in the <td> or <th> element to control the color of individual cells.

23 Adding Color With CSS Inline style is used below. You can also use embedded and linked stylesheets. <table> <caption>title Here </caption> <th>col 1</th> <th>col 2</th> <th>col 3</th> <td style= backgroundcolor: blue; >X</td> </table> TITLE HERE Col 1 Col 2 Col 3 X X X X X X

24 Adding Borders To display borders on your table use the border attribute. <table border= 1 > <caption>title Here </caption> <th>col 1</th> <th>col 2</th> <th>col 3</th> </table> TITLE HERE Col 1 Col 2 Col 3 X X X X X X

25 cellpadding & cellspacing Use the cellspacing attribute to adjust space between cells. Use cellpadding to adjust space inside the cells. Measured in pixels. Must be placed in your table element. CSS is advised for more padding options.

26 cellpadding & cellspacing To display borders on your table use the border attribute. <table border= 1 cellpadding= 10 cellspacing= 10 > <caption>title Here </caption> <th>col 1</th> <th>col 2</th> <th>col 3</th> </table> TITLE HERE Col 1 Col 2 Col 3 X X X X X X

27 Positioning

28 Horizontal Alignment Use the align attribute in each cell you want to align. Left: The Default alignment. Aligns cell content to the left. Right: Aligns cell content to the right. Center: Aligns cell content to the center Justify: Also aligns cell content to the left

29 Horizontal Alignment <table border= 1 > <caption>title Here </caption> <th>col 1</th> <th>col 2</th> <th>col 3</th> <td align= left >X</td> <td align= center >X</td> <td align= right >X</td> </table> TITLE HERE Col 1 Col 2 Col 3 X X X X X X

30 Ver tical Alignment Use the valign attribute in to align content at the top, middle, or bottom Top: Aligns cell content to the top. Middle: The Default alignment. Aligns cell content to the middle. Bottom: Aligns cell content to the bottom. Baseline: Aligns with a baseline shared by all the cells in a given row.

31 Ver tical Alignment <table border= 1 > <caption>title Here </caption> <th>col 1</th> <th>col 2</th> <th>col 3</th> <td align= left >X</td> <td align= center >X</td> <td align= right >X</td> <td valign= top >X</td> <td valign= middle >X</td> <td valign= bottom >X</td> </table> TITLE HERE Col 1 Col 2 Col 3 X X X X X X

32 Colspan & Rowspan

33 Colspan To make a cell span multiple columns use colspan <table border= 1 > <caption>title Here </caption> <th>col 1</th> <th>col 2</th> <th>col 3</th> <td align= left >X</td> <td align= center >X</td> <td align= right >X</td> <td valign= top >X</td> <td valign= middle colspan= 2 >X</td> </table> TITLE HERE Col 1 Col 2 Col 3 X X X X X

34 Rowspan To make a cell span multiple rows use rowspan <table border= 1 > <caption>title Here </caption> <th>col 1</th> <th>col 2</th> <th>col 3</th> <td align= left rowspan= 2 >X</td> <td align= center >X</td> <td align= right >X</td> <td valign= middle colspan= 2 >X</td> </table> TITLE HERE Col 1 Col 2 Col 3 X X X X

35 Forms

36 Form Uses Contact Forms Surveys Guestbooks CMS Admin Forms Search Engines Order Forms Catalogs MUCH MORE

37 Form Element <body> <form> </form> </body> Form Element creates the form

38 Form Action <body> <form action= > </form> </body> Action attribute tells browser where to send information (can be address or a script).

39 Form Method <body> <form action= method= post > </form> </body> Method attribute tells browser how to send information. Get or Post

40 <input type= text /> <body> <form action= method= post > First Name: <input type= text name= fname size= 15 maxlength= 30 /> </form> </body> First Name:

41 <textarea> <body> <form action= method= post > First Name: <input type= text name= fname size= 15 maxlength= 30 /><br /> <textarea name= message rows= 10 cols= 45 ></textarea> </form> </body> First Name:

42 Submit & Reset <body> <form action= method= post > First Name: <input type= text name= fname size= 15 maxlength= 30 /><br /> <textarea name= message rows= 10 cols= 45 ></textarea><br /> <input type= submit /> <input type= reset /> </form> </body> First Name:

43 <input type= text /> <table> <td>first Name:</td> <td><input type="text" name="fname" size="15" maxlength="20" /></td> <td>last Name:</td> <td><input type="text" name="lname" size="15" maxlength="20" /></ td> <td>city:</td> <td><input type="text" name="city" size="15" maxlength="20" /></td> <td>state:</td> <td><input type="text" name="state" size="15" /></td> <td>country:</td> <td><input type="text" name="country" size="15" maxlength="20" /></ td> </table> First Name: Last Name: City: State: Country:

44 <input type= radio /> <p>your age (choose one):</p> <input type="radio" name="age" value="13-18" /><br /> <input type="radio" name="age" value="19-30" /><br /> <input type="radio" name="age" value="31-40" checked="checked" /><br /> <input type="radio" name="age" value="41-50" /><br /> Your age (choose one): : 41-50:

45 < i n p u t t y p e = c h e c k b ox / > <p>fiction Preferences</p> <input type="checkbox" name="fictionpreferences" value="historical" />Historical<br /> <input type="checkbox" name="fictionpreferences" value="literary" />Literary<br /> <input type="checkbox" name="fictionpreferences" value="mystery" />Mystery<br /> <input type="checkbox" name="fictionpreferences" value="romance" />Romance<br /> <input type="checkbox" name="fictionpreferences" value="thriller" />Suspense/Thriller<br /> Fiction Preferences Historical Literary Mystery Romance Suspense

46 < s e l e c t i d = > < / s e l e c t > <p>your gender:</p> <select name="sex"> <option selected= 1 value="male" >Male</option> <option value="female" >Female</option> </select> Your gender: Male

47 < s e l e c t i d = m u l t i p l e = m u l t i p l e > < / s e l e c t > <p>bookstore Preferences</p> <select name="bookpurchasepref" multiple="multiple" size="5"> <option selected= 1 value="amazon">amazon.com</ option> <option value="bncom">bn.com</option> <option value="bn">barnes and Noble</option> <option value="borders">borders</option> <option value="halfcom">half.com</option> <option value="hastings">hastings Entertainment</ option> <option value="walden">waldenbooks</option> <option value="hpbooks">half Price Books</option> <option value="powells">powells Books</option> </select> <p>for multiple selections, hold down the Control key while clicking.</p> Bookstore Preferences For multiple selections, hold down the Control key while clicking.

48 Search Engine Optimization

49 Choose Keywords Wisely Think "specific keyword phrases" not "keywords". Think like your target audience. See what your competition is up to. Use nouns & adjectives. Too General 1. shoes 2. men's shoes 3. women's shoes Better 1. imported italian shoes 2. men's leather loafers 3. women's aerobic sneakers

50 Optimize Your Title Tags Search engines & directories place a high level of importance on keywords that are found in your title tag. Include a couple keywords in your title tag. Make title tag enticing.

51 Optimize Your Page Copy Try to have at least 200 words of copy per page. Use your keywords and keyword phrases in your copy.

52 Optimize Your Meta Tags Meta Description: <META NAME="description" content="keyword phrases would appear in this description"> Meta Keywords: <META NAME="keywords" content="keywords phrase 1, keyword phrase 2, keyword phrase 3, etc."> Place meta tags between <head> </head> tags. Include keyword phrases in your description. Include common misspellings in your keywords.

53 Optimize Your Alt Tags Use keyword phrases as well as a description. Keep keywords to a minimum. Keep alt tags brief (sentence or two).

54 Optimize Text Based Navigation Text based links can help improve search engine listings. Search engines can spider text based navigation.

55 What Not To Do List keywords outside of your meta keyword tag. Use the same color text as your background color. Submit the same page to search engines within 24 hours. Use keywords that don t relate to your site.

56 Resources

57 Online Resources xhtml_reference.asp

58 QUESTIONS

CHAPTER 2 MARKUP LANGUAGES: XHTML 1.0

CHAPTER 2 MARKUP LANGUAGES: XHTML 1.0 WEB TECHNOLOGIES A COMPUTER SCIENCE PERSPECTIVE CHAPTER 2 MARKUP LANGUAGES: XHTML 1.0 Modified by Ahmed Sallam Based on original slides by Jeffrey C. Jackson reserved. 0-13-185603-0 HTML HELLO WORLD! Document

More information

CSI 3140 WWW Structures, Techniques and Standards. Markup Languages: XHTML 1.0

CSI 3140 WWW Structures, Techniques and Standards. Markup Languages: XHTML 1.0 CSI 3140 WWW Structures, Techniques and Standards Markup Languages: XHTML 1.0 HTML Hello World! Document Type Declaration Document Instance Guy-Vincent Jourdan :: CSI 3140 :: based on Jeffrey C. Jackson

More information

HTML & XHTML Tag Quick Reference

HTML & XHTML Tag Quick Reference HTML & XHTML Tag Quick Reference This reference notes some of the most commonly used HTML and XHTML tags. It is not, nor is it intended to be, a comprehensive list of available tags. Details regarding

More information

Chapter 2:- Introduction to XHTML. Compiled By:- Sanjay Patel Assistant Professor, SVBIT.

Chapter 2:- Introduction to XHTML. Compiled By:- Sanjay Patel Assistant Professor, SVBIT. Chapter 2:- Introduction to XHTML Compiled By:- Assistant Professor, SVBIT. Outline Introduction to XHTML Move to XHTML Meta tags Character entities Frames and frame sets Inside Browser What is XHTML?

More information

Internet publishing HTML (XHTML) language. Petr Zámostný room: A-72a phone.:

Internet publishing HTML (XHTML) language. Petr Zámostný room: A-72a phone.: Internet publishing HTML (XHTML) language Petr Zámostný room: A-72a phone.: 4222 e-mail: petr.zamostny@vscht.cz Essential HTML components Element element example Start tag Element content End tag

More information

IT350 Web and Internet Programming. XHTML Tables and Forms (from Chapter 4 of the text 4 th edition Chapter 2 of the text 5 th edition)

IT350 Web and Internet Programming. XHTML Tables and Forms (from Chapter 4 of the text 4 th edition Chapter 2 of the text 5 th edition) IT350 Web and Internet Programming XHTML Tables and Forms (from Chapter 4 of the text 4 th edition Chapter 2 of the text 5 th edition) 4.10 Tables 1 Table Basics table element border, summary, caption

More information

HTML Summary. All of the following are containers. Structure. Italics Bold. Line Break. Horizontal Rule. Non-break (hard) space.

HTML Summary. All of the following are containers. Structure. Italics Bold. Line Break. Horizontal Rule. Non-break (hard) space. HTML Summary Structure All of the following are containers. Structure Contains the entire web page. Contains information

More information

Summary 4/5. (contains info about the html)

Summary 4/5. (contains info about the html) Summary Tag Info Version Attributes Comment 4/5

More information

introduction to XHTML

introduction to XHTML introduction to XHTML XHTML stands for Extensible HyperText Markup Language and is based on HTML 4.0, incorporating XML. Due to this fusion the mark up language will remain compatible with existing browsers

More information

Web Development & Design Foundations with HTML5

Web Development & Design Foundations with HTML5 1 Web Development & Design Foundations with HTML5 CHAPTER 8 TABLES 2 Learning Outcomes In this chapter, you will learn how to... Create a basic table with the table, table row, table header, and table

More information

2.1 Origins and Evolution of HTML

2.1 Origins and Evolution of HTML 2.1 Origins and Evolution of HTML - HTML was defined with SGML - Original intent of HTML: General layout of documents that could be displayed by a wide variety of computers - Recent versions: - HTML 4.0

More information

Web Design and Application Development

Web Design and Application Development Yarmouk University Providing Fundamental ICT Skills for Syrian Refugees (PFISR) Web Design and Application Development Dr. Abdel-Karim Al-Tamimi altamimi@yu.edu.jo Lecture 04 A. Al-Tamimi 1 Lecture Overview

More information

XHTML & CSS CASCADING STYLE SHEETS

XHTML & CSS CASCADING STYLE SHEETS CASCADING STYLE SHEETS What is XHTML? XHTML stands for Extensible Hypertext Markup Language XHTML is aimed to replace HTML XHTML is almost identical to HTML 4.01 XHTML is a stricter and cleaner version

More information

INFS 2150 / 7150 Intro to Web Development / HTML Programming

INFS 2150 / 7150 Intro to Web Development / HTML Programming XP Objectives INFS 2150 / 7150 Intro to Web Development / HTML Programming Designing a Web Page with Tables Create a text table Create a table using the , , and tags Create table headers

More information

COSC 2206 Internet Tools. Brief Survey of HTML and XHTML Document Structure Formatting

COSC 2206 Internet Tools. Brief Survey of HTML and XHTML Document Structure Formatting COSC 2206 Internet Tools Brief Survey of HTML and XHTML Document Structure Formatting 1 W3C HTML Home page W3C is the World Wide Web Consortium and their home page has lots of information, links, and a

More information

Index. CSS directive, # (octothorpe), intrapage links, 26

Index. CSS directive, # (octothorpe), intrapage links, 26 Holzschlag_.qxd 3/30/05 9:23 AM Page 299 Symbols @import CSS directive, 114-115 # (octothorpe), intrapage links, 26 A a element, 23, 163, 228 abbr element, 228 absolute keywords for font sizing, 144 absolute

More information

COMSC-030 Web Site Development- Part 1. Part-Time Instructor: Joenil Mistal

COMSC-030 Web Site Development- Part 1. Part-Time Instructor: Joenil Mistal COMSC-030 Web Site Development- Part 1 Part-Time Instructor: Joenil Mistal Chapter 9 9 Working with Tables Are you looking for a method to organize data on a page? Need a way to control our page layout?

More information

Chapter 4 Creating Tables in a Web Site Using an External Style Sheet

Chapter 4 Creating Tables in a Web Site Using an External Style Sheet Chapter 4 Creating Tables in a Web Site Using an External Style Sheet MULTIPLE RESPONSE Modified Multiple Choice 1. Attributes are set relative to the elements in a table. a. line c. row b. column d. cell

More information

HTML TAG SUMMARY HTML REFERENCE 18 TAG/ATTRIBUTE DESCRIPTION PAGE REFERENCES TAG/ATTRIBUTE DESCRIPTION PAGE REFERENCES MOST TAGS

HTML TAG SUMMARY HTML REFERENCE 18 TAG/ATTRIBUTE DESCRIPTION PAGE REFERENCES TAG/ATTRIBUTE DESCRIPTION PAGE REFERENCES MOST TAGS MOST TAGS CLASS Divides tags into groups for applying styles 202 ID Identifies a specific tag 201 STYLE Applies a style locally 200 TITLE Adds tool tips to elements 181 Identifies the HTML version

More information

HTTP and HTML. We will use HTML as a frontend to our webapplications, therefore a basic knowledge of HTML is required, especially in forms.

HTTP and HTML. We will use HTML as a frontend to our webapplications, therefore a basic knowledge of HTML is required, especially in forms. HTTP and HTML We will use HTML as a frontend to our webapplications, therefore a basic knowledge of HTML is required, especially in forms. HTTP and HTML 28 January 2008 1 When the browser and the server

More information

COMPUTER APPLICATIONS IN BUSINESS FYBMS SEM II

COMPUTER APPLICATIONS IN BUSINESS FYBMS SEM II CHAPTER 1: HTML 1. What is HTML? Define its structure. a. HTML [Hypertext Markup Language] is the main markup language for creating web pages and other information that can be displayed in a web browser.

More information

Chapter 5. Introduction to XHTML: Part 2

Chapter 5. Introduction to XHTML: Part 2 Chapter 5. Introduction to XHTML: Part 2 Tables Attributes of the table element: border: width of the table border in pixels (0 makes all lines invisible) align: horizontal alignment (left, center, or

More information

CS 350 COMPUTER/HUMAN INTERACTION. Lecture 6

CS 350 COMPUTER/HUMAN INTERACTION. Lecture 6 CS 350 COMPUTER/HUMAN INTERACTION Lecture 6 Setting up PPP webpage Log into lab Linux client or into csserver directly Webspace (www_home) should be set up Change directory for CS 350 assignments cp r

More information

IMY 110 Theme 7 HTML Tables

IMY 110 Theme 7 HTML Tables IMY 110 Theme 7 HTML Tables 1. HTML Tables 1.1. Tables The HTML table model allows authors to arrange data into rows and columns of cells, just as in word processing software such as Microsoft Word. It

More information

HTML. HTML Evolution

HTML. HTML Evolution Overview stands for HyperText Markup Language. Structured text with explicit markup denoted within < and > delimiters. Not what-you-see-is-what-you-get (WYSIWYG) like MS word. Similar to other text markup

More information

LAB MANUAL SUBJECT: WEB TECHNOLOGY CLASS : T.E (COMPUTER) SEMESTER: VI

LAB MANUAL SUBJECT: WEB TECHNOLOGY CLASS : T.E (COMPUTER) SEMESTER: VI LAB MANUAL SUBJECT: WEB TECHNOLOGY CLASS : T.E (COMPUTER) SEMESTER: VI INDEX No. Title Pag e No. 1 Implements Basic HTML Tags 3 2 Implementation Of Table Tag 4 3 Implementation Of FRAMES 5 4 Design A FORM

More information

Copyright 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley. Chapter 2 Introduction to XHTML

Copyright 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley. Chapter 2 Introduction to XHTML Chapter 2 Introduction to XHTML 2.1 Origins and Evolution of HTML HTML was defined with SGML Original intent of HTML: General layout of documents that could be displayed by a wide variety of computers

More information

Islamic University of Gaza Faculty of Engineering Department of Computer Engineering ECOM Advanced Internet Technology Lab.

Islamic University of Gaza Faculty of Engineering Department of Computer Engineering ECOM Advanced Internet Technology Lab. Islamic University of Gaza Faculty of Engineering Department of Computer Engineering ECOM 5049 Advanced Internet Technology Lab Lab # 1 Eng. Haneen El-masry February, 2015 Objective To be familiar with

More information

Chapter 4 Notes. Creating Tables in a Website

Chapter 4 Notes. Creating Tables in a Website Chapter 4 Notes Creating Tables in a Website Project for Chapter 4 Statewide Realty Web Site Chapter Objectives Define table elements Describe the steps used to plan, design, and code a table Create a

More information

HTML: The Basics & Block Elements

HTML: The Basics & Block Elements HTML: The Basics & Block Elements CISC 282 September 13, 2017 What is HTML? Hypertext Markup Language Markup language "Set of words or symbols" Assigns properties to text Not actually part of the text

More information

Creating a Web Page with HTML

Creating a Web Page with HTML CT1501 DEVELOPMENT OF INTERNET APPLICATION Creating a Web Page with HTML Prepared By: Huda Alsuwailem Reviewed by: Rehab Alfallaj www.faculty.ksu.edu.sa/rehab-alfallaj ralfallaj@ksu.edu.sa Tables

More information

As we design and build out our HTML pages, there are some basics that we may follow for each page, site, and application.

As we design and build out our HTML pages, there are some basics that we may follow for each page, site, and application. Extra notes - Client-side Design and Development Dr Nick Hayward HTML - Basics A brief introduction to some of the basics of HTML. Contents Intro element add some metadata define a base address

More information

Name Related Elements Type Default Depr. DTD Comment

Name Related Elements Type Default Depr. DTD Comment Legend: Deprecated, Loose DTD, Frameset DTD Name Related Elements Type Default Depr. DTD Comment abbr TD, TH %Text; accept-charset FORM %Charsets; accept FORM, INPUT %ContentTypes; abbreviation for header

More information

Introducing Web Tables

Introducing Web Tables TABLE AND FRAMESET Introducing Web Tables A table can be displayed on a Web page either in a text or graphical format. A text table: Contains only text, evenly spaced on the Web page in rows and columns

More information

1/6/ :28 AM Approved New Course (First Version) CS 50A Course Outline as of Fall 2014

1/6/ :28 AM Approved New Course (First Version) CS 50A Course Outline as of Fall 2014 1/6/2019 12:28 AM Approved New Course (First Version) CS 50A Course Outline as of Fall 2014 CATALOG INFORMATION Dept and Nbr: CS 50A Title: WEB DEVELOPMENT 1 Full Title: Web Development 1 Last Reviewed:

More information

Structure Bars. Tag Bar

Structure Bars. Tag Bar C H E A T S H E E T / / F L A R E 2 0 1 8 Structure Bars The XML Editor provides structure bars above and to the left of the content area in order to provide a visual display of the topic tags and structure.

More information

Web Technologies - by G. Sreenivasulu Handout - 1 UNIT - I

Web Technologies - by G. Sreenivasulu Handout - 1 UNIT - I INTRODUCTION: UNIT - I HTML stands for Hyper Text Markup Language.HTML is a language for describing web pages.html is a language for describing web pages.html instructions divide the text of a document

More information

Part A Short Answer (50 marks)

Part A Short Answer (50 marks) Part A Short Answer (50 marks) NOTE: Answers for Part A should be no more than 3-4 sentences long. 1. (5 marks) What is the purpose of HTML? What is the purpose of a DTD? How do HTML and DTDs relate to

More information

Module 2 (III): XHTML

Module 2 (III): XHTML INTERNET & WEB APPLICATION DEVELOPMENT SWE 444 Fall Semester 2008-2009 (081) Module 2 (III): XHTML Dr. El-Sayed El-Alfy Computer Science Department King Fahd University of Petroleum and Minerals alfy@kfupm.edu.sa

More information

Advanced Web Programming C2. Basic Web Technologies

Advanced Web Programming C2. Basic Web Technologies Politehnica University of Timisoara Advanced Web Programming C2. Basic Web Technologies 2013 UPT-AC Assoc.Prof.Dr. Dan Pescaru HTML Originally developed by Tim Berners-Lee in 1990 at CERN (Conseil Européen

More information

2.1 Origins and Evolution of HTML. 2.3 HTML Document Structure

2.1 Origins and Evolution of HTML. 2.3 HTML Document Structure Chapter 2 Introduction to XHTML 2.1 Origins and Evolution of HTML HTML was defined with SGML Original intent of HTML: General layout of documents that could be displayed by a wide variety of computers

More information

Tables & Lists. Organized Data. R. Scott Granneman. Jans Carton

Tables & Lists. Organized Data. R. Scott Granneman. Jans Carton Tables & Lists Organized Data R. Scott Granneman Jans Carton 1.3 2014 R. Scott Granneman Last updated 2015-11-04 You are free to use this work, with certain restrictions. For full licensing information,

More information

Html basics Course Outline

Html basics Course Outline Html basics Course Outline Description Learn the essential skills you will need to create your web pages with HTML. Topics include: adding text any hyperlinks, images and backgrounds, lists, tables, and

More information

Skill Area 323: Design and Develop Website. Multimedia and Web Design (MWD)

Skill Area 323: Design and Develop Website. Multimedia and Web Design (MWD) Skill Area 323: Design and Develop Website Multimedia and Web Design (MWD) 323.3 Create a Web page using tables and frames (7 hrs) 323.3.1 Insert and modify tables on a Web page 323.3.2 Merge and split

More information

Web Technology. HTML & xhtml

Web Technology. HTML & xhtml 01076541 Web Technology HTML & xhtml Introducing HTML and xhtml HTML standard is overseen by W3C Current major version is HTML 4.01 (release Dec. 1999) Added stricter rules to HTML 4.01 in Jan. 2000 creating

More information

Deccansoft Software Services

Deccansoft Software Services Deccansoft Software Services (A Microsoft Learning Partner) HTML and CSS COURSE SYLLABUS Module 1: Web Programming Introduction In this module you will learn basic introduction to web development. Module

More information

Tables *Note: Nothing in Volcano!*

Tables *Note: Nothing in Volcano!* Tables *Note: Nothing in Volcano!* 016 1 Learning Objectives After this lesson you will be able to Design a web page table with rows and columns of text in a grid display Write the HTML for integrated

More information

HTML 5.0 KKCC INFO SYSTEMS. K.SrinivasaRao

HTML 5.0 KKCC INFO SYSTEMS. K.SrinivasaRao HTML 5.0 KKCC INFO SYSTEMS K.SrinivasaRao Document Type Declaration

More information

Tutorial 5 Working with Tables and Columns. HTML and CSS 6 TH EDITION

Tutorial 5 Working with Tables and Columns. HTML and CSS 6 TH EDITION Tutorial 5 Working with Tables and Columns HTML and CSS 6 TH EDITION Objectives Explore the structure of a Web table Create headings and cells in a table Create cells that span multiple rows and columns

More information

HYPERTEXT MARKUP LANGUAGE ( HTML )

HYPERTEXT MARKUP LANGUAGE ( HTML ) 1 HTML BASICS MARK-UP LANGUAGES Traditionally used to provide typesetting information to printers where text should be indented, margin sizes, bold text, special font sizes and styles, etc. Word processors

More information

CSC Web Technologies, Spring HTML Review

CSC Web Technologies, Spring HTML Review CSC 342 - Web Technologies, Spring 2017 HTML Review HTML elements content : is an opening tag : is a closing tag element: is the name of the element attribute:

More information

Chapter 7 Tables and Layout

Chapter 7 Tables and Layout Chapter 7 Tables and Layout Presented by Thomas Powell Slides adopted from HTML & XHTML: The Complete Reference, 4th Edition 2003 Thomas A. Powell We want Layout! Design requirements: pixel level layout,

More information

Dreamweaver CS3 Concepts and Techniques

Dreamweaver CS3 Concepts and Techniques Dreamweaver CS3 Concepts and Techniques Chapter 3 Tables and Page Layout Part 1 Other pages will be inserted in the website Hierarchical structure shown in page DW206 Chapter 3: Tables and Page Layout

More information

Chapter 7 Tables and Layout

Chapter 7 Tables and Layout Chapter 7 Tables and Layout Presented by Thomas Powell Slides adopted from HTML & XHTML: The Complete Reference, 4th Edition 2003 Thomas A. Powell We want Layout! Design requirements: pixel level layout,

More information

Which of the following is/are a valid value for the type attribute of the input tag? a. text. b. icon. c. reset. d. password

Which of the following is/are a valid value for the type attribute of the input tag? a. text. b. icon. c. reset. d. password Which of the following is/are a valid value for the type attribute of the input tag? a. text b. icon c. reset d. password Which of the following is true for the tag in HTML 4.01? a. It does need

More information

Certified HTML5 Developer VS-1029

Certified HTML5 Developer VS-1029 VS-1029 Certified HTML5 Developer Certification Code VS-1029 HTML5 Developer Certification enables candidates to develop websites and web based applications which are having an increased demand in the

More information

c122sep2214.notebook September 22, 2014

c122sep2214.notebook September 22, 2014 This is using the border attribute next we will look at doing the same thing with CSS. 1 Validating the page we just saw. 2 This is a warning that recommends I use CSS. 3 This caused a warning. 4 Now I

More information

COPYRIGHTED MATERIAL. Contents. Introduction. Chapter 1: Structuring Documents for the Web 1

COPYRIGHTED MATERIAL. Contents. Introduction. Chapter 1: Structuring Documents for the Web 1 Introduction Chapter 1: Structuring Documents for the Web 1 A Web of Structured Documents 1 Introducing HTML and XHTML 2 Tags and Elements 4 Separating Heads from Bodies 5 Attributes Tell Us About Elements

More information

Web Programming Week 2 Semester Byron Fisher 2018

Web Programming Week 2 Semester Byron Fisher 2018 Web Programming Week 2 Semester 1-2018 Byron Fisher 2018 INTRODUCTION Welcome to Week 2! In the next 60 minutes you will be learning about basic Web Programming with a view to creating your own ecommerce

More information

(X)HTML. Internet Engineering. Spring Bahador Bakhshi CE & IT Department, Amirkabir University of Technology

(X)HTML. Internet Engineering. Spring Bahador Bakhshi CE & IT Department, Amirkabir University of Technology (X)HTML Internet Engineering Spring 2018 Bahador Bakhshi CE & IT Department, Amirkabir University of Technology Questions Q2) How is a web page organized? Q2.1) What language is used for web pages? Q2.2)

More information

Wireframe :: tistory wireframe tistory.

Wireframe :: tistory wireframe tistory. Page 1 of 45 Wireframe :: tistory wireframe tistory Daum Tistory GO Home Location Tags Media Guestbook Admin 'XHTML+CSS' 7 1 2009/09/20 [ ] XHTML CSS - 6 (2) 2 2009/07/23 [ ] XHTML CSS - 5 (6) 3 2009/07/17

More information

Creating A Web Page. Computer Concepts I and II. Sue Norris

Creating A Web Page. Computer Concepts I and II. Sue Norris Creating A Web Page Computer Concepts I and II Sue Norris Agenda What is HTML HTML and XHTML Tags Required HTML and XHTML Tags Using Notepad to Create a Simple Web Page Viewing Your Web Page in a Browser

More information

The Hypertext Markup Language (HTML) Part II. Hamid Zarrabi-Zadeh Web Programming Fall 2013

The Hypertext Markup Language (HTML) Part II. Hamid Zarrabi-Zadeh Web Programming Fall 2013 The Hypertext Markup Language (HTML) Part II Hamid Zarrabi-Zadeh Web Programming Fall 2013 2 Outline HTML Structures Tables Forms New HTML5 Elements Summary HTML Tables 4 Tables Tables are created with

More information

Introduction to HTML5

Introduction to HTML5 Introduction to HTML5 History of HTML 1991 HTML first published 1995 1997 1999 2000 HTML 2.0 HTML 3.2 HTML 4.01 XHTML 1.0 After HTML 4.01 was released, focus shifted to XHTML and its stricter standards.

More information

HTML 5 Tables and Forms

HTML 5 Tables and Forms Tables for Tabular Data Display HTML 5 Tables and Forms Tables can be used to represet information in a two-dimensional format. Typical table applications include calendars, displaying product catelog,

More information

Table-Based Web Pages

Table-Based Web Pages Table-Based Web Pages Web Authoring and Design Benjamin Kenwright Outline What do we mean by Table-Based Web Sites? Review Table Tags/Structure Tips/Debugging/Applications Summary Review/Discussion Submissions/Quizzes/GitHub

More information

HTML Tables and Forms. Outline. Review. Review. Example Demo/ Walkthrough. CS 418/518 Web Programming Spring Tables to Display Data"

HTML Tables and Forms. Outline. Review. Review. Example Demo/ Walkthrough. CS 418/518 Web Programming Spring Tables to Display Data CS 418/518 Web Programming Spring 2014 HTML Tables and Forms Dr. Michele Weigle http://www.cs.odu.edu/~mweigle/cs418-s14/ Outline! Assigned Reading! Chapter 4 "Using Tables to Display Data"! Chapter 5

More information

2.1 Origins and Evolution of HTML

2.1 Origins and Evolution of HTML 2.1 Origins and Evolution of HTML - Derived from SGML - Original intent: General layout of documents that could be displayed by a wide variety of computers - Recent versions: - HTML 4.0-1997 - Introduced

More information

Announcements. Paper due this Wednesday

Announcements. Paper due this Wednesday Announcements Paper due this Wednesday 1 Client and Server Client and server are two terms frequently used Client/Server Model Client/Server model when talking about software Client/Server model when talking

More information

Lecture 08. Tables in HTML. Mr. Mubashir Ali Lecturer (Dept. of Computer Science)

Lecture 08. Tables in HTML. Mr. Mubashir Ali Lecturer (Dept. of Computer Science) Lecture 08 Tables in HTML Mr. Mubashir Ali Lecturer (Dept. of dr.mubashirali1@gmail.com 1 Summary of the previous lecture Adding images to web page Using images as links Image map Adding audio and video

More information

Spring 2014 Interim. HTML forms

Spring 2014 Interim. HTML forms HTML forms Forms are used very often when the user needs to provide information to the web server: Entering keywords in a search box Placing an order Subscribing to a mailing list Posting a comment Filling

More information

Certified HTML Designer VS-1027

Certified HTML Designer VS-1027 VS-1027 Certification Code VS-1027 Certified HTML Designer Certified HTML Designer HTML Designer Certification allows organizations to easily develop website and other web based applications which are

More information

1. Please, please, please look at the style sheets job aid that I sent to you some time ago in conjunction with this document.

1. Please, please, please look at the style sheets job aid that I sent to you some time ago in conjunction with this document. 1. Please, please, please look at the style sheets job aid that I sent to you some time ago in conjunction with this document. 2. W3Schools has a lovely html tutorial here (it s worth the time): http://www.w3schools.com/html/default.asp

More information

HTML HTML. Chris Seddon CRS Enterprises Ltd 1

HTML HTML. Chris Seddon CRS Enterprises Ltd 1 Chris Seddon seddon-software@keme.co.uk 2000-12 CRS Enterprises Ltd 1 2000-12 CRS Enterprises Ltd 2 Reference Sites W3C W3C w3schools DevGuru Aptana GotAPI Dog http://www.w3.org/ http://www.w3schools.com

More information

CITS1231 Web Technologies. HTML Tables and Page Design Issues

CITS1231 Web Technologies. HTML Tables and Page Design Issues CITS1231 Web Technologies HTML Tables and Page Design Issues Lecture Content Defining Tables Creating Hyperlinks Formatting Text Meta-data Good HTML practices 2 Creating a Newspaper-Style Layout 3 Table

More information

Chapter 9 Table Basics Key Concepts. Copyright 2013 Terry Ann Morris, Ed.D

Chapter 9 Table Basics Key Concepts. Copyright 2013 Terry Ann Morris, Ed.D Chapter 9 Table Basics Key Concepts Copyright 2013 Terry Ann Morris, Ed.D 1 Learning Outcomes Describe the recommended use of a table on a web page Configure a basic table with the table, table row, table

More information

JSF - H:PANELGRID. JSF Tag. Rendered Output. Tag Attributes. The h:panel tag renders an HTML "table" element. Attribute & Description.

JSF - H:PANELGRID. JSF Tag. Rendered Output. Tag Attributes. The h:panel tag renders an HTML table element. Attribute & Description. http://www.tutorialspoint.com/jsf/jsf_panelgrid_tag.htm JSF - H:PANELGRID Copyright tutorialspoint.com The h:panel tag renders an HTML "table" element. JSF Tag

More information

Motivation (WWW) Markup Languages (defined). 7/15/2012. CISC1600-SummerII2012-Raphael-lec2 1. Agenda

Motivation (WWW) Markup Languages (defined). 7/15/2012. CISC1600-SummerII2012-Raphael-lec2 1. Agenda CISC 1600 Introduction to Multi-media Computing Agenda Email Address: Course Page: Class Hours: Summer Session II 2012 Instructor : J. Raphael raphael@sci.brooklyn.cuny.edu http://www.sci.brooklyn.cuny.edu/~raphael/cisc1600.html

More information

HTML HTML/XHTML HTML / XHTML HTML HTML: XHTML: (extensible HTML) Loose syntax Few syntactic rules: not enforced by HTML processors.

HTML HTML/XHTML HTML / XHTML HTML HTML: XHTML: (extensible HTML) Loose syntax Few syntactic rules: not enforced by HTML processors. HTML HTML/XHTML HyperText Mark-up Language Basic language for WWW documents Format a web page s look, position graphics and multimedia elements Describe document structure and formatting Platform independent:

More information

Advanced HTML 5.1 INTRODUCTION 5.2 OBJECTIVES

Advanced HTML 5.1 INTRODUCTION 5.2 OBJECTIVES 5 Advanced HTML 5.1 INTRODUCTION An effective way to organize web documents, visually, and also logically, by dividing the page into different parts is the necessity of the website today. In each part

More information

CSC309 Tutorial CSS & XHTML

CSC309 Tutorial CSS & XHTML CSC309 Tutorial CSS & XHTML Lei Jiang January 27, 2003 1 CSS CSC309 Tutorial --CSS & XHTML 2 Sampel XML Document

More information

I will link the following rough sketch of my mom to our class homepage: Code Used

I will link the following rough sketch of my mom to our class homepage: Code Used Assignment Eight: Fabulous Forms INTRODUCTION Let's start off this assignment with some work, shall we? (rubbing hands together as a mob boss would). Go to your page #3 (the one listing likes and dislikes)

More information

Unit 5 Web Publishing Systems Page 1 of 13 Part 4 HTML Part 4

Unit 5 Web Publishing Systems Page 1 of 13 Part 4 HTML Part 4 Unit 5 Web Publishing Systems Page 1 of 13 Part 4 HTML 4.01 Version: 4.01 Transitional Hypertext Markup Language is the coding behind web publishing. In this tutorial, basic knowledge of HTML will be covered

More information

LESSON 3. Coding Tables Continued

LESSON 3. Coding Tables Continued LESSON 3 Coding Tables Continued Lesson Learning Targets I can create a Web page table that displays text and / or images. I can create a Web page table that serves as a menu bar. Creating the Secondary

More information

XHTML. XHTML stands for EXtensible HyperText Markup Language. XHTML is the next generation of HTML. XHTML is almost identical to HTML 4.

XHTML. XHTML stands for EXtensible HyperText Markup Language. XHTML is the next generation of HTML. XHTML is almost identical to HTML 4. 3 XHTML What is XHTML? XHTML stands for EXtensible HyperText Markup Language XHTML is the next generation of HTML XHTML is aimed to replace HTML XHTML is almost identical to HTML 4.01 XHTML is a stricter

More information

Basic HTML. Lecture 14. Robb T. Koether. Hampden-Sydney College. Wed, Feb 20, 2013

Basic HTML. Lecture 14. Robb T. Koether. Hampden-Sydney College. Wed, Feb 20, 2013 Basic HTML Lecture 14 Robb T. Koether Hampden-Sydney College Wed, Feb 20, 2013 Robb T. Koether (Hampden-Sydney College) Basic HTML Wed, Feb 20, 2013 1 / 26 1 HTML 2 HTML File Structure 3 HTML Elements

More information

Basic HTML. Lecture 14. Robb T. Koether. Hampden-Sydney College. Wed, Feb 20, 2013

Basic HTML. Lecture 14. Robb T. Koether. Hampden-Sydney College. Wed, Feb 20, 2013 Basic HTML Lecture 14 Robb T. Koether Hampden-Sydney College Wed, Feb 20, 2013 Robb T. Koether (Hampden-Sydney College) Basic HTML Wed, Feb 20, 2013 1 / 36 1 HTML 2 HTML File Structure 3 HTML Elements

More information

What is XHTML? XHTML is the language used to create and organize a web page:

What is XHTML? XHTML is the language used to create and organize a web page: XHTML Basics What is XHTML? XHTML is the language used to create and organize a web page: XHTML is newer than, but built upon, the original HTML (HyperText Markup Language) platform. XHTML has stricter

More information

HTML What is HTML Hyper Text Markup Language is a computer based language used to create WebPages.

HTML What is HTML Hyper Text Markup Language is a computer based language used to create WebPages. vinsri76@yahoo.com +965-69300304 HTML What is HTML Hyper Text Markup Language is a computer based language used to create WebPages. Name Two text Editor which are used to create HTML page. They are: Notepad

More information

Document Object Model. Overview

Document Object Model. Overview Overview The (DOM) is a programming interface for HTML or XML documents. Models document as a tree of nodes. Nodes can contain text and other nodes. Nodes can have attributes which include style and behavior

More information

Creating Web Pages Using HTML

Creating Web Pages Using HTML Creating Web Pages Using HTML HTML Commands Commands are called tags Each tag is surrounded by Some tags need ending tags containing / Tags are not case sensitive, but for future compatibility, use

More information

Lecture 2: Tools & Concepts

Lecture 2: Tools & Concepts Lecture 2: Tools & Concepts CMPSCI120 Editors WIN NotePad++ Mac Textwrangler 1 Secure Login Go WIN SecureCRT, PUTTY WinSCP Mac Terminal SFTP WIN WinSCP Mac Fugu 2 Intro to unix pipes & filters file system

More information

HTML Tags <A></A> <A HREF="http://www.cnn.com"> CNN </A> HREF

HTML Tags <A></A> <A HREF=http://www.cnn.com> CNN </A> HREF HTML Tags Tag Either HREF or NAME is mandatory Definition and Attributes The A tag is used for links and anchors. The tags go on either side of the link like this: the link

More information

Web Design and Development ACS Chapter 12. Using Tables 11/23/2017 1

Web Design and Development ACS Chapter 12. Using Tables 11/23/2017 1 Web Design and Development ACS-1809 Chapter 12 Using Tables 11/23/2017 1 Using Tables Understand the concept and uses of tables in web pages Create a basic table structure Format tables within web pages

More information

Chapter4: HTML Table and Script page, HTML5 new forms. Asst. Prof. Dr. Supakit Nootyaskool Information Technology, KMITL

Chapter4: HTML Table and Script page, HTML5 new forms. Asst. Prof. Dr. Supakit Nootyaskool Information Technology, KMITL Chapter4: HTML Table and Script page, HTML5 new forms Asst. Prof. Dr. Supakit Nootyaskool Information Technology, KMITL Objective To know HTML5 creating a new style form. To understand HTML table benefits

More information

HTML and CSS COURSE SYLLABUS

HTML and CSS COURSE SYLLABUS HTML and CSS COURSE SYLLABUS Overview: HTML and CSS go hand in hand for developing flexible, attractively and user friendly websites. HTML (Hyper Text Markup Language) is used to show content on the page

More information

Web Publishing with HTML

Web Publishing with HTML Web Publishing with HTML MSc Induction Tutorials Athena Eftychiou PhD Student Department of Computing 1 Objectives Provide a foundation on Web Publishing by introducing basic notations and techniques like

More information

Introduction to Computer Science (I1100) Internet. Chapter 7

Introduction to Computer Science (I1100) Internet. Chapter 7 Internet Chapter 7 606 HTML 607 HTML Hypertext Markup Language (HTML) is a language for creating web pages. A web page is made up of two parts: the head and the body. The head is the first part of a web

More information

Oliver Pott HTML XML. new reference. Markt+Technik Verlag

Oliver Pott HTML XML. new reference. Markt+Technik Verlag Oliver Pott HTML XML new reference Markt+Technik Verlag Inhaltsverzeichnis Übersicht 13 14 A 15 A 16 ABBR 23 ABBR 23 ACCEPT 26 ACCEPT-CHARSET

More information