Metadata in HTML ... EXAM OBJEGIVES. .. Metadata and document identification.. Adding metadata to Web pages.. Metadata and indexing

Size: px
Start display at page:

Download "Metadata in HTML ... EXAM OBJEGIVES. .. Metadata and document identification.. Adding metadata to Web pages.. Metadata and indexing"

Transcription

1 Metadata in HTML EXAM OBJEGIVES Metadata and document identification.. Adding metadata to Web pages.. Metadata and indexing

2 Chapter 10.. Metadata in HTML 255 M etadata, also known as data about your data, is a concept worth mastering if you're looking to join the Web designers of the world. This chapter is dedicated to metadata and covers topics such as: how you can use metadata to enhance the searchability of your Web sites and how to redirect your Web sites. Overview of Metadata Metadata and document identification Metadata is an interesting concept to grasp. Many people will tell you that metadata is data about data. But, just what does that mean? The easiest way to understand what that means is to look at an example. If you were to create a document describing all the surrealist artists, you could define some metadata that would be used to describe your content. In other words, the following keywords would be metadata: surreal, surrealists, artists, max ernst, and salvador dali. Each of these keywords is descriptive of the Web page's contents. Metadata is used in both XML and HTML. In HTML, you can add metadata to your document with the <me t a> tag. Although most metadata is added with the <meta> tag, there are other tags and markup that also supply metadata, such as the document type (DOCTYPE) declaration and the <t it1 e> tag. You take a look at all of these tags in the following sections. Metadata serves specific functions within HTML, such as:.. The DOCTYPE declaration identifies to which version of HTML your document conforms. +- The <tit1e> tag defines a descriptive title for your document. +- The <me t a> tag defines keywords, document descriptions, author information, and document expiration data information. Including a DOCTYPE declaration In Chapter 7, you found out about the Document Type Definitions (DTDs) that are defined for HTML 4. If you need a reminder, there are three DTDs that can be used to define an HTML 4 document: Transitional, Strict, and Frameset. HTML 3.2 also has its own DTD. Most designers leave this information out of their documents. If you don't believe us, just take a second to cruise the Web and try to locate a document that actually includes a DOCTYPE declaration pointing to the appropriate DTD.

3 256 Part II + Understanding Web Site Design Technology With that said, you might be wondering why you should care. There are a few reasons you should care: If you reference a DTD, you can use a validator to check your document for mistakes. DTDs provide information about to which version of HTML the document conforms. The HTML 3.2, 4.0, and XHTML l.0 specifications require the DOCTYPE declaration if you want your document to be a strictly conforming (X)HTML document. For this chapter, you're only concerned with the second point, because in essence, the DOCTYPE declaration provides metadata information. Take a look at an example: <!D OCTVPE html PUBL IC "- II W3C II DTD HTML 4.0 Tr an si t i on al li EN" > You might notice that this is an abbreviated version of the DOCTYPE declaration that only includes a reference to the uniform resource name (URN), and leaves the URL of the DTD out. From this markup, you know three things right off the bat: The document is an HTML document. The document conforms to HTML 4.0 specification. The document uses the tags defined by the Transitional DTD. Exam Tip The exam and most designers refer to the DOCTYPE declaration «! DO CTY PE» as a tag. Do not let this terminology confuse you. Technically, it's a declaration. The title tag The <tit 1e> tag is a required tag that must be included as a child of the < h e ad> tag. What you probably already know is that the <tit1e> tag defines a title for your document that is displayed in the title bar of the browser window. What you may not know is that the content of the <tit 1e> tag is metadata that is used by search engines. The lesson here is to always include descriptive titles, and include a keyword or two in the <tit1e> tag. For example, the following title is not recommended: <head> <title>my <l head> doc ument </ title> However, if you change your title to "Surrealist Artists," you would have descriptive title that would help search engines locate your document; for example: <he ad> <title>s ur rea li st Arti sts< / title> <I he ad >

4 Chapter 10.. Metadata in HTML 257. Exam Tip The < tit1 e > tag is required and is a great way to add keywords that search engines can use to index your documents. Using the meta tag Adding metadata to Web pages Now you're ready to get to the meat of this chapter, the <meta > tag. The <meta> tag is an empty tag that requires the con tent attribute and either the name or httpequi v attribute. The <meta> tag can be used to:.. Define a document's expiration data.. Define author information.. Define keywords, which are used by search engines.. Define a description that is used by search engines This list is not exhaustive, however, by the end of this chapter, you need to know how to use the <meta > tag to define each item in the previous list. Exam Tip You need to know the main reasons why designers use the <meta > tag: to define author information, document expiration data, keywords, and descriptions. There are two different types of <meta > tags: name and http-equi v. A <me t a> tag that uses the ht t P -eq u i v attribute defines information that needs to be attached to the HTTP header. For example, it might define cookie information that needs to be passed to the HTTP client. This relationship is discussed in the following sections. The http-equiv attribute The http- equ i v attribute binds meta information to the HTTP header. As the browser reads a Web page with an h t t P - eq u i v attribute, it grabs the content attribute value and attaches it to the document header, which is then sent prior to the rest of the page content. When processing the document, the browser or HTTP server may use the information defined by the content attribute, which is then attached to the header: <meta http- eq uiv="expires" content="tue, 01 Jan :00 :00 GMT" > The previous markup produces the following HTTP header: expires: Tue, 01 J an : 00:00 GMT

