EECS1012. Net-centric Introduction to Computing. Lecture 2: HTML

Size: px
Start display at page:

Download "EECS1012. Net-centric Introduction to Computing. Lecture 2: HTML"

Transcription

1 EECS1012 Net-centric Introduction to Computing Lecture 2: Acknowledgements Contents are adapted from web lectures for Web Programming Step by Step, by M. Stepp, J. Miller, and V. Kirst Slides have been ported to PPT by Dr. Xenia Mountrouidou These slides have been edited for EECS1012, York University The contents of these slides may be modified and redistributed, please give appropriate credit. M.S. Brown, EECS York University 1 (Creative Commons) Michael S. Brown, 2017

2 2 Basic

3 Hypertext Markup Language () 3 Describes the content and structure of information on a web page Not the same as the presentation (appearance on the screen) Surrounds text content with opening and closing tags Each tag's name is called an element syntax: <element> content </element> example: <p>this is a paragraph</p> EECS 1012 CS380

4 5 4 The latest version of, standardize in 2017 Initial recommendation started in 2008 Gives you an idea of how long it takes to standardize a markup language Our examples will focus on 5 IE8 in Windows may not always support it Get yourself a better browser!

5 Structure of page 5 <!DOCTYPE html> <html> <head> information about the page </head> <body> page contents </body> </html> is saved with extension.html Basic structure: tags that enclose content, i.e., elements Header describes the page Body contains the page s contents

6 Structure of page 6 <!DOCTYPE html> <html>.. </html> All pages should start with a <!DOCTYPE html>. This is not part of the standard.. However, this is used by the browser to know what type of document it is loading (e.g. maybe an older 2.0, etc see here) <!DOCTYPE html> is used for 5, and is required to be considered a valid html5 document. This will be important when we validate our files later.

7 Page title <title> 7 <head> <title> Chapter 2: </title> </head> Placed within the head of the page Displayed in web browser s title mark and when bookmarking the page

8 Specifying the document encoding 8 <head> <meta charset= UTF-8 > </head> Strict 5 requires that the charset used to encode the document be specified. UTF is a standard 8-bit encoding used by virtually all servers these days. The details are bit overly complex, so for now just believe me that you need to have the above tag in your <head> </head> section.

9 Paragraph <p> 9 <body> <p>whatever you do will be insignificant, but it is very important that you do it.</p> </body> Whatever you do will be insignificant, but it is very important that you do it. output Placed within the body of the page Note that whitespace and new lines * are ignored. *What is a new line? When you hit enter on your keyboard, it generates a new line character that moves to the next line in the document.

10 Headings <h1>, <h2>, <h6> 10 <h1> Harry Potter </h1> <h2> Books </h2> <h3> Harry Potter and the Philosopher s Stone </h3> Harry Potter Books Harry Potter and the Philosopher s Stone More examples output

11 Horizontal rule <hr> 11 <p> First paragraph </p> <hr> <p> Second Paragraph </p> First Paragraph Second Paragraph Generates a line between paragraphs. Note that this does not require a closing </hr> output This type of element is called an empty element (or a void element)

12 Block and Inline elements 12 Block elements contain an entire large region of content examples: paragraphs, lists, table cells the browser places a margin of whitespace between block elements for separation

13 Block and Inline elements (cont.) 13 Inline elements affect a small amount of content Examples: bold text, code fragments, images the browser allows many inline elements to appear on the same line must be nested inside a block element

14 More info on block and inline 14 See more information here: When you use CSS (next lecture) you will often need to remember if an element is a block or an inline element - it will behave differently.

15 More about tags 15 Some tags can contain additional information called attributes syntax: <element attribute="value" attribute="value"> content </element> example: <a href="page2.html">next page</a>

16 Even more about tags 16 Some tags don't contain content between the tags (they may specify content but not between the tags); these tags can be opened and closed in one tag syntax: <element attribute="value" attribute="value"> example: <hr> example: <img src= Harry.jpg" alt="pic of Harry Potter">

17 Links <a> 17 <p> Search <a href=" now! </p> Search Google now! output The href attribute specifies the destination URL Links or anchors are inline elements, so they must be placed inside a block element such as a p or h1

