CSCU9B2: Web Tech Lecture 1

Size: px
Start display at page:

Download "CSCU9B2: Web Tech Lecture 1"

Transcription

1 CSCU9B2: Web Tech Lecture 1 Prof. Bruce Graham b.graham@cs.stir.ac.uk Room 4B76 1

2 What to Expect 5 lectures covering the programming aspect of the web: HTML5, CSS, JavaScript, HTML5 canvas 8 practicals One hour per week and in your own time Checkpoints worth 20%: one per worksheet; can be completed in your own time Solid foundation for web development and programming 2

3 Three Aspects of Web Development Content (HTML) Presentation (CSS) Interactivity (JavaScript) 3

4 Resources Lab worksheets + lecture notes Book: Creating a Website: the Missing Manual (MacDonald 2011), available at: W3Schools Online Web Tutorials at: 4

5 5

6 Your First Web Page... <!DOCTYPE html> <html> <head> <title>my First Web Page</title> </head> <body> <p> Hello world. </p> <p> It is a <em>wonderful</em> day, today! </p> </body> </html> 6

7 HTML5 + Character Encoding <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>my First Web Page</title> </head> <body> <p> Hello world. </p> <p> It is a <em>wonderful</em> day, today! </p> </body> </html> Meta tags provide housekeeping information One is the character encoding used utf-8 is Unicode guarantees correct rendering by the browser 7

8 XHTML Version <?xml version="1.0" encoding="utf-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" " <html xmlns=" xml:lang="en" lang="en"> <head> <title>my First Web Page</title> </head> <body> <p> Hello world. </p> <p> It is a <em>wonderful</em> day, today! </p> </body> </html> 8

9 HTML Validation: 9

10 Use a text editor Creating a Web Page e.g. Notepad, TextPad 10

11 Web Pages the WYSIWYG Way There are WYSIWYG editors for HTML What You See Is What You Get we do not type in actual HTML the HTML is created for us behind the scenes e.g. Adobe Dreamweaver Microsoft FrontPage All such editors have limitations Know your HTML first! Example... 11

12 Anatomy of a Web Page Document Header Body <html> <head> <title>my First Web Page</title> </head> <body> <p> Hello world. </p> <p> It is a <em>wonderful</em> day, today! </p> </body> </html> 12

13 Formatting Text Document structure: e.g. a paragraph of text <p> Hello world. </p> Style and layout: e.g. text style It is a <em>wonderful</em> day, today! This is normally done with Cascading Style Sheets 13

14 HTML Tags HTML is a markup language You markup a document by adding tags specifying elements and their attributes <element> content </element> Tags specify the structure and formatting They are interpreted by a web browser to produce the screen presentation 14

15 HTML Tags (2) Most tags are containers: <em>wonderful</em> There are also standalone tags, e.g. <img> <br> <hr> - inline image - linebreak - horizontal rule Most elements have attributes these extend or modify the tag s actions e.g. <p class="important"> </p> In XHTML: <br /> 15

16 Nesting HTML Tags Some tags can be nested to apply multiple effects to a single element e.g. It s a <b><i>really, really</i></b> nice day! Gives: It s a really, really nice day! The <i> </i> is contained within <b> </b> Do not overlap tags, such as It s a <b><i>really, really</b></i> nice day! 16

17 Things to Note Some things are ignored by browsers: Line breaks are ignored text is wrapped continuously until <p> or <br> Tabs and white space are ignored Multiple <p> tags are ignored (one will do) Unrecognised tags are ignored (this can have unfortunate effects!) 17

18 Deprecated Tags & Attributes Specifying fonts with the <font> tag e.g. <font face="arial" size="+1">this text will be displayed in Arial</font> Specifying alignment with the align attribute E.g. <p align="center">.</p> And many others We will avoid the use of deprecated elements! 18

19 Comments in HTML You can add comments to your HTML files: <!-- This is a comment --> <!-- Here is a multiple line comment --> Browsers will not display comments 19

20 <html> </html> HTML Structural Tags defines the document as being HTML <head> </head> information describing the document <body> </body> contains the contents of the document to be displayed by the browser Should only be ONE instance of each of these in a web page 20

21 <title> </title> Header Tags description of page s contents usually displayed in browser s header bar used in bookmarks and by search engines <base> document s base location for relative URLs <meta> provide information about document e.g. author used by search engines 21

22 Example Header <!DOCTYPE html> <html> <head> <base href= " <meta http-equiv="content-type" content= text/html; charset=utf-8"> <meta name="author" content="b.p.graham"> <title>my First Web Page</title> </head> <body> : : </body> </html> 22

23 Inside the Body: Headings Heading levels <h1> to <h6> <hn> </hn> e.g. <h1>heading One</h1> 23