5 258 Part II.. Understanding Web Site Design Technology How HTTP Works HTTP stands for the Hypertext Transfer Protocol and defines rules for exchanging resource.s identjfied by a URL on the Web. Each file can contain references to other files (think hyperlinks). A browser (HTTP client) opens a connection with the Web server (HlTP server) by sending a request message. The server then sends a response message that normally contains the document that was requested. After the document is sent, the server closes the connection. Headers provide information pertaining to the request by the client or a response by the server. Notice that the value of the http -eq ui v is not random; it's predefined. You should also notice that the content attribute provides the information that is passed onto the HTTP header. The value expi res is one of five values that you'll look at in the following sections: + expi res + pragma + refresh + set-cookie + windovl-target http-equiv="expires" In many cases, when visiting a Web page, the browser will save a version of that page in its cache. The reason for this is because browsers use the cached version of a page if you decide to return to that page. If you use a <me t a > tag with h t t p- equ i v = " ex p i res ", you can control when the browser uses a cached version, and when it visits the server for a fresh version. Tip A browser's cache is a temporary storage directory for Web pages. If you go back to a page that you've recently visited, the browser is likely to grab the page from ~ the cache, rather than making another visit to the server. The purpose of this is to save you time, and save the server effort. For example, to create a document that expires on August 8, 2000, you include the following <meta > tag in your document: <meta http-equi v="ex pires " content=" Tue, 08 Aug :21 : 57 gmt ">

6 Chapter 10.. Metadata in HTML 259 Take a look at just where it fits into an HTML document: <!DOCTYPE HTML PUBLIC "- // W3c// DTD HTML 4.01 Tran sitional // EN" ''http: // 3.org / TR / htm14 / loos e.d t d'' > <html > <head > <title>documen t t i t le</t i t le> <me t a ht tp-equi v="expires " c on t en t ="Tue, 08 Aug : 21:57 gm t " > </ head > <body>... document content goes here... </ body > </ html > http-equiv="pragma" This simple value prevents some browsers (namely Netscape Navigator) from caching the document. Similar to using the expi r es value, this is another way to control browser caching. The associated content attribute must be set equal to no-cache. When this is included in a document, some browsers are prevented from caching a page locally. You include it in a document as follows: <!DOCTYPE HTML PUBLIC "-//W3c//DTD HTML TransitionalllEN" '' > <html> <head> <title>document title</ title> <meta http-equiv="pragma" content="n o - ca che" > </head > <body >... do cument content goe s here... </ body> </ html > http-equiv="refresh" As a designer, the odds are that your boss or client will ask that you redirect a Web page. For example, you've designed a new page for the contacts portion of your site. You know that there are a lot of outside sources that link to your contacts page. Therefore, you redirect the existing URL to a new URL so even people with the old link get to the new content. Redirecting a Web page is not magic; it's achieved by adding a <meta > tag. The http-equi v attribute must be set equal to re f resh and the content attribute should be set equal to seconds and the new URL. The seconds should be defined first, followed by a semicolon. Next you type URL= followed by the URL of the new location. The contents of the entire string are in quotation marks - note that the value of the URL itself is not contained by quotation marks. Intbe Real World Internet Explorer and Netscape support this method of redirecting users, but not all browsers do. Therefore, be sure to always include a hyperlink to the new URL.

7 260 Part II Understanding Web Site Design Technology The syntax is important, so take a look at this example: <! OOCTVPE HTML PUBLIC "-//W3C// OTO HT ML 4.01 Transiti onal /l EN" " / TR/htm14 / l oose.dtd" > <html> <hea d> <title>oocument titl e</ title> <meta http- equiv="refresh" content="5;url= </head> <bo dy>... document content goes he re... </body> </html > Caution One word of warning, do not set the seconds to O. Doing so prevents users from being able to use their browser's back button. There's nothing more frustrating than having a Web page disable a function that you rely on. The exam does not cover this; however, you should be aware of this warning found in the HTML 4 Specification: "Some user agents support the use of meta to refresh the current page after a specified number of seconds, with the option of replacing it by a different URL. Authors should not use this technique to forward users to different pages, as this makes the page inaccessible to some users. Instead, automatic page forwarding should be done using server-side redirects:' http-equiv="set-cookie" A Web site can place information on a user's hard drive using a cookie. The information is normally for future use and is stored by the server on the client side. There are many instances of cookies. For example, it's becoming common to find sites that provide personalized portals to their site. For example, you can set your own preferences at e8ay.com. In these cases, a cookie is used to record the users' preferences. Some of the features provided by cookies won't work and may cause problems if you don't have cookies enabled on your browser. As the user, you have access to information about the cookies stored on your hard drive. This is not to say that you'll understand what each cookie means, but you do have access to them. If you're using Netscape, you can locate a list of all cookies in a file named coo k i es. txt. Internet Explorer stores them each as a separate file in a subdirectory. As the designer, you can use the se t - co o k i e value to create a cookie to collect information. A cookie is created on the client side by including a set-cookie header as part of an HTTP response (typicauy generated by a CGl script). As with all other http-equ i v attributes, you must have an associated content attribute. In this case, the content attr i bute can contain several different values, one of which is an optional expiration date. If an expiration date is included,