18 More about links/anchors 18 <p><a href= deathlyhallows-book.html">harry Potter and the Deathly Hallows Book</a></p> <p><a href=" title="search">wikipedia</a></p> Harry Potter and the Deathly Hallows Wikipedia output Types of URLs that can appear in anchors: Absolute: to another web site Relative: to another page on this web site

19 Target _blank attribute 19 <p><a target= _blank href=" title="search">wikipedia</a></p> Wikipedia output Target attribute Setting the target attribute to _blank (with a leading underscore character) will force the link to open in a new tab or page.

20 Nesting tags 20 Bad.. don t do this <p> <a href=" deathlyhallows-book.html"> Harry Potter and the Deathly Hallows Book </p> <p> <p> tag was closed before the <a> tag. This text also links to Harry Potter Book </a> </p> Tags must be correctly nested: a closing tag must match the most recently opened tag The browser may render it correctly anyway, but it is invalid 5 * I ll use a Deaner icon to denote a bad example.

21 Image element <img> 21 <img src="images/tobby.jpg" alt= Tobby from Harry Potter"> The src attribute specifies source of the image URL 5 also requires an alt attribute describing the image.. this gives a text description when for some reason the user cannot view it (slow connection, text only browser)

22 Images as link content 22 <a href=" > <img src="images/dumbledore.jpg" alt= Dumbledore from Harry Potter" title="alas! Ear wax!"> </a> If placed inside an a anchor, the image will become a link The title attribute specifies an optional tooltip

23 Line break <br> 23 <p>teddy said it was a hat, <br> So I put it on.</p> <p>now Daddy's sayin', <br> Where the heck's the toilet plunger gone?</p> Teddy said it was a hat, So I put it on. Now Daddy's sayin', Where the heck's the toilet plunger gone? output br should not be used to separate paragraphs or used multiple times in a row to create spacing

24 Comments <!-- -- > 24 <!-- My web page, by Deaner EECS 1012, Fall > <p>eecs courses are <!-- NOT --> a lot of fun!</p> EECS courses are a lot of fun! output Comments are useful for disabling sections of a page Useful for adding in information about the page Comments cannot be nested and cannot contain a --

25 Phrase elements <em>, <strong> 25 <p> is <em>really</em>, <strong>really</strong> fun! </p> is really REALLY fun! output em: emphasized text (usually in italic) strong: strongly emphasized text (usually in bold) The tags must be properly nested for a valid page

26 Unordered list: <ul>, <li> 26 <ul> <li>no shoes</li> <li>no shirt</li> <li>no problem!</li> </ul> No shoes No shirt No problem! output ul represents a bulleted list of items (block) li represents a single item within the list (block)

27 Nesting lists 27 <ul> <li>harry <li>harry Potter characters: Potter characters: <ul> <ul> <li>harry Potter</li> <li>harry Potter</li> <li>hermione</li> <li>hermione</li> <li>ron</li> <li>ron</li> </ul> </ul> </li> </li> <li>lotr <li>lotr characters: characters: <ul> <ul> <li>frodo</li> <li>bilbo</li> <li>sam</li> </ul> </li> </ul> </ul> </li> <li>frodo</li> <li>bilbo</li> <li>sam</li>

28 Output from previous slide 28 Harry Potter characters: Harry Potter Hermione Ron LOTR characters: Frodo Bilbo Sam output

29 Ordered list <ol> 29 <p>apple business model:</p> <ol> <li>beat Microsoft</li> <li>beat Google</li> <li>conquer the world!</li> </ol> Apple business model: 1. Beat Microsoft 2. Beat Google 3. Conquer the world output ol represents a numbered list of items we can make lists with letters or Roman numerals using CSS (later)

30 Common error: Not closing a list 30 <ul> <li>no shoes</li> <li>no shirt</li> <li>no problem!</li> <p>paragraph after list...</p> No shoes No shirt No problem! Paragraph after list... output If you leave a list open, subsequent contents will be indented (to correct, you need to insert a </ul>)

