CMPT 470: Web-based Information Systems

Size: px
Start display at page:

Download "CMPT 470: Web-based Information Systems"

Transcription

1 CMPT 470: Web-based Information Systems Spring 2018 Week 2: HTML & CSS

2 Reminder: 2

3 HTML 3

4 Book: Dive into HTML5 each chapter includes a frank discussion of your options if you need to support older browsers. HTML5 features like geolocation (Chapter 6) and video (Chapter 5) were first provided by browser plugins like Gears or Flash. Other features, like canvas (Chapter 4), can be emulated entirely in JavaScript. This book will teach you how to target the native features of modern browsers, without leaving older browsers behind 4

5 HTML5 Based on HTML4 New features: Canvas Video Geolocation 5

6 Components to Good Webpage Design CONTENT Messages to convey to your audience Proper grammar Elements: text, images, videos, audios, supplements (e.g. pdf) INTERACTION Provide appropriate response/reactions to audience Via web programming STRUCTURE Give meaning to each element Hyperlinks (to link pages) Meta data (about the data) Via markup, e.g. HTML STYLE Enhance message Describe visual properties of each element Via style sheets (CSS)

7 HTML: quick review 7

8 8

9 9

10 What is structure? Structure is a fundamental, tangible or intangible notion referring to the recognition, observation, nature, and permanence of patterns and relationships of entities 10

11 A simple HTML5 file DTD <!DOCTYPE html> <html lang="en"> (Document Type Declaration) <head> <title>about Me</title> </head> <body> <h1>about me</h1> <p>welcome</p> <h2>hobbies</h2> <p>blah, blah</p> </body> </html>

12 A simple HTML5 file DTD Opening tag Content <!DOCTYPE html> <html lang="en"> <head> <title>about Me</title> </head> <body> An element <h1>about me</h1> <p>welcome</p> <h2>hobbies</h2> <p>blah, blah</p> Closing tag </body> </html>

13 A simple HTML5 file DTD Opening tag Content <!DOCTYPE html> <html lang="en"> <head> <title>about Me</title> </head> <body> <h1>about me</h1> Closing tag <p>welcome</p> <h2>hobbies</h2> <p>blah, blah</p> </body> </html>

14 A simple HTML5 file DTD Opening tag Content <!DOCTYPE html> <html lang="en"> <head> <title>about Me</title> </head> <body> <h1>about me</h1> Closing tag <p>welcome</p> <h2>hobbies</h2> <p>blah, blah</p> </body> </html>

15 A simple HTML5 file DTD Opening tag Content <!DOCTYPE html> <html lang="en"> <head> <title>about Me</title> </head> <body> <h1>about me</h1> Closing tag <p>welcome</p> <h2>hobbies</h2> <p>blah, blah</p> </body> </html>

16 A simple HTML5 file h1: 1 st -level heading h2: 2 nd -level heading <!DOCTYPE html> <html lang="en"> <head> <title>about Me</title> </head> <body> <h1>about me</h1> <p>welcome</p> <h2>hobbies</h2> <p>blah, blah</p> </body> </html>

17 A simple HTML5 file Proper nesting <!DOCTYPE html> <html lang="en"> <head> <title>about Me</title> </head> <body> <h1>about me</h1> <p>welcome</p> <h2>hobbies</h2> <p>blah, blah</p> </body> </html>

18 A simple HTML5 file Improper nesting <!DOCTYPE html> <html lang="en"> <head> <title>about Me</title> </head> <body> <h1>about me</h1> <p>welcome</p> <h2>hobbies</h2> <p>blah, blah</p> </html> </body>

19 A simple HTML5 file Only contents inside <body> are rendered in browser window. <!DOCTYPE html> <html lang="en"> <head> <title>about Me</title> </head> <body> <h1>about me</h1> <p>welcome</p> <h2>hobbies</h2> <p>blah, blah</p> </body> </html>

20 A simple HTML5 file Contents of <head> are not! <!DOCTYPE html> <html lang="en"> <head> <title>about Me</title> </head> <body> <h1>about me</h1> <p>welcome</p> <h2>hobbies</h2> <p>blah, blah</p> </body> </html>

21 A simple HTML5 file Not displayed in window but important! <!DOCTYPE html> <html lang="en"> <head> <title>about Me</title> </head> <body> <h1>about me</h1> <p>welcome</p> <h2>hobbies</h2> <p>blah, blah</p> </body> </html>

22 22

23 23

24 Essence of Exercise 1 Part 1: Compose content. Part 2: Perform semantic markup. <!DOCTYPE html> <html lang="en"> <head> <title>about Me</title> </head> <body> <h1>about me</h1> <p>welcome</p> <h2>hobbies</h2> <p>blah, blah</p> </body> </html>

25 Essence of Exercise 1 Part 1: Compose content. Part 2: Perform semantic markup. <!DOCTYPE html> <html lang="en"> <head> <title>about Me</title> </head> <body> <h1>about me</h1> <p>welcome</p> <h2>hobbies</h2> <p>blah, blah</p> </body> </html>