8 Chapter 10.. Metadata in HTML 261 the cookie is saved on the user's hard drive until the expiration date, at which time, it's deleted. If an expiration date is not included, the cookie is discarded when the user exits his or her browser. Take a look at an example: <!DOCTVPE HTML PUBLIC "-IIW3CIIDTD HTML 4.01 TransitionalllEN" " <html> <head> <title>document title</title> <meta http-equiv="set-cookie" content="cookievalue=xxx;expires=friday, 31-dec-99 23:59:59 GMT; path=i"> </head> <body>... document content goes here... <I body> </html> http-equiv="window-target" The last htt p -equ i v value covered in this chapter is wi ndow- target. Think back to frames for a second and you might remember the ta rget attribute. Similar to the ta rget attribute, defining a wi ndow-ta rget http-equi v value can control the document window. For example, if you define content="_top", the <meta> tag forces the window to open in the top window, allowing it to escape frames. The con ten t attribute can accept most values that the HTML t a rg et attribute can. For example, it can accept _b 1an k or _pa ren t. Take a look at an example: <!DOCTVPE HTML PUBLIC "-IIW3CIIDTD HTML 4.01 TransitionalllEN" " <html> <head> <title>document title</title> <meta http-equiv="window-target" content="_top"> </head> <body>... document content goes here... </body> </html> The name attribute Unlike the http -eq u i v attribute, the n a me attribute identifies information that does not correspond with HTTP headers. This is not to say that this information is not useful. You can define keywords, descriptions, and other information that is passed to search engines and directories, spiders, and other entities.

9 262 Part II.. Understanding Web Site Design Technology As with the http-equiv attribute, you must use a co ntent attribute for every name attribute. The content attribute defines information that is relevant to the name value. The following are a few of the possible n ame values:.. Author. Specifies the name of the author of the document: <meta name-"auth or " content-"your Name" ).. Copyright. Defines copyright information: <meta name- "co pyri gh t" co ntent-"copyr i ght 2002, You r Co mp any ").. Description. Defines a description sometimes used by search engines to show with the results of searches: <meta n ame-" des c r i pt ion" con t en t "A description of yo ur compa ny goes here.").. Expires. Defines an expiration date of the document: <met a name - " exp ire s " content-"tue, 08 Aug :21:57 GM T" ).. Generator. Specifies the name of the program that created the document: <meta name-"gene ra tor " content-"microsoft FrontPa ge 4.0").. Keywords. Defines keyw'ords that are used by search engines: <me t a name-"keyword s " content-"xhtml, XML, C55" ).. Owner. Specifies the owner of the page or site: <meta name-"owner" content-"your Name").. Reply-to. Provides an address of contact for document: <met a name-"reply -to" co ntent-"name@d omain. co m" ).. Robots. Used to define pages to be excluded from robot indexing: <meta name-"robots" co ntent-"n ofo ll ow ") If you add a few of these attributes and values to an HTML document, it should resemble the following: <! DOC TYPE HTML PUBLI C "-IIW 3CIID TD HT ML 4.01 Tran siti on all len" "http: // www. w3.or g/ TR/ htm14/loose.dtd'' ) <html) <head ) <title) Document title </t itle) <meta name-"autho r " co ntent- "Jane Doe") <meta name-"copyright" co ntent-"copyr i ght (cl Jane Doe" ) <meta name-"description" con tent-"html and XHTML Tutori al ") <me ta name -"gene ra tor" co ntent-"mi cro soft FrontPa ge 4.0") <meta name-"keywords" co ntent-"html, XHTML, Web pages" ) <meta name-"r obo ts" content-"all") </ he ad) <body >... do cument content goes here... </b ody> </ html >

HTML 2 DOCUMENT STRUCTURE

HTML 2 DOCUMENT STRUCTURE HTML DOUMENT STRUTURE hapter SYS-ED/ OMPUTER EDUATION TEHNIQUES, IN. Objectives You will learn: The parts of a HTML document. Document tags: Tag, Tag, Tag, and tag. The role and function

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

Chapter 10: Understanding the Standards

Chapter 10: Understanding the Standards Disclaimer: All words, pictures are adopted from Learning Web Design (3 rd eds.) by Jennifer Niederst Robbins, published by O Reilly 2007. Chapter 10: Understanding the Standards CSc2320 In this chapter

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

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

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

HTML Overview. With an emphasis on XHTML

HTML Overview. With an emphasis on XHTML HTML Overview With an emphasis on XHTML What is HTML? Stands for HyperText Markup Language A client-side technology (i.e. runs on a user s computer) HTML has a specific set of tags that allow: the structure

More information

Caching. Caching Overview

Caching. Caching Overview Overview Responses to specific URLs cached in intermediate stores: Motivation: improve performance by reducing response time and network bandwidth. Ideally, subsequent request for the same URL should be

More information

From administrivia to what really matters

From administrivia to what really matters From administrivia to what really matters Questions about the syllabus? Logistics Daily lectures, quizzes and labs Two exams and one long project My teaching philosophy...... is informed by my passion

More information

UR what? ! URI: Uniform Resource Identifier. " Uniquely identifies a data entity " Obeys a specific syntax " schemename:specificstuff