24 Paragraphs Paragraphs delimited by <p> </p> Browser determines lines use <br> to force a break 24

25 Preformatted Paragraphs Use <pre> </pre> to create a paragraph with line breaks and spacing as you specified usually displayed in a monospace font e.g. Courier 25

26 Logical styles Text Styles specific rendering left to browser <strong> </strong> emphasis (usually bold) <em> </em> emphasis (usually italic) <mark> </mark> highlight (HTML5 only) <code> </code> computer code (monospaced) Physical styles specific display instructions <i> </i> italic <b> </b> bold <sub> </sub> subscript <sup> </sup> superscript 26

27 Special Characters Characters not found in the normal alphanumeric character set are specified using character entities These may be defined by name: &name; e.g. È - grave accent on capital E (È) these are case-sensitive! (e.g. è for è) Or by a number: &#nnn; e.g. > - greater than sign (>) (In both cases, note the semicolon) 27

28 Including Images Images can be included in-line anywhere in your document using <img> e.g. <img src="mypicture.gif" alt="picture of me" width="50" height="50"> src (required) specifies the location of the image relative or full URL (see later) alt (required) specifies alternative textual description width and height of image in pixels Image formats are GIF, JPEG and PNG 28

29 29

30 Other Media <object> is a way of including a variety of media elements in a web page Audio, video, Java applets, PDF, Flash e.g. <object width="400" height="400" data="helloworld.swf">hello world!</object> data specifies the location of media type specifies type of media Alternative text is content of tag Alternatively in HTML5 use: <audio> for sound clips <video> for video clips 30

31 Hypertext Links This is what the Web is all about! You can create to links to: other documents HTML or otherwise (e.g. PDF) parts of the same document images Links can be local or to any web-accessible address 31

32 The Anchor Tag Links are created using the anchor tag: <a> e.g. <a href= page2.html >next page</a> results in the text next page being a link to the local HTML file, page2.html relative URL: page2.html is in the same folder as linking web page (or relative to a specified <base>) next page will be displayed by the browser in a different colour and usually underlined 32

33 Links with Absolute URLs Remote pages are linked with absolute URLs the complete URL, e.g. Here s a link to Bruce s <a href= > research page</a>. A URL with no HTML file finds a default page defined by server either index.html or default.html (default.htm) Here s a link to Bruce s <a href= > home page</a>. 33

34 Links with Relative URLs Local pages are linked with relative URLs relative to location of current document or relative to location specified by <base> tag e.g. Here s a link to Bruce s <a href= research.html >research page</a>. research.html in same folder e.g. Here s a link to Bruce s <a href= Research/research.html > research page</a>. research.html in subfolder Research Never use absolute file paths!! e.g. <a href= H:/Research/research.html > 34

35 Linking Within a Document Parts of a document can be named (given an identifier): e.g. <h1 id= stocks >Daily Stock Quotes</h1> Elsewhere in the same document we may place a link: e.g. Check out the <a href= #stocks >stock quotes</a> And in another document we may include Go to today s <a href= dailynews.html#stocks >stock quotes</a> 35

36 Table of Contents Links to parts of a document are very useful for tables of contents within a long document 36

37 Links to images: Links to Other Media e.g. Here is <a href= alan.jpg >me</a>. Links to addresses: e.g. <a href= >Mail me</a> Links to other types of document: e.g. <a href= mydoc.pdf >my document</a> requires non-browser software to view it, either stand-alone or browser plugin 37

38 Thumbnail Images Images are usually big and can take a long time to download Often use a thumbnail-sized image as a link to the full image, using <a> the target attribute tells the browser to open a new window: <a href= bruce.jpg target= myimage > it helps to indicate size of full image near thumbnail user has choice as to whether to download or not More details... 38

39 <p> <a href="bruce.jpg" target="myimage"> <img src="bruce65x75.jpg" alt= me"></a> Click the thumbnail to see a larger image (6.2kb) of me! </p> 39

40 Lists in HTML Unordered (bulleted) lists Numbered lists Definition lists We have limited control over appearance, such as bullet styles, using CSS 40

41 <ul> </ul> Unordered (Bulleted) Lists List entries with <li> </li> Bullet style can be set with style sheets <p><b>shopping List</b></p> <ul> <li>avocados</li> <li>tomatoes</li> <li>scallions</li> <li>black beans</li> </ul> 41

42 <ol> </ol> Ordered (Numbered) Lists first number and numbering style can be set with style sheets List entries with <li> </li> <p><b>the Morning</b></p> <ol> <li>wake up</li> <li>get up</li> </ol> 42