26 More about elements Most are enclosed; e.g.: <h1>this is a heading</h1> Opening tag + content + closing tag Some elements do not have content: e.g. horizontal line (=rule), line breaks These are called empty tags : <hr/> <br/> e.g. <p>this is a paragraph.</p><br/> <p>this is another paragraph.</p> 26

27 Important notes XHTML: tags must be in lower cases, e.g. <BODY> 27

28 Important notes What s wrong? <p><i>validator will <em>not</i></em> approve this.</p> Ordering of tags matters! 28

29 Another note <h2>this is a subheading</h2> <h2>this is a subheading</h2> <h2>this is a subheading</h2> White spaces are ignored all rendered same way 29

30 Annotate each piece of content to give semantic meaning to form better content structure <h1> The coolest dissertation <p> <h2> I. Introduction </h2> <h2> II. Body </h2> <h3> II.A - Topic 1 </h3> <h4> II.A.i - Subtopic A <h4> II.A.ii - Subtopic B <h3> II.B - Topic 2 </h3> <h4> II.B.i - Subtopic A <h4> II.B.ii - Subtopic B <h2> III. Conclusions </h2> By ABC </h1> </p> h1: top heading h2: 2 nd level heading h4 is a subheading of h3 </h4> </h4> </h4> </h4> 30

31 TECH EVAL FOR CMPT 470 Which (sub)heading tags do we need? How many p tags? Which other tags would you use? 31

32 <blockquote> <h2> <p> <h1> TECH EVAL FOR CMPT 470 </h2> </h1> </blockquote> </p> <p><i> </i></p> <h2> <p> </h2> </p> <h3> <p> </h3> </p> <h3> <p> </h3> </p> <h4> <p> </h4> </p> 32

33 Perform markup properly Think purely on semantics; forget styling; e.g.: <p>i want to do a <strong>cool</strong> project!</p> <body> <p><strong>about me</strong></p> <p>welcome!</p> <p><strong>hobbies</strong></p> <p>blah, blah</p> </body> 33

34 Perform markup properly Think purely on semantics; forget styling; e.g.: <p>i want to do a <strong>cool</strong> project!</p> <body> <p><strong>about me</strong></p> <p>welcome!</p> <p><strong>hobbies</strong></p> <p>blah, blah</p> </body> <body> <h1>about me</h1> <p>welcome!</p> <h2>hobbies</h2> <p>blah, blah</p> </body> 34

35 Reasons for proper markup Make your content more accessible to general public; e.g. users with impaired vision cannot perceive the meaning of bolding : Impaired viewers rely on screen readers that read out content to them. Styling tags do not have (universal) semantic meaning. <p>lorem ipsum dolor sit amet, net has luptatum eu. <b>quodsi vocibus eligendi euismod</b> accusam aliquando cotdeque duo. </p> 35

36 Reasons for proper markup Make your content more accessible to general public; e.g. users with impair vision <p>lorem ipsum dolor sit amet, net has luptatum eu. <strong>quodsi vocibus eligendi euismod</strong> accusam aliquando cotdeque duo. </p> 36

37 HTML: terminology & concepts What do you remember? 37

38 HTML: terminology & concepts tag element content attributes values accessible document structure semantic styling 38

39 HTML: terminology & concepts tag (opening, closing, empty) element content attributes values accessible document structure semantic styling 39

40 Tags vs. Attributes Syntax: - Equal sign - Double quotes What are attributes? Properties about something E.g. Red car textbook of Erin Brown <!DOCTYPE html> <html lang="en"> <head> <title>about Me</title </head> <body> <h1>about me</h1> <p>welcome</p> <h2>hobbies</h2> <p>blah, blah</p> </body> </html> 40

41 Attribute specification What are attributes of an image? Image dimension Width Height Example: <img src="sfu_logo.png" alt="library logo" width="500" height="400"/> source of image an alternative caption dimensions dimensions 41

42 <img> tag An empty tag (no closing tag) Required attributes: src: where the image file is stored; abbreviation of source alt: alternative text to be displayed if file cannot be read <img src=" alt="company logo"/> Optional attributes: height: displayed height width: displayed width (% or pixels) <img src=" alt="company logo" width="500" height="400"/> 42

43 <a> tag <a>: anchor tag creates a hyperlink to a resource Example: <p>this is link to <a href=" Required attributes: href: hyper reference Optional attributes target: where the target page will be displayed type: what type of resource href points to 43

44 Quick Recap 1. Document type declaration (DTD) 2. Head ( meta ) info Not displayed in window In HTML5, simplifies to: <!DOCTYPE html> An element <meta name="author" content="lisa"> <meta name="keywords" content="html reviewed"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> 3. Body: displayed content An element 44

45 Quick Recap How about as sauce? (cannot quite see) 45

46 Questions? 46