UR what? ! URI: Uniform Resource Identifier.  Uniquely identifies a data entity  Obeys a specific syntax  schemename:specificstuff CS314-29 Web Protocols URI, URN, URL Internationalisation Role of HTML and XML HTTP and HTTPS interacting via the Web UR what? URI: Uniform Resource Identifier Uniquely identifies a data entity Obeys a

More information

ERTH 401 / GEOP 501 Computer Tools. Lecture 12: Websites. Ronni Grapenthin MSEC 356 x5924. November 13, 2017

ERTH 401 / GEOP 501 Computer Tools. Lecture 12: Websites. Ronni Grapenthin MSEC 356 x5924. November 13, 2017 1 / 6 ERTH 401 / GEOP 501 Computer Tools Lecture 12: Websites Ronni Grapenthin rg@nmt.edu MSEC 356 x5924 November 13, 2017 ... get em while they re fresh 2 / 6 (latest edition I found was for 2010.) The

More information

Hypertext Markup Language, or HTML, is a markup

Hypertext Markup Language, or HTML, is a markup Introduction to HTML Hypertext Markup Language, or HTML, is a markup language that enables you to structure and display content such as text, images, and links in Web pages. HTML is a very fast and efficient

More information

Contents. 1. Using Cherry 1.1 Getting started 1.2 Logging in

Contents. 1. Using Cherry 1.1 Getting started 1.2 Logging in 1 Contents 1. Using Cherry 1.1 Getting started 1.2 Logging in 2. Site Page Hierarchy Management 2.1 Page Addition 2.2 Page Deletion 2.3 Editing Page Details 3. Page Content Modification 3.1 Page Revisions

More information

Notes beforehand... For more details: See the (online) presentation program.

Notes beforehand... For more details: See the (online) presentation program. Notes beforehand... Notes beforehand... For more details: See the (online) presentation program. Topical overview: main arcs fundamental subjects advanced subject WTRs Lecture: 2 3 4 5 6 7 8 Today: the

More information

Create web pages in HTML with a text editor, following the rules of XHTML syntax and using appropriate HTML tags Create a web page that includes

Create web pages in HTML with a text editor, following the rules of XHTML syntax and using appropriate HTML tags Create a web page that includes CMPT 165 INTRODUCTION TO THE INTERNET AND THE WORLD WIDE WEB By Hassan S. Shavarani UNIT2: MARKUP AND HTML 1 IN THIS UNIT YOU WILL LEARN THE FOLLOWING Create web pages in HTML with a text editor, following

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 1 1 HTML and Web Page Basics Are you interested in building your own Web pages? This chapter introduces you to basic HTML

More information

Web Development and HTML. Shan-Hung Wu CS, NTHU

Web Development and HTML. Shan-Hung Wu CS, NTHU Web Development and HTML Shan-Hung Wu CS, NTHU Outline How does Internet Work? Web Development HTML Block vs. Inline elements Lists Links and Attributes Tables Forms 2 Outline How does Internet Work? Web

More information

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

(1) I (2) S (3) P allow subscribers to connect to the (4) often provide basic services such as (5) (6)

(1) I (2) S (3) P allow subscribers to connect to the (4) often provide basic services such as (5) (6) Collection of (1) Meta-network That is, a (2) of (3) Uses a standard set of protocols Also uses standards d for structuring t the information transferred (1) I (2) S (3) P allow subscribers to connect

More information

DEC Computer Technology LESSON 6: DATABASES AND WEB SEARCH ENGINES

DEC Computer Technology LESSON 6: DATABASES AND WEB SEARCH ENGINES DEC. 1-5 Computer Technology LESSON 6: DATABASES AND WEB SEARCH ENGINES Monday Overview of Databases A web search engine is a large database containing information about Web pages that have been registered

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

A gentle guide to DocBook How to use the portable document creator

A gentle guide to DocBook How to use the portable document creator 1 of 6 A gentle guide to DocBook How to use the portable document creator Level: Introductory Joe Brockmeier (jbrockmeier@earthlink.net), freelance writer 01 Sep 2000 This article explains what DocBook

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

INTERNET!!!11!1. Beyond the Mouse A Short Course on Programming. 10b. HTML/CSS or: I m on the. Ronni Grapenthin. November 13, 2011

INTERNET!!!11!1. Beyond the Mouse A Short Course on Programming. 10b. HTML/CSS or: I m on the. Ronni Grapenthin. November 13, 2011 1 / 15 Beyond the Mouse A Short Course on Programming 10b. HTML/CSS or: I m on the INTERNET!!!11!1 Ronni Grapenthin Geophysical Institute, University of Alaska Fairbanks Not Enough Work (panel 3), http://xkcd.com/554

More information

c122jan2714.notebook January 27, 2014

c122jan2714.notebook January 27, 2014 Internet Developer 1 Start here! 2 3 Right click on screen and select View page source if you are in Firefox tells the browser you are using html. Next we have the tag and at the

More information

Web Development & Design Foundations with XHTML. Chapter 2 Key Concepts

Web Development & Design Foundations with XHTML. Chapter 2 Key Concepts Web Development & Design Foundations with XHTML Chapter 2 Key Concepts Learning Outcomes In this chapter, you will learn about: XHTML syntax, tags, and document type definitions The anatomy of a web page

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

Announcements. 1. Class webpage: Have you been reading the announcements? Lecture slides and coding examples will be posted