43 <dl> </dl> Definition Lists Term with <dt> </dt> Definition with <dd> </dd> <p><b>some Definitions</b></p> <dl> <dt>internet</dt> <dd>network of networks.</dd> <dt></dt> <dd>distributed system of hypertext documents known as web pages.</dd> <dt>html</dt> <dd>hypertext markup language.</dd> </dl> 43

44 Nested Lists Lists can be nested Browser automatically changes bullet style for unordered lists (Ordered lists can also be nested but change numbering style with style sheets) <ul> <li>breakfast <ul> <li>cereal</li> <li>toast</li> <li>coffee</li> </ul></li> <li>lunch</li> <li>dinner</li> </ul> 44

45 Style in Lists with CSS <head> <meta charset="utf-8"> <style type="text/css"> ul.cir { list-style-type: circle; } ul.squ { list-style-type: square; } ol.upa { list-style-type: upper-alpha; } ol.lor { list-style-type: lower-roman; } </style> <title>examples of Lists</title> </head> <body> <h3>shopping List</h3> <ul class="squ"> <li>avocados</li> <li>tomatoes</li> <li>scallions</li> <li>black beans</li> </ul> 45

46 Tables Rows and columns of tabular data 46

47 A Very Simple Table As basic as it gets <table> <tr> <td>cell 1</td><td>Cell 2</td> </tr> <tr> <td>cell 1</td><td>Cell 2</td> </tr> </table> <tr> </tr> defines each row <td> </td> defines each entry (cell) 47

48 Headers and Borders <table border= 1 > <tr> <th>row 1:</th> <td>cell 1</td><td>Cell 2</td> </tr> <tr> <th>row 2:</th> <td>cell 1</td><td>Cell 2</td> </tr> </table> Note: <th> </th> 48

49 Spanning Columns <table border= 1 > <caption>a Complicated Table</caption> <tr> <td rowspan= 3 >Cell 1</td> <td colspan= 2 >Cell 2</td> </tr> <tr> <td>cell 3</td><td>Cell 4</td> </tr> <tr> <td>cell 5</td><td>Cell 6</td> </tr> </table> Note: caption 49

50 Table Sizing Table and cell widths can be specified using style sheets Relative sizing Table relative to size of browser window Cell relative to table size Absolute sizing in pixels <table border= 1 > <tr> <td class= narrow >Left-hand</td> <td>right-hand</td> </tr> </table> 50

51 <HTML> <HEAD> <TITLE>A Two Column Table Layout</TITLE> <STYLE type="text/css">.whole {width: 100%}.narrow {width: 20%}.narfix {width: 40px} </STYLE> </HEAD> <TABLE BORDER=1> <TR> <TD>Left-hand column for links</td> <TD>Right-hand column for content</td> </TR> </TABLE> <TABLE BORDER=1 class="whole"> <TR> <TD CLASS="narrow">Left-hand column for links</td> <TD>Right-hand column for content</td> </TR> </TABLE> Sizing (contd) <TABLE BORDER=1> <TR> <TD CLASS="narrow">Left-hand column for links</td> <TD>Right-hand column for content</td> </TR> </TABLE> <TABLE BORDER=1> <TR> <TD CLASS="narfix">Left-hand column for links</td> <TD>Right-hand column for content</td> </TR> </TABLE> </BODY> </HTML> 51

52 Table Sizing (contd) 52

53 End of Lecture Next Web Tech lecture: Cascading Style Sheets 53

ITNP43: HTML Lecture 3

ITNP43: HTML Lecture 3 ITNP43: HTML Lecture 3 Niederst, Chapts 10, 11, 13 (3rd edn) 1 HTML So Far... Structural tags , , Text formatting , etc Element attributes e.g. Inline images

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

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

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

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

11. HTML5 and Future Web Application

11. HTML5 and Future Web Application 11. HTML5 and Future Web Application 1. Where to learn? http://www.w3schools.com/html/html5_intro.asp 2. Where to start: http://www.w3schools.com/html/html_intro.asp 3. easy to start with an example code

More information

1. The basic building block of an HTML document is called a(n) a. tag. b. element. c. attribute. d. container. Answer: b Page 5

1. The basic building block of an HTML document is called a(n) a. tag. b. element. c. attribute. d. container. Answer: b Page 5 Name Date Final Exam Prep Questions Worksheet #1 1. The basic building block of an HTML document is called a(n) a. tag. b. element. c. attribute. d. container. Answer: b Page 5 2. Which of the following

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

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

CSC Web Programming. Introduction to HTML

CSC Web Programming. Introduction to HTML CSC 242 - Web Programming Introduction to HTML Semantic Markup The purpose of HTML is to add meaning and structure to the content HTML is not intended for presentation, that is the job of CSS When marking