31 31 Common Error!: Improper nested list placement <ul> <li>harry Potter characters:</li> <ul> <li>harry Potter</li> <li>hermione</li> <li>ron</li> </ul> </li> <li>lotr characters: <ul> <li>frodo</li> <li>bilbo</li> <li>sam</li> </ul> </ul> closing the outer li too early (or not at all) will render correctly in most browsers, but it is incorrect

32 Definition list <dl>, <dt>, <dd> 32 <dl> <dt>newbie</dt> <dd>one who does not have mad skills</dd> <dt>jaded</dt> <dd>tired, bored, or lacking enthusiasm </dd> <dt>frag</dt> <dd>a kill in a shooting game</dd> </dl> newbie one who does not have mad skills jaded Tired, bored, or lacking enthusiasm frag a kill in a shooting game dl represents a list of definitions of terms dt represents each term, and dd its definition output

33 Tables <table>, <tr>, <td> 33 <table> <tr><td>1,1</td><td>1,2 okay</td></tr> <tr><td>2,1 real wide</td><td>2,2</td></tr> </table> 1,1 1,2 okay 2,1 real wide 2,2 output table defines the overall table, tr each row, and td each cell's data Useful for displaying large row/column data sets NOTE: tables are sometimes used by novices for web page layout, but this is not proper semantic and should be avoided

34 34 Table headers, captions: <th>, <caption> <table> <caption>my important data</caption> <tr><th>column 1</th><th>Column 2</th></tr> <tr><td>1,1</td><td>1,2 okay</td></tr> <tr><td>2,1 real wide</td><td>2,2</td></tr> </table> My important data Column 1 Column 2 1,1 1,2 okay 2,1 real wide 2,2 th cells in a row are considered headers a caption at the start of the table labels its meaning output

35 Quotations <blockquote> 35 <p>as Lincoln said in his famous Gettysburg Address:</p> <blockquote> <p>fourscore and seven years ago, our fathers brought forth on this continent a new nation, conceived in liberty, and dedicated to the proposition that all men are created equal.</p> </blockquote> As Lincoln said in his famous Gettysburg Address: Fourscore and seven years ago, our fathers brought forth on this continent a new nation, conceived in liberty, and dedicated to the proposition that all men are created equal. output a lengthy quotation

36 Inline quotations <q> 36 <p>quoth the Raven, <q>nevermore.</q></p> Quoth the Raven, Nevermore. output a short quotation Why not just write the following? <p>quoth the Raven, "Nevermore."</p> using <q> allows us to apply CSS styles to quotations

37 character entities 37 List of characters entities Question: how would you display the text & on a web page?

38 Using entities 38 <p> <a href=" 8&aq=t"> Search Google for Deaner </a> </p> <p> <a href=" Search Google for Xenia </a> </p> output To display the link text in a web page, its special characters must be encoded as shown above

39 Computer code <code> 39 <p> The <code>ul</code> and <code>ol</code> tags make lists. </p> The ul and ol tags make lists. output code: a short section of computer code

40 Preformatted text <pre> 40 <pre> Bill Gates speaks You will be assimilated Microsoft fans delirious </pre> Bill Gates speaks You will be assimilated Microsoft fans delirious output Displayed with exactly the whitespace / line breaks given in the text Shown in a fixed-width font by default

41 <pre> and <code> together 41 <pre><code> public static void main(string[] args) { System.out.println("Hello, world!"); } </code></pre> public static void main(string[] args) { System.out.println("Hello, world!"); } output When showing a large section of computer code, enclose it in a pre to preserve whitespace and a code to describe the semantics of the content

42 Web standards 42 Why use 5 and web standards? more rigid and structured language more interoperable across different web browsers more likely that our pages will display correctly in the future

43 W3C 5 Validator 43 checks your code to make sure it meets the official strict 5 specifications Very useful for finding bugs in your code

44 Web page metadata <meta> 44 <meta name="description" content= Harry Potter Official Website."> <meta name="keywords" content="harry potter, harry potter and the deathly hallows, deathly hallows, ministry of magic, resurrection stone, clock of invisibility"> <meta charset= UTF-8 > information about your page (for a browser, search engine, etc.) placed in the head of your page meta tags often have both the name and content attributes