Announcements. 1. Class webpage: Have you been reading the announcements? Lecture slides and coding examples will be posted Announcements 1. Class webpage: Have you been reading the announcements? Lecture slides and coding examples will be posted 2. Install Komodo Edit on your computer right away. 3. Bring laptops to next class

More information

HTML is a mark-up language, in that it specifies the roles the different parts of the document are to play.

HTML is a mark-up language, in that it specifies the roles the different parts of the document are to play. Introduction to HTML (5) HTML is a mark-up language, in that it specifies the roles the different parts of the document are to play. For example you may specify which section of a document is a top level

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

Lesson 12: JavaScript and AJAX

Lesson 12: JavaScript and AJAX Lesson 12: JavaScript and AJAX Objectives Define fundamental AJAX elements and procedures Diagram common interactions among JavaScript, XML and XHTML Identify key XML structures and restrictions in relation

More information

استاد: امیر عسگری چناقلو ترم دوم درس طراحی صفحات وب

استاد: امیر عسگری چناقلو ترم دوم درس طراحی صفحات وب استاد: امیر عسگری چناقلو ترم دوم 95-96 درس طراحی صفحات وب 1 2 Definition and Usage The comment tag is used to insert comments in the source code. Comments are not displayed in the browsers. You can 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

UNIT I. A protocol is a precise set of rules defining how components communicate, the format of addresses, how data is split into packets

UNIT I. A protocol is a precise set of rules defining how components communicate, the format of addresses, how data is split into packets UNIT I Web Essentials: Clients, Servers, and Communication. The Internet- Basic Internet Protocols -The World Wide Web-HTTP request message-response message- Web Clients Web Servers-Case Study. Markup

More information

3. WWW and HTTP. Fig.3.1 Architecture of WWW

3. WWW and HTTP. Fig.3.1 Architecture of WWW 3. WWW and HTTP The World Wide Web (WWW) is a repository of information linked together from points all over the world. The WWW has a unique combination of flexibility, portability, and user-friendly features

More information

CSCI-1680 WWW Rodrigo Fonseca

CSCI-1680 WWW Rodrigo Fonseca CSCI-1680 WWW Rodrigo Fonseca Based partly on lecture notes by Sco2 Shenker and John Janno6 Administrivia HW3 out today Will cover HTTP, DNS, TCP TCP Milestone II coming up on Monday Make sure you sign

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

Using the Internet and the World Wide Web

Using the Internet and the World Wide Web Using the Internet and the World Wide Web Computer Literacy BASICS: A Comprehensive Guide to IC 3, 3 rd Edition 1 Objectives Understand the difference between the Internet and the World Wide Web. Identify

More information

Introduction, Notepad++, File Structure, 9 Tags, Hyperlinks 1

Introduction, Notepad++, File Structure, 9 Tags, Hyperlinks 1 Introduction, Notepad++, File Structure, 9 Tags, Hyperlinks 1 Introduction to HTML HTML, which stands for Hypertext Markup Language, is the standard markup language used to create web pages. HTML consists

More information

Network Applications and the Web

Network Applications and the Web Network Applications and the Web Antonio Carzaniga Faculty of Informatics University of Lugano September 27, 2013 2005 2007 Antonio Carzaniga 1 General concepts for network applications Outline Client/server

More information

Forcing A Page To Not Load From Cache

Forcing A Page To Not Load From Cache 1 of 5 4/14/2008 12:04 PM Ads by Google JavaScript Window Open JavaScript Substring JavaScript Refresh JavaScript onclick Apr 13, 2 Free Web Hosting, No Ads > CONTRIBUTE > Computers > Programming Languages

More information

Semantic Web Lecture Part 1. Prof. Do van Thanh

Semantic Web Lecture Part 1. Prof. Do van Thanh Semantic Web Lecture Part 1 Prof. Do van Thanh Overview of the lecture Part 1 Why Semantic Web? Part 2 Semantic Web components: XML - XML Schema Part 3 - Semantic Web components: RDF RDF Schema Part 4

More information

CIW 1D CIW JavaScript Specialist.

CIW 1D CIW JavaScript Specialist. CIW 1D0-635 CIW JavaScript Specialist http://killexams.com/exam-detail/1d0-635 Answer: A QUESTION: 51 Jane has created a file with commonly used JavaScript functions and saved it as "allfunctions.js" in

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

CSCU9B2 Practical 1: Introduction to HTML 5

CSCU9B2 Practical 1: Introduction to HTML 5 CSCU9B2 Practical 1: Introduction to HTML 5 Aim: To learn the basics of creating web pages with HTML5. Please register your practical attendance: Go to the GROUPS\CSCU9B2 folder in your Computer folder

More information

Dreamweaver is a full-featured Web application

Dreamweaver is a full-featured Web application Create a Dreamweaver Site Dreamweaver is a full-featured Web application development tool. Dreamweaver s features not only assist you with creating and editing Web pages, but also with managing and maintaining

More information

Title: Sep 12 10:58 AM (1 of 38)

Title: Sep 12 10:58 AM (1 of 38) Title: Sep 12 10:58 AM (1 of 38) Title: Sep 12 11:04 AM (2 of 38) Title: Sep 12 5:37 PM (3 of 38) Click here and then you can put in the resources. Title: Sep 12 5:38 PM (4 of 38) Title: Sep 12 5:42 PM

More information