More information

Chapter 4. Introduction to XHTML: Part 1

Chapter 4. Introduction to XHTML: Part 1 Chapter 4. Introduction to XHTML: Part 1 XHTML is a markup language for identifying the elements of a page so a browser can render that page on a computer screen. Document presentation is generally separated

More information

A Brief Introduction to HTML

A Brief Introduction to HTML A P P E N D I X HTML SuMMAry J A Brief Introduction to HTML A web page is written in a language called HTML (Hypertext Markup Language). Like Java code, HTML code is made up of text that follows certain

More information

recall: a Web page is a text document that contains additional formatting information in the HyperText Markup Language (HTML)

recall: a Web page is a text document that contains additional formatting information in the HyperText Markup Language (HTML) HTML & Web Pages recall: a Web page is a text document that contains additional formatting information in the HyperText Markup Language (HTML) HTML specifies formatting within a page using tags in its

More information

CSC 121 Computers and Scientific Thinking

CSC 121 Computers and Scientific Thinking CSC 121 Computers and Scientific Thinking Fall 2005 HTML and Web Pages 1 HTML & Web Pages recall: a Web page is a text document that contains additional formatting information in the HyperText Markup Language

More information

A HTML document has two sections 1) HEAD section and 2) BODY section A HTML file is saved with.html or.htm extension

A HTML document has two sections 1) HEAD section and 2) BODY section A HTML file is saved with.html or.htm extension HTML Website is a collection of web pages on a particular topic, or of a organization, individual, etc. It is stored on a computer on Internet called Web Server, WWW stands for World Wide Web, also called

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

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

HTML and CSS Lecture 15 COMPSCI111/111G SS 2018

HTML and CSS Lecture 15 COMPSCI111/111G SS 2018 Essential Tags HTML and CSS Lecture 15 COMPSCI111/111G SS 2018 HTML5 requires the following tags to be in your html source file: html head title body 2 Block-level tags Paragraphs Define the structure

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

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

A Balanced Introduction to Computer Science, 3/E

A Balanced Introduction to Computer Science, 3/E A Balanced Introduction to Computer Science, 3/E David Reed, Creighton University 2011 Pearson Prentice Hall ISBN 978-0-13-216675-1 Chapter 2 HTML and Web Pages 1 HTML & Web Pages recall: a Web page is

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

HTML BEGINNING TAGS. HTML Structure <html> <head> <title> </title> </head> <body> Web page content </body> </html>

HTML BEGINNING TAGS. HTML Structure <html> <head> <title> </title> </head> <body> Web page content </body> </html> HTML BEGINNING TAGS HTML Structure Web page content Structure tags: Tags used to give structure to the document.

More information

Text and Layout. Digital Multimedia, 2nd edition Nigel Chapman & Jenny Chapman Chapter 11. This presentation 2004, MacAvon Media Productions

Text and Layout. Digital Multimedia, 2nd edition Nigel Chapman & Jenny Chapman Chapter 11. This presentation 2004, MacAvon Media Productions Text and Layout Digital Multimedia, 2nd edition Nigel Chapman & Jenny Chapman Chapter 11 This presentation 344 345 Text in Graphics Maximum flexibility obtained by treating text as graphics and manipulating

More information

Learning Objectives. Review html Learn to write a basic webpage in html Understand what the basic building blocks of html are

Learning Objectives. Review html Learn to write a basic webpage in html Understand what the basic building blocks of html are HTML CSCI311 Learning Objectives Review html Learn to write a basic webpage in html Understand what the basic building blocks of html are HTML: Hypertext Markup Language HTML5 is new standard that replaces

More information

Management Information Systems

Management Information Systems Management Information Systems Hands-On: HTML Basics Dr. Shankar Sundaresan 1 Elements, Tags, and Attributes Tags specify structural elements in a document, such as headings: tags and Attributes

More information

Fundamentals: Client/Server

Fundamentals: Client/Server Announcements Class Web Site: http://www.cs.umd.edu/projects/passport/classes/summer2008/ You can find this link at the end of the main passport site http://www.cs.umd.edu/projects/passport/webpage/ E-mail

More information

Downloads: Google Chrome Browser (Free) - Adobe Brackets (Free) -

Downloads: Google Chrome Browser (Free) -   Adobe Brackets (Free) - Week One Tools The Basics: Windows - Notepad Mac - Text Edit Downloads: Google Chrome Browser (Free) - www.google.com/chrome/ Adobe Brackets (Free) - www.brackets.io Our work over the next 6 weeks will

More information

INTRODUCTION TO HTML5! HTML5 Page Structure!