47 Pair-up activity (20 minutes) p a del ins df q cite blockquote abbr code strong em author title meta name content width src href Task: hand-write a complete and valid HTML5 file that would use all of these. Link: any that you like to introduce to class. 47

48 Pair-up activity (20 minutes) p a del ins dfn q cite blockquote abbr code strong em author title meta name content width src href Task: hand-write a complete and valid HTML5 file that would use all of these. Link: any that you like to introduce to class. 48

49 Pair-up activity (20 minutes) p a del ins dfn q cite blockquote abbr code strong em author title meta name content width src href Q) Which are attributes? 49

50 Pair-up activity (20 minutes) p a del ins dfn q cite blockquote abbr code strong em author title meta name content width src href Q) Which are attributes? 50

51 Pair-up activity (20 minutes) p a del ins dfn q cite blockquote abbr code strong em author title meta name content width src href Overloaded: Both tag and attribute 51

52 Examples <h1><abbr title="computing science">cmpt</abbr> 470: web-based info systems</h1> <p>markup is about <del>styling</del> <ins> giving semantic meaning</ins> of elements.</p> <p>have you tried <cite>dive Into HTML5</cite> yet?</p> <p>what do you think of <cite> <a href=" Dive Into HTML5 </a> </cite>?</p> 52

53 Examples <p> <q>believing is seeing, but seeing is not believing.</q> - Unknown </p> <blockquote> <p>believing is seeing<p> <footer> - <cite> <a href=" Morris</a> </cite> </footer> </blockquote> 53

54 A more complete markup file <!DOCTYPE html> <html lang="en"> <head> <title>about Me</title> <meta name="author" content="me" /> </head> <body> <h1>summary notes for <abbr title="computing science">cmpt</abbr> 470: web-based info systems</h1> <p>markup is about <del>styling</del> <ins> giving semantic meaning</ins> of elements.</p> </body> </html> 54

55 55

56 HTML: Markup for Lists & Sublists 56

57 Lists Display related items in an organized manner (part of visual presentation too) Different uses of lists? Use the same way as in any document/report Summarizes keypoints (e.g. bullets in presentation) Create outlines for large webpages Describe steps in a procedure A set of definitions 57

58 An example structure of a list - Category 1 - Subcategory 1 - Item 1 - Item 2 - Subcategory 2 - Item 1 - Item 2 - Category 2 - Subcategory 1 - Item 1 - Item 2 - Item 3 - Subcategory 2 - Item 1 - Item 2 Ultimately, helps you organize items systematically, e.g. subcategories within categories sub-lists within lists 58

59 Types of lists 1. Category 1 a. Subcategory 1 i. Item 1 ii. Item 2 b. Subcategory 2 i. Item 1 ii. Item 2 2. Category 2 a. Subcategory 1 ii. Item 1 ii. Item 2 iii. Item 3 b. Subcategory 2 i. Item 1 ii. Item 2 <ol> ordered list 59

60 Types of lists - Category 1 - Subcategory 1 - Item 1 - Item 2 - Subcategory 2 - Item 1 - Item 2 - Category 2 - Subcategory 1 - Item 1 - Item 2 - Item 3 - Subcategory 2 - Item 1 - Item 2 <ol> ordered list <ul> unordered list 60

61 Types of lists ABC This term means abc. <ol> ordered list BCD This term means bcd. DEF This term means def. EFG This term means efg. <ul> unordered list <dl> definition list FGH This term means fgh. 61

62 Creating lists Web browsers - Safari - FireFox - Chrome - IE - Opera Top 5 browsers (?) 1. FireFox 2. Chrome 3. IE 4. Safari 5. Opera Demo <h1>web browsers</h1> <ul> <li>safari</li> <li>firefox</li> <li>chrome</li> <li>ie</li> <li>opera</li> </ul> <h1>top-voted browsers (?)</h1> <ol> <li>firefox</li> <li>chrome</li> <li>ie</li> <li>safari</li> <li>opera</li> </ol> Q: what does tag <li> stand for? Ans: list item 62

63 Creating Sub-lists (lists within lists) Common fruits in BC - Apples - Granny smith - Golden delicious - Oranges - Naval oranges - Mandarin oranges - Bananas <h1>common fruits in BC</h1> <ul> <li>apples <ul> <li>granny smith</li> <li>golden delicious</li> </ul> </li> <li>oranges <ul> <li>naval oranges</li> <li>mandarin oranges </li> </ul> </li> <li>bananas</li> </ul> 63

64 Types of lists 1. Category 1 a. Subcategory 1 i. Item 1 ii. Item 2 b. Subcategory 2 i. Item 1 ii. Item 2 2. Category 2 a. Subcategory 1 ii. Item 1 ii. Item 2 iii. Item 3 b. Subcategory 2 i. Item 1 ii. Item 2 <ul> unordered list <ol> ordered list <dl> definition list 64