Dreamweaver is a full-featured Web application

Dreamweaver is a full-featured Web application Create a Dreamweaver Site Dreamweaver is a full-featured Web application development tool. Dreamweaver s features not only assist you with creating and editing Web pages, but also with managing and maintaining

More information

HTTP Protocol and Server-Side Basics

HTTP Protocol and Server-Side Basics HTTP Protocol and Server-Side Basics Web Programming Uta Priss ZELL, Ostfalia University 2013 Web Programming HTTP Protocol and Server-Side Basics Slide 1/26 Outline The HTTP protocol Environment Variables

More information

CSCI-1680 WWW Rodrigo Fonseca

CSCI-1680 WWW Rodrigo Fonseca CSCI-1680 WWW Rodrigo Fonseca Based partly on lecture notes by Scott Shenker and John Jannotti Precursors 1945, Vannevar Bush, Memex: a device in which an individual stores all his books, records, and

More information

Web Design and Development ACS Chapter 3. Document Setup

Web Design and Development ACS Chapter 3. Document Setup Web Design and Development ACS-1809 Chapter 3 Document Setup 1 Create an HTML file At their very core, HTML files are simply text files with two additional feature.htm or.html as file extension name They

More information

Chapter 1 Getting Started with HTML 5 1. Chapter 2 Introduction to New Elements in HTML 5 21

Chapter 1 Getting Started with HTML 5 1. Chapter 2 Introduction to New Elements in HTML 5 21 Table of Contents Chapter 1 Getting Started with HTML 5 1 Introduction to HTML 5... 2 New API... 2 New Structure... 3 New Markup Elements and Attributes... 3 New Form Elements and Attributes... 4 Geolocation...

More information

Scan Report Executive Summary. Part 2. Component Compliance Summary Component (IP Address, domain, etc.):ekk.worldtravelink.com

Scan Report Executive Summary. Part 2. Component Compliance Summary Component (IP Address, domain, etc.):ekk.worldtravelink.com Scan Report Executive Summary Part 1. Scan Information Scan Customer Company: Date scan was completed: Travolutionary ASV Company: Comodo CA Limited 10-03-2018 Scan expiration date: 01-01-2019 Part 2.

More information

Applications & Application-Layer Protocols: The Web & HTTP

Applications & Application-Layer Protocols: The Web & HTTP CPSC 360 Network Programming Applications & Application-Layer Protocols: The Web & HTTP Michele Weigle Department of Computer Science Clemson University mweigle@cs.clemson.edu http://www.cs.clemson.edu/~mweigle/courses/cpsc360

More information

The HTTP protocol. Fulvio Corno, Dario Bonino. 08/10/09 http 1

The HTTP protocol. Fulvio Corno, Dario Bonino. 08/10/09 http 1 The HTTP protocol Fulvio Corno, Dario Bonino 08/10/09 http 1 What is HTTP? HTTP stands for Hypertext Transfer Protocol It is the network protocol used to delivery virtually all data over the WWW: Images

More information

Scripting for Multimedia LECTURE 1: INTRODUCING HTML5

Scripting for Multimedia LECTURE 1: INTRODUCING HTML5 Scripting for Multimedia LECTURE 1: INTRODUCING HTML5 HTML An acronym for Hypertext Markup Language Basic language of WWW documents HTML documents consist of text, including tags that describe document

More information

Open Web Application Security Project (OWASP)

Open Web Application Security Project (OWASP) Open Web Application Security Project (OWASP) WebScarab Training notes, 28th May 2010 Colin Watson colinwatson(at)owasporg WebScarab is a tool that allows you to record, inspect, modify and build requests

More information

Announcements. 1. Class webpage: Have you been reading the announcements? Lecture slides and coding examples will be posted

Announcements. 1. Class webpage: Have you been reading the announcements? Lecture slides and coding examples will be posted Announcements 1. Class webpage: Have you been reading the announcements? Lecture slides and coding examples will be posted 2. Campus is closed on Monday. 3. Install Komodo Edit on your computer this weekend.

More information

Web Site Development with HTML/JavaScrip

Web Site Development with HTML/JavaScrip Hands-On Web Site Development with HTML/JavaScrip Course Description This Hands-On Web programming course provides a thorough introduction to implementing a full-featured Web site on the Internet or corporate

More information

Search Engine Optimisation Basics for Government Agencies

Search Engine Optimisation Basics for Government Agencies Search Engine Optimisation Basics for Government Agencies Prepared for State Services Commission by Catalyst IT Neil Bertram May 11, 2007 Abstract This document is intended as a guide for New Zealand government

More information

zetoc Website Accessibility Project

zetoc Website Accessibility Project zetoc Website Accessibility Project 1. Aim To make all information pages AA accessible, and if possible AAA accessible To make all information pages pages xhtml transitional To document any problems in

More information

INTRODUCTION TO THE INTERNET. Presented by the Benbrook Public Library

INTRODUCTION TO THE INTERNET. Presented by the Benbrook Public Library INTRODUCTION TO THE INTERNET Presented by the Benbrook Public Library INTRODUCTION TO THE INTERNET What is the Internet? How did it come about? What is the World Wide Web? How does it work? How do I get

More information

Web Design and Development ACS-1809