INTRODUCTION TO HTML5! HTML5 Page Structure! INTRODUCTION TO HTML5! HTML5 Page Structure! What is HTML5? HTML5 will be the new standard for HTML, XHTML, and the HTML DOM. The previous version of HTML came in 1999. The web has changed a lot since

More information

CSE 3. Marking Up with HTML. Comics Updates Shortcut(s)/Tip(s) of the Day Google Earth/Google Maps ssh Anti-Spyware

CSE 3. Marking Up with HTML. Comics Updates Shortcut(s)/Tip(s) of the Day Google Earth/Google Maps ssh Anti-Spyware CSE 3 Comics Updates Shortcut(s)/Tip(s) of the Day Google Earth/Google Maps ssh Anti-Spyware 1-1 4-1 Chapter 4: Marking Up With HTML: A Hypertext Markup Language Primer Fluency with Information Technology

More information

Hyper Text Markup Language HTML: A Tutorial

Hyper Text Markup Language HTML: A Tutorial Hyper Text Markup Language HTML: A Tutorial Ahmed Othman Eltahawey December 21, 2016 The World Wide Web (WWW) is an information space where documents and other web resources are located. Web is identified

More information

Web Publishing Basics I

Web Publishing Basics I Web Publishing Basics I Jeff Pankin Information Services and Technology Contents Course Objectives... 2 Creating a Web Page with HTML... 3 What is Dreamweaver?... 3 What is HTML?... 3 What are the basic

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

5/17/2009. Marking Up with HTML. An HTML Web Page File. Tags for Bold, Italic, and underline. Structuring Documents

5/17/2009. Marking Up with HTML. An HTML Web Page File. Tags for Bold, Italic, and underline. Structuring Documents Chapter 4: Marking Up With HTML: A Hypertext Markup Language Primer Marking Up with HTML Fluency with Information Technology Third Edition by Lawrence Snyder Tags describe how a web page should look Formatting

More information

How the Internet Works

How the Internet Works How the Internet Works The Internet is a network of millions of computers. Every computer on the Internet is connected to every other computer on the Internet through Internet Service Providers (ISPs).

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

HyperText Markup Language (HTML)

HyperText Markup Language (HTML) HyperText Markup Language (HTML) Mendel Rosenblum 1 Web Application Architecture Web Browser Web Server / Application server Storage System HTTP Internet LAN 2 Browser environment is different Traditional

More information

COMPSCI 111 / 111G An introduction to practical computing

COMPSCI 111 / 111G An introduction to practical computing Essential Tags COMPSCI 111 / 111G An introduction to practical computing HTML5 requires the following tags to be in your html source file: html head title body HTML5 2 1 2 Block level tags Paragraphs Define

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

Creating Web Pages. Getting Started

Creating Web Pages. Getting Started Creating Web Pages Getting Started Overview What Web Pages Are How Web Pages are Formatted Putting Graphics on Web Pages How Web Pages are Linked Linking to other Files What Web Pages Are Web Pages combine

More information

CMPT 165 Unit 2 Markup Part 2

CMPT 165 Unit 2 Markup Part 2 CMPT 165 Unit 2 Markup Part 2 Sept. 17 th, 2015 Edited and presented by Gursimran Sahota Today s Agenda Recap of materials covered on Tues Introduction on basic tags Introduce a few useful tags and concepts

More information

LING 408/508: Computational Techniques for Linguists. Lecture 14

LING 408/508: Computational Techniques for Linguists. Lecture 14 LING 408/508: Computational Techniques for Linguists Lecture 14 Administrivia Homework 5 has been graded Last Time: Browsers are powerful Who that John knows does he not like? html + javascript + SVG Client-side

More information

Chapter 1 Self Test. LATIHAN BAB 1. tjetjeprb{at}gmail{dot}com. webdesign/favorites.html :// / / / that houses that information. structure?

Chapter 1 Self Test. LATIHAN BAB 1. tjetjeprb{at}gmail{dot}com. webdesign/favorites.html :// / / / that houses that information. structure? LATIHAN BAB 1 Chapter 1 Self Test 1. What is a web browser? 2. What does HTML stand for? 3. Identify the various parts of the following URL: http://www.mcgrawhill.com/books/ webdesign/favorites.html ://

More information

HTML. Mohammed Alhessi M.Sc. Geomatics Engineering. Internet GIS Technologies كلية اآلداب - قسم الجغرافيا نظم المعلومات الجغرافية

HTML. Mohammed Alhessi M.Sc. Geomatics Engineering. Internet GIS Technologies كلية اآلداب - قسم الجغرافيا نظم المعلومات الجغرافية HTML Mohammed Alhessi M.Sc. Geomatics Engineering Wednesday, February 18, 2015 Eng. Mohammed Alhessi 1 W3Schools Main Reference: http://www.w3schools.com/ 2 What is HTML? HTML is a markup language for