65 Types of lists 1. Category 1 a. Subcategory 1 - Item 1 - Item 2 b. Subcategory 2 - Item 1 - Item 2 2. Category 2 a. Subcategory 1 - Item 1 - Item 2 - Item 3 b. Subcategory 2 - Item 1 - Item 2 <ul> unordered list <ol> ordered list <dl> definition list (or mixture of these) 65

66 (Templates for) defining lists <h1>unordered list</h1> <ul> <li></li> </ul> <h1>ordered list</h1> <ol> <li></li> </ol> <h1>definition list</h1> <dl> <dt>term</dt><dd>description</dd> </dl> <dt>: definition term <dd>: definition description 66

67 Key concepts reviewed so far Components of good website designs and why? Structure of a markup file: DTD vs. head vs. body Elements vs. tags vs. content vs. attributes vs. values: understand the differences Tags examined so far: List <ol><ul><li><dl><dt><dd> Image <img> Anchor <a> Usage info: Key HTML terminologies: Tags vs. attributes Terms to keep in mind: Style vs. semantic meaning of an element Usability + accessibility issues 67

68 Remaining agenda items i) HTML Topics: tables figure figcaption ii) Exercise 1: Q&A 68

69 Exercise: figures & captions Write markup for below: Image to show: coolpic.png If this file cannot be downloaded, display text as: A cool photo taken at HC. Caption: Photographed by ABC at HC. where HC is an anchor that points to ftp:// 69

70 Exercise: figures & captions Possible solution: <figure> <img width="200" alt="..." src="coolpic.png" /> <figcaption>photo graphed by ABC at <a href="fpt:// </figcaption> </figure> 70

71 Validator for Markup CMPT 165 D1 (Summer 2005) 71

72 CSS: intro 72

73 Components to Good Webpage Design CONTENT Messages to convey to your audience Proper grammar Elements: text, images, videos, audios, supplements (e.g. pdf) INTERACTION Provide appropriate response/reactions to audience Via web programming STRUCTURE Give meaning to each element Hyperlinks (to link pages) Meta data (about the data) Via markup, e.g. HTML STYLE Enhance message Describe visual properties of each element Via style sheets (CSS)

74 Styling Use CSS: a separate language to specify stylerules stylesheet Alternatives? XSLT, SASS What are styles really? e.g. Text: Colour Height Font-family Horizontal line: Colour Thickness 74

75 Embedding stylerules in HTML <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" " <html> <head> <title>title</title> </head> Older version <body> <h1>heading</h1> <p align="center">this is Paragraph1.</p> <p align="center">this is Paragraph2.</p> </body> </html> Deprecated! (know but avoid) 75

76 Better way: <style> tag <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" " <html> <head> <title>title</title> </head> <body> <h1>heading</h1> <p align="center">this is Paragraph1.</p> <p align="center">this is Paragraph2.</p> </body> </html> <!DOCTYPE html> <html xmlns=" <head> <title>title</title> <style type="text/css"> p { text-align: center; } </style> </head> <body> <h1>heading</h1> <p>this is a paragraph.</p> <p>this is another paragraph.</p> </body> </html> 76

77 77

78 CSS syntax Declarations are separated by semicolons! Selector may refer to any number of elements Abstraction: selector1 { Declaration property_1: value_1; property_2: value_2; property_n: value_n; } Curly brace selector2 { property_1: value_1; property_m: value_m; } Examples: ul { list-style-type: circle; } ol { list-style-type: upperroman; } h1 { color: red; } h2, h1 { text-align: center; }

79 <!DOCTYPE html> <html lang="en"> <head> <title>title</title> <style type="text/css" media="all" > p { Required Optional text-align: center; } h1 { font-family: sans-serif; color: red; } </style> </head> <body> <h1>heading</h1> <p>this is a paragraph.</p> <p>this is another paragraph.</p> </body> </html> CMPT 165 D1 (Summer 2005) 79

80 Approaches to styling: <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" " <html> <head> <title>title</title> </head> <body> <h1>heading</h1> <p align="center">this is Paragraph1.</p> <p align="center">this is Paragraph2.</p> </body> </html> (worse) approach: inline <!DOCTYPE html> <html> <head> <title>title</title> <style type="text/css"> p { text-align: center; } </style> </head> <body> <h1>heading</h1> <p>this is a paragraph.</p> <p>this is another paragraph.</p> </body> </html> (better) approach: internal Embed CSS with <style> tag 80

81 What if we have multiple pages? consistent stylerules require repetitive copying-pasting redundant data home.html <!DOCTYPE html> <html> <head> <title>title</title> <style type="text/css"> p { text-align: center; } </style> </head> <body> <h1>heading</h1> <p>this is a paragraph.</p> <p>this is another paragraph.</p> </body> </html> products.html <!DOCTYPE html> <html> <head> <title> Products </title> <style type="text/css"> p { text-align: center; } </style> </head> <body> <h1> On products </h1> <p>blah, blah, blah</p> </body> </html> 81