Web Design and Development ACS-1809 Web Design and Development ACS-1809 Chapter 1 9/11/2018 1 Pre-class Housekeeping Course Outline Text book : HTML A beginner s guide, Wendy Willard, 5 th edition Work on HTML files On Windows PCs Tons of

More information

FAQ: Crawling, indexing & ranking(google Webmaster Help)

FAQ: Crawling, indexing & ranking(google Webmaster Help) FAQ: Crawling, indexing & ranking(google Webmaster Help) #contact-google Q: How can I contact someone at Google about my site's performance? A: Our forum is the place to do it! Googlers regularly read

More information

COPYRIGHTED MATERIAL. The Basics of HTML. What Is the World Wide Web?

COPYRIGHTED MATERIAL. The Basics of HTML. What Is the World Wide Web? The Basics of HTML Before you begin to code HTML pages for the Web, it is important to understand some of the technology, standards, and syntax behind the Web. This chapter introduces you to HTML and answers

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

Site Audit Boeing

Site Audit Boeing Site Audit 217 Boeing Site Audit: Issues Total Score Crawled Pages 48 % 13533 Healthy (3181) Broken (231) Have issues (9271) Redirected (812) Errors Warnings Notices 15266 41538 38 2k 5k 4 k 11 Jan k 11

More information

Contents. Topics. 01. WWW 02. WWW Documents 03. Web Service 04. Web Technologies. Management of Technology. C01-1. Documents

Contents. Topics. 01. WWW 02. WWW Documents 03. Web Service 04. Web Technologies. Management of Technology. C01-1. Documents Management of Technology Topics C01-1. Documents Code: 166125-01 Course: Management of Technology Period: Spring 2013 Professor: Sync Sangwon Lee, Ph. D 1 Contents 01. WWW 03. Web Service 04. Web Technologies

More information

COSC 2206 Internet Tools. The HTTP Protocol

COSC 2206 Internet Tools. The HTTP Protocol COSC 2206 Internet Tools The HTTP Protocol http://www.w3.org/protocols/ What is TCP/IP? TCP: Transmission Control Protocol IP: Internet Protocol These network protocols provide a standard method for sending

More information

EE 122: HyperText Transfer Protocol (HTTP)

EE 122: HyperText Transfer Protocol (HTTP) Background EE 122: HyperText Transfer Protocol (HTTP) Ion Stoica Nov 25, 2002 World Wide Web (WWW): a set of cooperating clients and servers that communicate through HTTP HTTP history - First HTTP implementation

More information

Chapter 27 WWW and HTTP Copyright The McGraw-Hill Companies, Inc. Permission required for reproduction or display.

Chapter 27 WWW and HTTP Copyright The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 27 WWW and HTTP 27.1 Copyright The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 27-1 ARCHITECTURE The WWW today is a distributed client/server service, in which

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

Internet Client-Server Systems 4020 A

Internet Client-Server Systems 4020 A Internet Client-Server Systems 4020 A Instructor: Jimmy Huang jhuang@yorku.ca http://www.yorku.ca/jhuang/4020a.html Motivation Web-based Knowledge & Data Management A huge amount of Web data how to organize,

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

Cache Operation. Version 31-Jul Wireless Application Protocol WAP-175-CacheOp a

Cache Operation. Version 31-Jul Wireless Application Protocol WAP-175-CacheOp a Cache Operation Version 31-Jul-2001 Wireless Application Protocol WAP-175-CacheOp-20010731-a A list of errata and updates to this document is available from the WAP Forum Web site, http://www.wapforum.org/,

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 01 A. Al-Tamimi 1 Lecture Overview

More information

Coveo Platform 6.5. Liferay Connector Guide

Coveo Platform 6.5. Liferay Connector Guide Coveo Platform 6.5 Liferay Connector Guide Notice The content in this document represents the current view of Coveo as of the date of publication. Because Coveo continually responds to changing market

More information