More information

Basics of Web Design, 3 rd Edition Instructor Materials Chapter 2 Test Bank

Basics of Web Design, 3 rd Edition Instructor Materials Chapter 2 Test Bank Multiple Choice. Choose the best answer. 1. What element is used to configure a new paragraph? a. new b. paragraph c. p d. div 2. What element is used to create the largest heading? a. h1 b. h9 c. head

More information

Programmazione Web a.a. 2017/2018 HTML5

Programmazione Web a.a. 2017/2018 HTML5 Programmazione Web a.a. 2017/2018 HTML5 PhD Ing.Antonino Raucea antonino.raucea@dieei.unict.it 1 Introduzione HTML HTML is the standard markup language for creating Web pages. HTML stands for Hyper Text

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

HTML. Hypertext Markup Language. Code used to create web pages

HTML. Hypertext Markup Language. Code used to create web pages Chapter 4 Web 135 HTML Hypertext Markup Language Code used to create web pages HTML Tags Two angle brackets For example: calhoun High Tells web browser ho to display page contents Enter with

More information

Introduction to WEB PROGRAMMING

Introduction to WEB PROGRAMMING Introduction to WEB PROGRAMMING Web Languages: Overview HTML CSS JavaScript content structure look & feel transitions/animation s (CSS3) interaction animation server communication Full-Stack Web Frameworks

More information

Chapter 4: Marking Up With HTML: A Hypertext tmarkup Language Primer

Chapter 4: Marking Up With HTML: A Hypertext tmarkup Language Primer Chapter 4: Marking Up With HTML: A Hypertext tmarkup Language Primer Fluency with Information Technology Third Edition by Lawrence Snyder Copyright 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley

More information

HTML and CSS. Lecture 14 COMPSCI111/111G S1 2018

HTML and CSS. Lecture 14 COMPSCI111/111G S1 2018 HTML and CSS Lecture 14 COMPSCI111/111G S1 2018 Essential Tags HTML5 requires the following tags to be in your html source file: html head title body HTML5 02 2 Block-level tags Define the structure of

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

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

Introduction to HTML. SSE 3200 Web-based Services. Michigan Technological University Nilufer Onder

Introduction to HTML. SSE 3200 Web-based Services. Michigan Technological University Nilufer Onder Introduction to HTML SSE 3200 Web-based Services Michigan Technological University Nilufer Onder What is HTML? Acronym for: HyperText Markup Language HyperText refers to text that can initiate jumps to

More information

BASICS OF WEB DESIGN CHAPTER 2 HTML BASICS KEY CONCEPTS

BASICS OF WEB DESIGN CHAPTER 2 HTML BASICS KEY CONCEPTS BASICS OF WEB DESIGN CHAPTER 2 HTML BASICS KEY CONCEPTS 1 LEARNING OUTCOMES Describe the anatomy of a web page Format the body of a web page with block-level elements including headings, paragraphs, lists,

More information

(Refer Slide Time: 01:41) (Refer Slide Time: 01:42)

(Refer Slide Time: 01:41) (Refer Slide Time: 01:42) Internet Technology Prof. Indranil Sengupta Department of Computer Science and Engineering Indian Institute of Technology, Kharagpur Lecture No #14 HTML -Part II We continue with our discussion on html.

More information

COPYRIGHTED MATERIAL. Contents. Chapter 1: Creating Structured Documents 1

COPYRIGHTED MATERIAL. Contents. Chapter 1: Creating Structured Documents 1 59313ftoc.qxd:WroxPro 3/22/08 2:31 PM Page xi Introduction xxiii Chapter 1: Creating Structured Documents 1 A Web of Structured Documents 1 Introducing XHTML 2 Core Elements and Attributes 9 The

More information

HTMLnotesS15.notebook. January 25, 2015

HTMLnotesS15.notebook. January 25, 2015 The link to another page is done with the

More information

ITNP43: HTML Lecture 4

ITNP43: HTML Lecture 4 ITNP43: HTML Lecture 4 Niederst, Part III (3rd edn) 1 Style versus Content HTML purists insist that style should be separate from content and structure HTML was only designed to specify the structure and

More information

Chapter 4 A Hypertext Markup Language Primer

Chapter 4 A Hypertext Markup Language Primer Chapter 4 A Hypertext Markup Language Primer Learning Objectives Know the meaning of and use hypertext terms Use HTML tags to structure a document Use HTML tag attributes Use Cascading Style Sheets to

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

Tutorial 1 Getting Started with HTML5. HTML, CSS, and Dynamic HTML 5 TH EDITION