82 Best way: external CSS 1. Extract and save the CSS code into a separate file home.html <!DOCTYPE html> <html> <head> <title>title</title> <style type="text/css"> p { text-align: center; } </style> </head> <body> <h1>heading</h1> <p>this is a paragraph.</p> <p>this is another paragraph.</p> </body> </html> products.html <!DOCTYPE html> <html> <head> <title> Products </title> <style type="text/css"> p { text-align: center; } </style> </head> <body> <h1> On products </h1> <p>blah, blah, blah</p> </body> </html> 82

83 Best way: external CSS 1. Extract + save the CSS blocks into a separate file mystyles.css p { text-align: center; } home.html <!DOCTYPE html> <html> <head> <title>title</title> <style type="text/css"> p { text-align: center; } </style> </head> <body> <h1>heading</h1> <p>this is a paragraph.</p> <p>this is another paragraph.</p> </body> </html> products.html <!DOCTYPE html> <html> <head> <title> Products </title> <style type="text/css"> p { text-align: center; } </style> </head> <body> <h1> On products </h1> <p>blah, blah, blah</p> </body> </html> 83

84 Best way: external CSS 2. Use the link tag mystyles.css p { text-align: center; } home.html <!DOCTYPE html> <html> <head> <title>title</title> <style type="text/css"> p { text-align: center; <link href="mystyles.css" type="text/css" } rel="stylesheet" /> </style> </head> <body> <h1>heading</h1> <p>this is a paragraph.</p> <p>this is another paragraph.</p> </body> </html> products.html <!DOCTYPE html> <html> <head> <title> Products </title> <style type="text/css"> p { type="text/css" text-align: center; } <link href="mystyles.css" rel="stylesheet" </style> /> </head> <body> </body> </html> <h1> On products </h1> <p>blah, blah, blah</p> 84

85 Best way: external CSS You may link multiple stylesheets too: mystyles.css p { text-align: center; } home.html <!DOCTYPE html> <html> <head> <title>title</title> <style type="text/css"> p { text-align: center; } </style> </head> <body> <h1>heading</h1> <p>this is a paragraph.</p> <p>this is another paragraph.</p> </body> </html> <link href="mystyles.css" type="text/css" rel="stylesheet" /> <link href="senior.css" type="text/css" rel="stylesheet" /> 85

86 CSS supports Colour of element text, backgrounds, etc. Font properties: typeface and emphasis Alignment of elements (text, images, etc.) Text formatting: e.g. spacing of words, letters, lines Boxing: margin, border, padding, and positioning Unique and generic identification: giving elements classes and unique IDs To be continued. 86

87 CSS: how would you summarize?

88 CSS: how would you summarize? 3 approaches to style Syntax: Abstraction: selector1 { Declaration property_1: value_1; property_2: value_2; property_n: value_n; } Curly brace selector2 { property_1: value_1; property_m: value_m; } Examples: ul { list-style-type: circle; } ol { list-style-type: upperroman; } h1 { color: red; } h2, h1 { text-align: center; }

CMPT 165 Unit 3 CSS Part 1. Sept. 24 th, 2015

CMPT 165 Unit 3 CSS Part 1. Sept. 24 th, 2015 CMPT 165 Unit 3 CSS Part 1 Sept. 24 th, 2015 Summary of key concepts/terms Components of good website designs and why? Structure of a markup file: DTD vs. head vs. body Elements vs. tags vs. content: know

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

The internet is a worldwide collection of networks that link millions of computers. These links allow the computers to share and send data.

The internet is a worldwide collection of networks that link millions of computers. These links allow the computers to share and send data. Review The internet is a worldwide collection of networks that link millions of computers. These links allow the computers to share and send data. It is not the internet! It is a service of the internet.

More information

CMPT 165 Advanced XHTML & CSS Part 3

CMPT 165 Advanced XHTML & CSS Part 3 CMPT 165 Advanced XHTML & CSS Part 3 Oct 15 th, 2015 Today s Agenda Quick Recap of last week: Tree diagram Contextual selectors CSS: Inheritance & Specificity Review 1 exam question Q/A for Assignment

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

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

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

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

Admin. Midterm 1 on. Oct. 13 th (2 weeks from today) Coursework:

Admin. Midterm 1 on. Oct. 13 th (2 weeks from today) Coursework: Midterm 1 on Admin Oct. 13 th (2 weeks from today) Coursework: E1 grade released: please see Karoon (TA) at his office hours (Tues at 12-1pm) E2 due tomorrow E3 posted yesterday; due this Friday 11:59pm

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

introduction to XHTML

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

More information

Web 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

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

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

Admin & Today s Agenda

Admin & Today s Agenda Admin & Today s Agenda FYI: Boshra s and Guri s office hours switched this week Take-home exercises: any one done them??? Key materials in Unit 4 2 new concepts New tags CMPT 165 D1 (Fall 2015) 1 And before

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

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

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

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

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

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

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

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

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