XML (Extensible Markup Language

XML (Extensible Markup Language XML (Extensible Markup Language XML is a markup language. XML stands for extensible Markup Language. The XML standard was created by W3C to provide an easy to use and standardized way to store self describing

More information

CNIT 129S: Securing Web Applications. Ch 12: Attacking Users: Cross-Site Scripting (XSS) Part 2

CNIT 129S: Securing Web Applications. Ch 12: Attacking Users: Cross-Site Scripting (XSS) Part 2 CNIT 129S: Securing Web Applications Ch 12: Attacking Users: Cross-Site Scripting (XSS) Part 2 Finding and Exploiting XSS Vunerabilities Basic Approach Inject this string into every parameter on every

More information

A network is a group of two or more computers that are connected to share resources and information.

A network is a group of two or more computers that are connected to share resources and information. Chapter 1 Introduction to HTML, XHTML, and CSS HTML Hypertext Markup Language XHTML Extensible Hypertext Markup Language CSS Cascading Style Sheets The Internet is a worldwide collection of computers and

More information

HTML 5 Form Processing

HTML 5 Form Processing HTML 5 Form Processing In this session we will explore the way that data is passed from an HTML 5 form to a form processor and back again. We are going to start by looking at the functionality of part

More information

The Internet - Changing Constantly - Purpose/Content of Websites -

The Internet - Changing Constantly - Purpose/Content of Websites - - The Internet might seem intimidating at first. - A vast communications network spanning the globe with billions of web-pages that are made to satisfy and inform their constituents. Indeed the Internet

More information

Uniform Resource Locators (URL)

Uniform Resource Locators (URL) The World Wide Web Web Web site consists of simply of pages of text and images A web pages are render by a web browser Retrieving a webpage online: Client open a web browser on the local machine The web

More information

CNIT 129S: Securing Web Applications. Ch 3: Web Application Technologies

CNIT 129S: Securing Web Applications. Ch 3: Web Application Technologies CNIT 129S: Securing Web Applications Ch 3: Web Application Technologies HTTP Hypertext Transfer Protocol (HTTP) Connectionless protocol Client sends an HTTP request to a Web server Gets an HTTP response

More information

Add Your Product to Clickbank

Add Your Product to Clickbank MODULE 3 LESSON 8 Add Your Product to Clickbank 2013 Mark Bishop NicheSynergy.com 1 Niche Synergy Table of Contents Disclaimer... 2 Why use Clickbank instead of another platform?... 3 The most important

More information

Lesson 3 Transcript: Part 2 of 2 Tools & Scripting

Lesson 3 Transcript: Part 2 of 2 Tools & Scripting Lesson 3 Transcript: Part 2 of 2 Tools & Scripting Slide 1: Cover Welcome to lesson 3 of the DB2 on Campus Lecture Series. Today we are going to talk about tools and scripting. And this is part 2 of 2

More information

Basic Internet Skills

Basic Internet Skills The Internet might seem intimidating at first - a vast global communications network with billions of webpages. But in this lesson, we simplify and explain the basics about the Internet using a conversational

More information

MP3 (W7,8,&9): HTML Validation (Debugging) Instruction

MP3 (W7,8,&9): HTML Validation (Debugging) Instruction MP3 (W7,8,&9): HTML Validation (Debugging) Instruction Objectives Required Readings Supplemental Reading Assignment In this project, you will learn about: - Explore accessibility issues and consider implications

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

Background of HTML and the Internet

Background of HTML and the Internet Background of HTML and the Internet World Wide Web in Plain English http://www.youtube.com/watch?v=akvva2flkbk Structure of the World Wide Web A network is a structure linking computers together for the

More information

Site Audit SpaceX

Site Audit SpaceX Site Audit 217 SpaceX Site Audit: Issues Total Score Crawled Pages 48 % -13 3868 Healthy (649) Broken (39) Have issues (276) Redirected (474) Blocked () Errors Warnings Notices 4164 +3311 1918 +7312 5k

More information

Session 8. Reading and Reference. en.wikipedia.org/wiki/list_of_http_headers. en.wikipedia.org/wiki/http_status_codes

Session 8. Reading and Reference. en.wikipedia.org/wiki/list_of_http_headers. en.wikipedia.org/wiki/http_status_codes Session 8 Deployment Descriptor 1 Reading Reading and Reference en.wikipedia.org/wiki/http Reference http headers en.wikipedia.org/wiki/list_of_http_headers http status codes en.wikipedia.org/wiki/_status_codes

More information

Lecture 7: Dates/Times & Sessions. CS 383 Web Development II Wednesday, February 14, 2018

Lecture 7: Dates/Times & Sessions. CS 383 Web Development II Wednesday, February 14, 2018 Lecture 7: Dates/Times & Sessions CS 383 Web Development II Wednesday, February 14, 2018 Date/Time When working in PHP, date is primarily tracked as a UNIX timestamp, the number of seconds that have elapsed

More information

XML. Jonathan Geisler. April 18, 2008

XML. Jonathan Geisler. April 18, 2008 April 18, 2008 What is? IS... What is? IS... Text (portable) What is? IS... Text (portable) Markup (human readable) What is? IS... Text (portable) Markup (human readable) Extensible (valuable for future)

More information

Basic CSS Tips and Tricks

Basic CSS Tips and Tricks You have spent a lot of time getting the HTML for your library website ready to rock and roll. All your code has validated, classes specified, and paragraphs put in order. There is only one problem it

More information

Structured documents

Structured documents Structured documents An overview of XML Structured documents Michael Houghton 15/11/2000 Unstructured documents Broadly speaking, text and multimedia document formats can be structured or unstructured.

More information

Site Audit Virgin Galactic

Site Audit Virgin Galactic Site Audit 27 Virgin Galactic Site Audit: Issues Total Score Crawled Pages 59 % 79 Healthy (34) Broken (3) Have issues (27) Redirected (3) Blocked (2) Errors Warnings Notices 25 236 5 3 25 2 Jan Jan Jan

More information

Seminar on Web Design

Seminar on Web Design Seminar on Web Design by Stamatina Anastopoulou Definitions Outline www; http; html; html tags The Meta element Design issues: Content-structure-presentation Planning-Designing-Testing Design principles

More information

Duke Library Website Preliminary Accessibility Assessment

Duke Library Website Preliminary Accessibility Assessment Duke Library Website Preliminary Accessibility Assessment RAW OUTPUT FROM CYNTHIASAYS December 15, 2011 Michael Daul, Digital Projects Developer Digital Experience Services HiSoftware Cynthia Says - Web

More information

Comp 426 Midterm Fall 2013

Comp 426 Midterm Fall 2013 Comp 426 Midterm Fall 2013 I have not given nor received any unauthorized assistance in the course of completing this examination. Name: PID: This is a closed book exam. This page left intentionally blank.

More information