Tutorial 1 Getting Started with HTML5. HTML, CSS, and Dynamic HTML 5 TH EDITION Tutorial 1 Getting Started with HTML5 HTML, CSS, and Dynamic HTML 5 TH EDITION Objectives Explore the history of the Internet, the Web, and HTML Compare the different versions of HTML Study the syntax

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

MMGD0204 Web Application Technologies. Chapter 3 HTML - TEXT FORMATTING

MMGD0204 Web Application Technologies. Chapter 3 HTML - TEXT FORMATTING MMGD0204 Web Application Technologies Chapter 3 HTML - TEXT FORMATTING Headings The to tags are used to define HTML headings. defines the largest heading and defines the smallest heading.

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

Marking Up with HTML. Tags for Bold, Italic, and underline. An HTML Web Page File. Chapter 4: Marking Up With HTML: A. Formatting with Tags:

Marking Up with HTML. Tags for Bold, Italic, and underline. An HTML Web Page File. Chapter 4: Marking Up With HTML: A. Formatting with Tags: Chapter 4: Marking Up With HTML: A HypertextMarkup tm Language Primer Fluency with Information Technology Third Edition by Lawrence Snyder Marking Up with HTML Tags describe how a web page should look

More information

By Ryan Stevenson. Guidebook #2 HTML

By Ryan Stevenson. Guidebook #2 HTML By Ryan Stevenson Guidebook #2 HTML Table of Contents 1. HTML Terminology & Links 2. HTML Image Tags 3. HTML Lists 4. Text Styling 5. Inline & Block Elements 6. HTML Tables 7. HTML Forms HTML Terminology

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

Indian Institute of Technology Kharagpur. HTML Part III. Prof. Indranil Sen Gupta Dept. of Computer Science & Engg. I.I.T.

Indian Institute of Technology Kharagpur. HTML Part III. Prof. Indranil Sen Gupta Dept. of Computer Science & Engg. I.I.T. Indian Institute of Technology Kharagpur HTML Part III Prof. Indranil Sen Gupta Dept. of Computer Science & Engg. I.I.T. Kharagpur, INDIA Lecture 15: HTML Part III On completion, the student will be able

More information

Chapter 2 Creating and Editing a Web Page

Chapter 2 Creating and Editing a Web Page Chapter 2 Creating and Editing a Web Page MULTIPLE CHOICE 1. is a basic text editor installed with Windows that you can use for simple documents or for creating Web pages using HTML. a. Microsoft Word

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

Part 1: HTML Language HyperText Make-up Language

Part 1: HTML Language HyperText Make-up Language Part 1: HTML Language HyperText Make-up Language 09/08/2010 1 CHAPTER I Introduction about Web Design 2 Internet and World Wide Web The Internet is the world s largest computer network The Internet is

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

What You Will Learn Today

What You Will Learn Today CS101 Lecture 03: The World Wide Web and HTML Aaron Stevens 23 January 2011 1 What You Will Learn Today Is it the Internet or the World Wide Web? What s the difference? What is the encoding scheme behind

More information

1.264 Lecture 12. HTML Introduction to FrontPage

1.264 Lecture 12. HTML Introduction to FrontPage 1.264 Lecture 12 HTML Introduction to FrontPage HTML Subset of Structured Generalized Markup Language (SGML), a document description language SGML is ISO standard Current version of HTML is version 4.01

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

More information

What is a web site? Web editors Introduction to HTML (Hyper Text Markup Language)

What is a web site? Web editors Introduction to HTML (Hyper Text Markup Language) What is a web site? Web editors Introduction to HTML (Hyper Text Markup Language) What is a website? A website is a collection of web pages containing text and other information, such as images, sound

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

Lab 4 CSS CISC1600, Spring 2012

Lab 4 CSS CISC1600, Spring 2012 Lab 4 CSS CISC1600, Spring 2012 Part 1 Introduction 1.1 Cascading Style Sheets or CSS files provide a way to control the look and feel of your web page that is more convenient, more flexible and more comprehensive

More information

Creating and Editing a Web Page Using Inline Styles

Creating and Editing a Web Page Using Inline Styles HTML 2 Creating and Editing a Web Page Using Inline Styles Objectives You will have mastered the material in this chapter when you can: Identify elements of a Web page Start Notepad++ and describe the

More information

The [HTML] Element p. 61 The [HEAD] Element p. 62 The [TITLE] Element p. 63 The [BODY] Element p. 66 HTML Elements p. 66 Core Attributes p.