CS 350 COMPUTER/HUMAN INTERACTION. Lecture 6

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

More information

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

Index. alt, 38, 57 class, 86, 88, 101, 107 href, 24, 51, 57 id, 86 88, 98 overview, 37. src, 37, 57. backend, WordPress, 146, 148

Index. alt, 38, 57 class, 86, 88, 101, 107 href, 24, 51, 57 id, 86 88, 98 overview, 37. src, 37, 57. backend, WordPress, 146, 148 Index Numbers & Symbols (angle brackets), in HTML, 47 : (colon), in CSS, 96 {} (curly brackets), in CSS, 75, 96. (dot), in CSS, 89, 102 # (hash mark), in CSS, 87 88, 99 % (percent) font size, in CSS,

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

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

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

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

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

Digital Asset Management 2. Introduction to Digital Media Format

Digital Asset Management 2. Introduction to Digital Media Format Digital Asset Management 2. Introduction to Digital Media Format 2009-09-24 Outline Image format and coding methods Audio format and coding methods Video format and coding methods Introduction to HTML

More information

Review of HTML. Chapter Pearson. Fundamentals of Web Development. Randy Connolly and Ricardo Hoar

Review of HTML. Chapter Pearson. Fundamentals of Web Development. Randy Connolly and Ricardo Hoar Review of HTML Chapter 3 Fundamentals of Web Development 2017 Pearson Fundamentals of Web Development http://www.funwebdev.com - 2 nd Ed. What Is HTML and Where Did It Come from? HTML HTML is defined as

More information

NEW WEBMASTER HTML & CSS FOR BEGINNERS COURSE SYNOPSIS

NEW WEBMASTER HTML & CSS FOR BEGINNERS COURSE SYNOPSIS NEW WEBMASTER HTML & CSS FOR BEGINNERS COURSE SYNOPSIS LESSON 1 GETTING STARTED Before We Get Started; Pre requisites; The Notepad++ Text Editor; Download Chrome, Firefox, Opera, & Safari Browsers; The

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

HTML CS 4640 Programming Languages for Web Applications

HTML CS 4640 Programming Languages for Web Applications HTML CS 4640 Programming Languages for Web Applications 1 Anatomy of (Basic) Website Your content + HTML + CSS = Your website structure presentation A website is a way to present your content to the world,

More information

Quiz / Demonstration Learning How To Learn (HTML) : H2, H3, H4, H5, H6 Learning How To Learn (HTML) : Numbered and bulleted lists Learning How To

Quiz / Demonstration Learning How To Learn (HTML) : H2, H3, H4, H5, H6 Learning How To Learn (HTML) : Numbered and bulleted lists Learning How To HTML, Continued Quiz / Demonstration Learning How To Learn (HTML) : H2, H3, H4, H5, H6 Learning How To Learn (HTML) : Numbered and bulleted lists Learning How To Learn (HTML) : Hyperlinks Learning How

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

The University of Hawaii at Manoa Library Webpage Content/Design/Style Guidelines General Site Design... 2

The University of Hawaii at Manoa Library Webpage Content/Design/Style Guidelines General Site Design... 2 The University of Hawaii at Manoa Library Webpage Content/Design/Style Guidelines Compiled and authored by Beth Tillinghast, Chair, Library Website Redesign Committee Images provided by Wilbur Wong and

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

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

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

Web Designing HTML5 NOTES

Web Designing HTML5 NOTES Web Designing HTML5 NOTES HTML Introduction 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

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

Navigation. Websites need a formalized system of links to allow users to navigate the site

Navigation. Websites need a formalized system of links to allow users to navigate the site Comm 244 Week 3 Navigation Navigation Websites need a formalized system of links to allow users to navigate the site Navigation Many larger websites have multiple forms of navigation For example, look

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

WEBSITE PROJECT 2 PURPOSE: INSTRUCTIONS: REQUIREMENTS:

WEBSITE PROJECT 2 PURPOSE: INSTRUCTIONS: REQUIREMENTS: WEBSITE PROJECT 2 PURPOSE: The purpose of this project is to begin incorporating color, graphics, and other visual elements in your webpages by implementing the HTML5 and CSS3 code discussed in chapters

More information

ADDING CSS TO YOUR HTML DOCUMENT. A FEW CSS VALUES (colour, size and the box model)

ADDING CSS TO YOUR HTML DOCUMENT. A FEW CSS VALUES (colour, size and the box model) INTRO TO CSS RECAP HTML WHAT IS CSS ADDING CSS TO YOUR HTML DOCUMENT CSS IN THE DIRECTORY TREE CSS RULES A FEW CSS VALUES (colour, size and the box model) CSS SELECTORS SPECIFICITY WEEK 1 HTML In Week

More information

Overview. Part I: Portraying the Internet as a collection of online information systems HTML/XHTML & CSS

Overview. Part I: Portraying the Internet as a collection of online information systems HTML/XHTML & CSS CSS Overview Part I: Portraying the Internet as a collection of online information systems Part II: Design a website using HTML/XHTML & CSS XHTML validation What is wrong?