45 meta element to describe the page 45 <head> <meta name="author" content="web page's author"> <meta name="revised" content="web page version and/or last modification date"> <meta name="generator" content="the software used to create the page"> </head> many WYSIWYG editors (FrontPage, PageMaker, etc.) place their names in the meta generator tag (why?)

46 meta element to aid search engines 46 <head> <meta name="description" content="how you want search engines to display your page"> <meta name="keywords" content="words to associate with your page (comma separated)"> </head> these are suggestions to search engines about how to index your page the search engine may choose to ignore them (why?)

CSC 443: Web Programming

CSC 443: Web Programming 1 CSC 443: Web Programming Haidar Harmanani Department of Computer Science and Mathematics Lebanese American University Byblos, 1401 2010 Lebanon 2 Basic Haidar Harmanani Department of Computer Science

More information

Lecture 2 HTML. April 11 th, Web Application Development CS 228 Web Development CS 303

Lecture 2 HTML. April 11 th, Web Application Development CS 228 Web Development CS 303 Lecture 2 HTML April 11 th, 2015 Web Application Development CS 228 Web Development CS 303 Fall 2015 numangift.wordpress.com/web-development-spring-2015 Hypertext Markup Language (HTML) describes the content

More information

Lecture Notes 2: Hypertext Markup Language (HTML)

Lecture Notes 2: Hypertext Markup Language (HTML) Page 1 Lecture Notes 2: Hypertext Markup Language (HTML) CSE 190 M (Web Programming), Spring 2007 University of Washington Reading: Sebesta Ch. 2 sections 2.1-2.4.5, 2.4.7-2.4.9, 2.5-2.6.1, 2.7-2.7.2 Hypertext

More information

CSE 154 LECTURE 1: BASIC HTML AND CSS

CSE 154 LECTURE 1: BASIC HTML AND CSS CSE 154 LECTURE 1: BASIC HTML AND CSS Hypertext Markup Language (HTML) describes the content and structure of information on a web page not the same as the presentation (appearance on screen) surrounds

More information

Basic Web Pages with XHTML (and a bit of CSS) CSE 190 M (Web Programming), Spring 2008 University of Washington Reading: Chapter 1, sections

Basic Web Pages with XHTML (and a bit of CSS) CSE 190 M (Web Programming), Spring 2008 University of Washington Reading: Chapter 1, sections Basic Web Pages with XHTML (and a bit of CSS) CSE 190 M (Web Programming), Spring 2008 University of Washington Reading: Chapter 1, sections 1.1-1.3 Except where otherwise noted, the contents of this presentation

More information

Web Programming Step by Step

Web Programming Step by Step Web Programming Step by Step Lecture 2 HTML/CSS Basics Reading: Ch. 2, 3.1 Except where otherwise noted, the contents of this presentation are Copyright 2009 Marty Stepp and Jessica Miller. Basic HTML

More information

Overview. Basic HTML More HTML Elements Web Standards

Overview. Basic HTML More HTML Elements Web Standards BASIC HTML 1 Overview 2 Basic HTML More HTML Elements Web Standards 3 Basic HTML Hypertext Markup Language (HTML) 4 Describes the content and structure of information on a web page Not the same as the

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

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

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

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

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

EECS1012. Net-centric Introduction to Computing. Lecture 3: CSS for Styling

EECS1012. Net-centric Introduction to Computing. Lecture 3: CSS for Styling EECS1012 Net-centric Introduction to Computing Lecture 3: CSS for Styling Acknowledgements Contents are adapted from web lectures for Web Programming Step by Step, by M. Stepp, J. Miller, and V. Kirst.

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

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

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

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

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

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

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

Web Development & Design Foundations with HTML5 & CSS3 Instructor Materials Chapter 2 Test Bank

Web Development & Design Foundations with HTML5 & CSS3 Instructor Materials Chapter 2 Test Bank Multiple Choice. Choose the best answer. 1. What tag pair is used to create a new paragraph? a. b. c. d. 2. What tag pair

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

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

COMP519 Web Programming Lecture 3: HTML (HTLM5 Elements: Part 1) Handouts

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

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

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

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

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

I-5 Internet Applications