The [HTML] Element p. 61 The [HEAD] Element p. 62 The [TITLE] Element p. 63 The [BODY] Element p. 66 HTML Elements p. 66 Core Attributes p. Acknowledgments p. xix Preface p. xxi Web Basics Introduction to HTML p. 3 Basic HTML Concepts p. 4 HTML: A Structured Language p. 7 Overview of HTML Markup p. 11 Logical and Physical HTML p. 13 What HTML

More information

UNIT II Dynamic HTML and web designing

UNIT II Dynamic HTML and web designing UNIT II Dynamic HTML and web designing HTML is a language for describing web pages. HTML stands for Hyper Text Markup Language HTML is not a programming language, it is a markup language A markup language

More information

COMP519: Web Programming Lecture 4: HTML (Part 3)

COMP519: Web Programming Lecture 4: HTML (Part 3) COMP519: Web Programming Lecture 4: HTML (Part 3) Ullrich Hustadt Department of Computer Science School of Electrical Engineering, Electronics, and Computer Science University of Liverpool Contents 1 HTML

More information

HTML Images - The <img> Tag and the Src Attribute

HTML Images - The <img> Tag and the Src Attribute WEB DESIGN HTML Images - The Tag and the Src Attribute In HTML, images are defined with the tag. The tag is empty, which means that it contains attributes only, and has no closing tag.

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

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

Introduction to HTML. Bin Li Assistant Professor Dept. of Electrical, Computer and Biomedical Engineering University of Rhode Island

Introduction to HTML. Bin Li Assistant Professor Dept. of Electrical, Computer and Biomedical Engineering University of Rhode Island Introduction to HTML Bin Li Assistant Professor Dept. of Electrical, Computer and Biomedical Engineering University of Rhode Island Hypertext & HTML HyperText Markup Language (HTML) is the language for

More information

Creating Web Pages with SeaMonkey Composer

Creating Web Pages with SeaMonkey Composer 1 of 26 6/13/2011 11:26 PM Creating Web Pages with SeaMonkey Composer SeaMonkey Composer lets you create your own web pages and publish them on the web. You don't have to know HTML to use Composer; it

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

WTAD Text Editors for HTML. Text Editors: Kate HTML. (HyperText Markup Language)

WTAD Text Editors for HTML. Text Editors: Kate HTML. (HyperText Markup Language) HTML (Hyper Text Markup Language) WTAD 3 languages all web developers must learn: 1. HTML to define the content of web pages 2. CSS to specify the layout of web pages 3. JavaScript to program the behaviour

More information

WTAD. Unit -1 Introduction to HTML (HyperText Markup Language)

WTAD. Unit -1 Introduction to HTML (HyperText Markup Language) WTAD Unit -1 Introduction to HTML (HyperText Markup Language) HTML (Hyper Text Markup Language) 3 languages all web developers must learn: 1. HTML to define the content of web pages 2. CSS to specify the

More information

Markup Language SGML: Standard Generalized Markup Language. HyperText Markup Language (HTML) extensible Markup Language (XML) TeX LaTeX

Markup Language SGML: Standard Generalized Markup Language. HyperText Markup Language (HTML) extensible Markup Language (XML) TeX LaTeX HTML 1 Markup Languages A Markup Language is a computer language in which data and instructions describing the structure and formatting of the data are embedded in the same file. The term derives from

More information

Brief Intro to HTML. CITS3403 Agile Web Development. 2018, Semester 1

Brief Intro to HTML. CITS3403 Agile Web Development. 2018, Semester 1 Brief Intro to HTML CITS3403 Agile Web Development 2018, Semester 1 Some material Copyright 2013 Pearson Education, Inc. Publishing as Pearson Addison-Wesley. Origins and Evolutions of HTML HTML was defined

More information

Website Development with HTML5, CSS and Bootstrap

Website Development with HTML5, CSS and Bootstrap Contact Us 978.250.4983 Website Development with HTML5, CSS and Bootstrap Duration: 28 hours Prerequisites: Basic personal computer skills and basic Internet knowledge. Course Description: This hands on

More information

Bridges To Computing

Bridges To Computing Bridges To Computing General Information: This document was created for use in the "Bridges to Computing" project of Brooklyn College. You are invited and encouraged to use this presentation to promote

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

HTML Overview formerly a Quick Review

HTML Overview formerly a Quick Review HTML Overview formerly a Quick Review Outline HTML into Emergence of DHTML HTML History Evolution of Web 1.0 to Web 2.0 DHTML = HTML + JavaScript + CSS Key Set of HTML Tags Basic: a, html, head, body,

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

CAS 111D: XHTML Tutorial

CAS 111D: XHTML Tutorial CAS 111D: XHTML Tutorial HTML, XML, XHTML, Oh My! You may, or may not, have heard the terms: HTML, XML, or XHTML. What are they and what is the difference between them? Listed below are some basic definitions.

More information