More information

CSS: Cascading Style Sheets

CSS: Cascading Style Sheets CSS: Cascading Style Sheets Computer Science and Engineering College of Engineering The Ohio State University Lecture 13 Evolution of CSS MIME type: text/css CSS 1 ('96): early recognition of value CSS

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

Comm 244 Week 3. Navigation. Navigation. Websites need a formalized system of links to allow users to navigate the site

Comm 244 Week 3. Navigation. Navigation. Websites need a formalized system of links to allow users to navigate the site Comm 244 Week 3 Navigation Navigation Websites need a formalized system of links to allow users to navigate the site Navigation Many larger websites have multiple forms of navigation For example, look

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

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

Hyper Text Markup Language

Hyper Text Markup Language Hyper Text Markup Language HTML is a markup language. It tells your browser how to structure the webpage. HTML consists of a series of elements, which you use to enclose, or mark up different parts of

More information

HTML5. Juha Söderqvist

HTML5. Juha Söderqvist HTML5 Juha Söderqvist HTML5 INTRO HTML5 Initial release: 28 October 2014 Type of format:markup language Filename extension:.html 2 HTML5 + DOM4 The Document Object Model (DOM) is a cross-platform and language-independent

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

Final Exam Study Guide

Final Exam Study Guide Final Exam Study Guide 1. What does HTML stand for? 2. Which file extension is used with standard web pages? a..doc b..xhtml c..txt d..html 3. Which is not part of an XHTML element? a. Anchor b. Start

More information

Chapter 7 Typography, Style Sheets, and Color. Mrs. Johnson

Chapter 7 Typography, Style Sheets, and Color. Mrs. Johnson Chapter 7 Typography, Style Sheets, and Color Mrs. Johnson Typography Typography refers to the arrangement, shape, size, style, and weight of text. Affects the navigation and usability of a web site and

More information

Assignments (4) Assessment as per Schedule (2)

Assignments (4) Assessment as per Schedule (2) Specification (6) Readability (4) Assignments (4) Assessment as per Schedule (2) Oral (4) Total (20) Sign of Faculty Assignment No. 02 Date of Performance:. Title: To apply various CSS properties like

More information

Introduction to using HTML to design webpages

Introduction to using HTML to design webpages Introduction to using HTML to design webpages #HTML is the script that web pages are written in. It describes the content and structure of a web page so that a browser is able to interpret and render the

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

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

Full file at New Perspectives on HTML and CSS 6 th Edition Instructor s Manual 1 of 13. HTML and CSS

Full file at   New Perspectives on HTML and CSS 6 th Edition Instructor s Manual 1 of 13. HTML and CSS New Perspectives on HTML and CSS 6 th Edition Instructor s Manual 1 of 13 HTML and CSS Tutorial One: Getting Started with HTML 5 A Guide to this Instructor s Manual: We have designed this Instructor s

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

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

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

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

More information

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

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

HTML & CSS. Rupayan Neogy

HTML & CSS. Rupayan Neogy HTML & CSS Rupayan Neogy But first My Take on Web Development There is always some tool that makes your life easier. Hypertext Markup Language The language your web browser uses to describe the content

More information

Co. Louth VEC & Co. Monaghan VEC. Programme Module for. Web Authoring. leading to. Level 5 FETAC. Web Authoring 5N1910

Co. Louth VEC & Co. Monaghan VEC. Programme Module for. Web Authoring. leading to. Level 5 FETAC. Web Authoring 5N1910 Co. Louth VEC & Co. Monaghan VEC Programme Module for Web Authoring leading to Level 5 FETAC Web Authoring 5N1910 Web Authoring 5N1910 1 Introduction This programme module may be delivered as a standalone

More information

HTML and CSS: An Introduction

HTML and CSS: An Introduction JMC 305 Roschke spring14 1. 2. 3. 4. 5. The Walter Cronkite School... HTML and CSS: An Introduction

More information

XHTML & CSS CASCADING STYLE SHEETS

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

More information

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

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

CMPT 165 INTRODUCTION TO THE INTERNET AND THE WORLD WIDE WEB

CMPT 165 INTRODUCTION TO THE INTERNET AND THE WORLD WIDE WEB CMPT 165 INTRODUCTION TO THE INTERNET AND THE WORLD WIDE WEB Unit 3 Cascading Style Sheets (CSS) Slides based on course material SFU Icons their respective owners 1 Learning Objectives In this unit you

More information

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

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

More information

('cre Learning that works for Utah STRANDS AND STANDARDS WEB DEVELOPMENT 1

('cre Learning that works for Utah STRANDS AND STANDARDS WEB DEVELOPMENT 1 STRANDS AND STANDARDS Course Description Web Development is a course designed to guide students in a project-based environment, in the development of up-to-date concepts and skills that are used in the

More information

Hyper Text Markup Language

Hyper Text Markup Language Hyper Text Markup Language HTML is a markup language. It tells your browser how to structure the webpage. HTML consists of a series of elements, which you use to enclose, or mark up different parts of

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

Shane Gellerman 10/17/11 LIS488 Assignment 3

Shane Gellerman 10/17/11 LIS488 Assignment 3 Shane Gellerman 10/17/11 LIS488 Assignment 3 Background to Understanding CSS CSS really stands for Cascading Style Sheets. It functions within an HTML document, so it is necessary to understand the basics

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

AGENDA. EMBEDDING FONTS [ Font Files & CSS font-family ] :: Online Font Converter :: ADD font-family css code to style.css

AGENDA. EMBEDDING FONTS [ Font Files & CSS font-family ] :: Online Font Converter :: ADD font-family css code to style.css CLASS :: 12 05.04 2018 3 Hours AGENDA CREATE A WORKS PAGE [ HTML ] :: Open index.html :: Save As works.html :: Edit works.html to modify header, 3 divisions for works, then add your content :: Edit index.html

More information

LA TROBE UNIVERSITY SEMESTER ONE EXAMINATION PERIOD CAMPUS AW BE BU MI SH ALLOWABLE MATERIALS

LA TROBE UNIVERSITY SEMESTER ONE EXAMINATION PERIOD CAMPUS AW BE BU MI SH ALLOWABLE MATERIALS LIBRARY USE LA TROBE UNIVERSITY SEMESTER ONE EXAMINATION PERIOD 2013 Student ID: Seat Number: Unit Code: CSE2WD Paper No: 1 Unit Name: Paper Name: Reading Time: Writing Time: Web Development Final 15 minutes

More information

BIM222 Internet Programming

BIM222 Internet Programming BIM222 Internet Programming Week 7 Cascading Style Sheets (CSS) Adding Style to your Pages Part II March 20, 2018 Review: What is CSS? CSS stands for Cascading Style Sheets CSS describes how HTML elements

More information

HTML & CSS. SWE 432, Fall 2017 Design and Implementation of Software for the Web

HTML & CSS. SWE 432, Fall 2017 Design and Implementation of Software for the Web HTML & CSS SWE 432, Fall 2017 Design and Implementation of Software for the Web HTML: HyperText Markup Language LaToza Language for describing structure of a document Denotes hierarchy of elements What

More information

CS144 Notes: Web Standards

CS144 Notes: Web Standards CS144 Notes: Web Standards Basic interaction Example: http://www.youtube.com - Q: what is going on behind the scene? * Q: What entities are involved in this interaction? * Q: What is the role of each entity?

More information

Review Question 1. Which tag is used to create a link to another page? 1. <p> 2. <li> 3. <a> 4. <em>

Review Question 1. Which tag is used to create a link to another page? 1. <p> 2. <li> 3. <a> 4. <em> Introduction to CSS Review Question 1 Which tag is used to create a link to another page? 1. 2. 3. 4. Review Question 1 Which tag is used to create a link to another page? 1. 2.

More information

The Benefits of CSS. Less work: Change look of the whole site with one edit

The Benefits of CSS. Less work: Change look of the whole site with one edit 11 INTRODUCING CSS OVERVIEW The benefits of CSS Inheritance Understanding document structure Writing style rules Attaching styles to the HTML document The cascade The box model CSS units of measurement

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

Revision for Grade 7 ASP in Unit :1&2 Design & Technology Subject

Revision for Grade 7 ASP in Unit :1&2 Design & Technology Subject Your Name:.... Grade 7 - SECTION 1 Matching :Match the terms with its explanations. Write the matching letter in the correct box. The first one has been done for you. (1 mark each) Term Explanation 1.

More information

CompuScholar, Inc. Alignment to Utah's Web Development I Standards

CompuScholar, Inc. Alignment to Utah's Web Development I Standards Course Title: KidCoder: Web Design Course ISBN: 978-0-9887070-3-0 Course Year: 2015 CompuScholar, Inc. Alignment to Utah's Web Development I Standards Note: Citation(s) listed may represent a subset of

More information

To link to an external stylesheet, the link element is placed within the head of the html page:

To link to an external stylesheet, the link element is placed within the head of the html page: CSS Basics An external style sheet is simply a text file (use BBEdit or Textwrangler) containing style rules, saved with the.css extension. It s best practice to keep style sheets for a site grouped within

More information

Markup Language. Made up of elements Elements create a document tree

Markup Language. Made up of elements Elements create a document tree Patrick Behr Markup Language HTML is a markup language HTML markup instructs browsers how to display the content Provides structure and meaning to the content Does not (should not) describe how

More information

HTML & CSS November 19, 2014

HTML & CSS November 19, 2014 University of Nebraska - Lincoln DigitalCommons@University of Nebraska - Lincoln Digital Humanities Workshop Series Center for Digital Research in the Humanities 11-19-2014 HTML & CSS November 19, 2014

More information