I-5 Internet Applications I-5 Internet Applications After completion of this unit, you should be able to understand and code a webpage that includes pictures, sounds, color, a table, a cursor trail, hypertext, and hyperlinks. Assignments:

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

Introduction to HTML

Introduction to HTML Introduction to HTML What is HTML? HTML is the standard markup language for creating Web pages. HTML stands for Hyper Text Markup Language HTML describes the structure of Web pages using markup HTML elements

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

More about HTML. Digging in a little deeper

More about HTML. Digging in a little deeper More about HTML Digging in a little deeper Structural v. Semantic Markup Structural markup is using to encode information about the structure of a document. Examples: , , , and

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

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

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

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

More information

Computer Applications Final Exam Study Guide

Computer Applications Final Exam Study Guide Computer Applications Final Exam Study Guide Our final exam is based from the quizzes, tests, and from skills we have learned about Hardware, PPT, Word, Excel and HTML during our Computer Applications

More information

Web Development & Design Foundations with HTML5 & CSS3 Instructor Materials Chapter 2 Test Bank

Web Development & Design Foundations with HTML5 & CSS3 Instructor Materials Chapter 2 Test Bank Multiple Choice. Choose the best answer. 1. What tag pair is used to create a new paragraph? a. b. c. d. 2. What tag pair

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+ CSS PRINCIPLES. Getting started with web design the right way

HTML+ CSS PRINCIPLES. Getting started with web design the right way HTML+ CSS PRINCIPLES Getting started with web design the right way HTML : a brief history ❶ 1960s : ARPANET is developed... It is the first packet-switching network using TCP/IP protocol and is a precursor

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

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

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

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

Make a Website. A complex guide to building a website through continuing the fundamentals of HTML & CSS. Created by Michael Parekh 1

Make a Website. A complex guide to building a website through continuing the fundamentals of HTML & CSS. Created by Michael Parekh 1 Make a Website A complex guide to building a website through continuing the fundamentals of HTML & CSS. Created by Michael Parekh 1 Overview Course outcome: You'll build four simple websites using web

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

Web Design 101. What is HTML? HTML Tags. Web Browsers. <!DOCTYPE html> <html> <body> <h1>my First Heading</h1> <p>my first paragraph.

Web Design 101. What is HTML? HTML Tags. Web Browsers. <!DOCTYPE html> <html> <body> <h1>my First Heading</h1> <p>my first paragraph. What is HTML? Web Design 101 HTML is a language for describing web pages. HTML stands for Hyper Text Markup Language HTML is a markup language à A markup language is a set of markup tags The tags describe

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 Development and Design Foundations with HTML5 8th Edition

Web Development and Design Foundations with HTML5 8th Edition Web Development and Design Foundations with HTML5 8th Edition Felke-Morris TEST BANK Full clear download (no formatting errors) at: Web Development and Design Foundations with HTML5 8th Edition Felke-Morris

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

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 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

c122sep814.notebook September 08, 2014 All assignments should be sent to Backup please send a cc to this address

c122sep814.notebook September 08, 2014 All assignments should be sent to Backup please send a cc to this address All assignments should be sent to p.grocer@rcn.com Backup please send a cc to this address Note that I record classes and capture Smartboard notes. They are posted under audio and Smartboard under XHTML

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

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

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

EECS1012. Net-centric Introduction to Computing. Lecture 5: Yet more CSS (Float and Positioning)

EECS1012. Net-centric Introduction to Computing. Lecture 5: Yet more CSS (Float and Positioning) EECS 1012 EECS1012 Net-centric Introduction to Computing Lecture 5: Yet more CSS (Float and Positioning) Acknowledgements Contents are adapted from web lectures for Web Programming Step by Step, by M.

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

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

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

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

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

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

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

It is possible to create webpages without knowing anything about the HTML source behind the page.

It is possible to create webpages without knowing anything about the HTML source behind the page. What is HTML? HTML is the standard markup language for creating Web pages. HTML is a fairly simple language made up of elements, which can be applied to pieces of text to give them different meaning in

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

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

INTRODUCTION TO WEB USING HTML What is HTML?

INTRODUCTION TO WEB USING HTML What is HTML? Geoinformation and Sectoral Statistics Section (GiSS) INTRODUCTION TO WEB USING HTML What is HTML? HTML is the standard markup language for creating Web pages. HTML stands for Hyper Text Markup Language

More information

CSCE 101. Creating Web Pages with HTML5 Applying style with CSS

CSCE 101. Creating Web Pages with HTML5 Applying style with CSS CSCE 101 Creating Web Pages with HTML5 Applying style with CSS Table of Contents Introduction... 1 Required HTML Tags... 1 Comments... 2 The Heading Tags... 2 The Paragraph Tag... 2 The Break Tag... 3

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

Bok, Jong Soon

Bok, Jong Soon HTML 5 Grouping Contents Bok, Jong Soon jongsoon.bok@gmail.com www.javaexpert.co.kr Defines a paragraph. Browsers automatically add some space (margin) before and after each element. Differences

More information

HTML TUTORIAL ONE. Understanding What XHTML is Not

HTML TUTORIAL ONE. Understanding What XHTML is Not HTML TUTORIAL ONE Defining Blended HTML, XHTML and CSS HTML: o Language used to create Web pages o Create code to describe structure of a Web page XHTM: o Variation of HTML o More strictly defines how

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

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

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

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

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

More information

HTML 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

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

7300 Warden Avenue, Suite 503 Markham, Ontario Canada L3R 9Z6. Phone: Toll Free: Fax:

7300 Warden Avenue, Suite 503 Markham, Ontario Canada L3R 9Z6. Phone: Toll Free: Fax: HTML and CSS 7300 Warden Avenue, Suite 503 Markham, Ontario Canada L3R 9Z6 Phone: 905-479-3780 Toll Free: 877-479-3780 Fax: 905-479-1047 e-mail: info@andarsoftware.com Web: www.andarsoftware.com.com Copyright

More information

CIS 228 (Fall, 2012) Exam 2, 11/20/12

CIS 228 (Fall, 2012) Exam 2, 11/20/12 CIS 228 (Fall, 2012) Exam 2, 11/20/12 Name (sign) Name (print) email Question 1 2 3 4 5 6 7 8 9 10 TOTAL Score CIS 228, exam 2 1 11/20/12 True or false: Question 1 Unordered lists can contain ordered sub-lists.

More information

This document provides a concise, introductory lesson in HTML formatting.

This document provides a concise, introductory lesson in HTML formatting. Tip Sheet This document provides a concise, introductory lesson in HTML formatting. Introduction to HTML In their simplest form, web pages contain plain text and formatting tags. The formatting tags are

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

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

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

Web Page Creation Part I. CS27101 Introduction to Web Interface Design Prof. Angela Guercio

Web Page Creation Part I. CS27101 Introduction to Web Interface Design Prof. Angela Guercio Web Page Creation Part I CS27101 Introduction to Web Interface Design Prof. Angela Guercio Objective In this lecture, you will learn: What HTML is and what XHTML is How to create an (X)HTML file The (X)HTML

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

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

HTML Hyper Text Markup Language

HTML Hyper Text Markup Language HTML Hyper Text Markup Language Home About Services index.html about.html services.html Homepage = index.html site root index.html about.html services.html images headshot.jpg charlie.jpg A webpage built

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

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

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

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

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

Developing a Basic Web Page

Developing a Basic Web Page Developing a Basic Web Page Creating a Web Page for Stephen Dubé s Chemistry Classes 1 Objectives Review the history of the Web, the Internet, and HTML Describe different HTML standards and specifications

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

GRAPHIC WEB DESIGNER PROGRAM

GRAPHIC WEB DESIGNER PROGRAM NH128 HTML Level 1 24 Total Hours COURSE TITLE: HTML Level 1 COURSE OVERVIEW: This course introduces web designers to the nuts and bolts of HTML (HyperText Markup Language), the programming language used

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

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

Desire2Learn: HTML Basics

Desire2Learn: HTML Basics Desire2Learn: HTML Basics Page 1 Table of Contents HTML Basics... 2 What is HTML?...2 HTML Tags...2 HTML Page Structure...2 Required Tags...3 Useful Tags...3 Block Quote - ...

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