LECTURE 3. Web-Technology

Size: px
Start display at page:

Download "LECTURE 3. Web-Technology"

Transcription

1 LECTURE 3 Web-Technology

2 Household issues Blackboard o Discussion Boards Looking for a Group Questions about Web-Technologies o Assignment 1 submission Announcement ? Have to be in a group Homework 1 questions: o Using material from other websites o Iframe for embedding YouTube videos o Language of the website content Lab Rooms Group 1 Group 3 Group 4 Wednesday BBG-161 BBG-115 CLZ BBG-175 CLZ Friday BBG-214 BBG-115 CLZ BBG-112 CLZ 2

3 Pop-Quiz How many levels does the OSI model have? Consider the following protocol combinations TCP-IP, UDP-IP, TCP-UDP o Which is faster? o Which is safer? o What about TCP-UDP? Which HTTP method is used to retrieve Web resources? o If your resource has been retrieved, what will be the code of HTTP response? o If you resources has not been found, what will be the code of HTTP response? Which HTTP method is used to launch a program at a Web-server? o If you crash a Web-server what will be the code of HTTP response? What should be the first line of an HTML document? 3

4 New Features of HTML5 4

5 Graphics <canvas> - Define on-the-fly graphic drawing using JavaScript <canvas id="mycanvas"> Your browser does not support the HTML5 canvas tag. </canvas> <script> var c = document.getelementbyid('mycanvas'); var ctx = c.getcontext('2d'); ctx.fillstyle = '#FF0000'; ctx.fillrect(0,0,80,100); </script> <svg> - Scalable vector graphics in XML format <svg width="100" height="100"> <circle cx="50" cy="50" r="40" stroke="green" stroke-width="4" fill="yellow" /> </svg> 5

6 New media elements <audio>: defines sound or musing content <video>: defines video or movie content <source>: defines sources for <video> and <audio> <track>: defines tracks for <video> and <audio> <video width="320" height="240" autoplay controls> <source src="movie.mp4" type="video/mp4"> <source src="movie.ogg" type="video/ogg"> Your browser does not support the video tag. </video> 6

7 New form elements New features to make Web forms easier, more powerful, and more consistent across the Web New input types o type= number o type= range o type = date o type= time 7

8 New form elements <input type="tel"> <input type=" "> <input type="url"> Related to telephone numbers, addresses and URLs. Browsers will render these as normal text inputs 8

9 <input = color > Brings up a color picker 9

10 <datalist> Dropdown list which allows users to add their own options <p> Select your program: <input type="text" list="mydata" /> <datalist id="mydata"> <option label="msis" value="master's of Information Science"> <option label="mlis" value="master's of Library Science"> <option label="mst" value="master's of Telecommunication"> </datalist> </p> 10

11 New attributes - placeholder Placeholder: placeholder content in text entry fields o Better usability o To give more information about the expected type of information we want the user to enter How would you do that in HTML 4? What is the problem with that? HTML5 placeholder: disappears when the form control gets focus. Name: <input type="text" placeholder= Last Name, First Name"> 2/16/18 11

12 New attributes - autofocus Autofocus: having a form field automatically focused when a page is loaded. HTML 4: could only be done with scripting HTML 5 Name: <input type="text" placeholder= Last Name, First Name, autofocus> 2/16/

13 Validation Help users avoid and correct mistakes Stop malicious users from submitting data that could cause damage to application HTML 4 : Scripting was necessary HTML 5: native form validation 13

14 Form validation Enforcement of required fields: required attribute <input type="text" placeholder="last Name, First Name" required> Type and pattern: o Use pattern attribute to specify custom regular expression to apply to text input Age: <input type="text" pattern="[0-9]+"> 14

15 New semantic elements Document structure within the body before HTML5.0 HTML5 clearly defines different parts of a web page: <header> <hgroup> <nav> <section> <article> <aside> <figure> <figcaption> <footer> <details> <summary> <mark> <time> 15

16 <article> W3C HTML5 documentation: o a complete, or self-contained, composition in a document, page, application, or site. o Examples: a magazine, newspaper, technical or scholarly article, an essay or report, a blog post.. Should include an h1-h6 element <article> <h1>semantic elements in HTML5</h1> <p>html5 introduces several new tags </p> </article> 16

17 <section> Defines a section in a document. W3C's HTML5 documentation: "A section is a thematic grouping of content, typically with a heading. Should include an h1-h6 element <section> <h1>assignments</h1> <p>the course includes five assignments</p> </section> 17

18 <article> vs <section> vs <div> Article a complete, self-contained composition Section - a thematic grouping of content Div generic container used purely for styling or scripting purposes o W3C HTML5 Spec: Authors are strongly encouraged to view the div element as an element of last resort, for when no other element is suitable. <article> <section> </section> </article> <article> <article> </article> </article> <section> <section> </section> </section>.. All of these are fine <section> <article> </article> </section> <section> <div> </div> </section> <div> <section> </section> </div> 18

19 <nav> Defines a set of navigation links Intended for large blocks of navigation links. Not all links in a document should be inside a <nav> element! 19

20 <aside> Defines some content aside from the content it is placed in (like a sidebar). The aside content should be related to the surrounding content. 20

21 <header> Specifies the header of a document or section The <header> element should be used as a container for introductory content or navigational aids You can have several <header> elements in one document Do not mix it with the <head> element! <footer> 21

22 Why bother? Cleaner code Teaches good habits o Why do we use comments or descriptive names? Explicit semantics of the page organization o Can be further enhanced with metadata from schema.org or other standards defining the role or meaning of certain elements Improves accessibility o Screen readers have a better idea what to skip or where to navigate Improves interoperability across devices and platforms o Think of a mobile browser folding a nav, scrolling through a page header or re-ordering sections arranged as columns vertically 22

23 Tip of the iceberg New APIs: o Canvas o Timed Media Playback o Offline Browsing o Editable content o Drag and drop o History o Web Messaging o Web Storage Additional technologies: o o o o Web workers WebSocket Server-sent events Web Components 23

24 W3C Markup Validator / CSS Validator

25 A couple words about SEO in HTML5 <title> very important <meta name= description > also important <h1>-<h6> important HTML5 semantics important <a>anchors</a> that s what page rank started with <img alt= > can be very important <strong>, <em> - important <meta name= keywords > Google says it s not important, but - Not everyone believes them - Google is not everyone 25

26 Cascading Style Sheets: CSS

27 Golden rule in standardization Separate content from appearance Style sheet should be provided in external files 27

28 Cascading Style Sheets Style sheets language introduced by W3C Cascading: process of determining the priority of styling rules To define the presentational semantics of structured documents Typical features o Fonts o Colors o Backgrounds o Margins 28

29 CSS levels Various versions of CSS are often referred as levels Each CSS level is based on the previous level and adds new properties and features Three most significant versions o CSS 1 o CSS 2.1 o CSS 3 29

30 CSS 1 First cascading style sheet specification Published in 1996 A W3C recommendation Introduced styles for o Font properties o Element color o Alignment o Tables o Margins o Border o Padding o Positioning CSS1 properties can be applied to uniquely identified elements or element groups. 30

31 CSS 2 and CSS 2.1 Was developed as a superset of CSS 1 Several new features o Layer order (z-index) o Three types of element positioning (absolute, relative, and fixed) o Aural media type o Bidirectional text CSS 2.1 has been the ultimate styling solution on the Web for many years Became a W3C recommendation in

32 CSS 3 In contrast to other CSS specifications, CSS3 is modularized o Selectors, Box model, Background and borders, Text effects, o Each module has its own description o The modules are in different stages of development and browser implementation. o Most of the CSS3 modules are W3C recommendations o For some of the modules CSS4 drafts already exist New functions and features Border-radius (rounded borders) Box-shadow Background-origin Color declaration in HSL, HSLA, and RGBA Text-shadow Text-overflow Word-wrap Box-sizing Attribute selectors Multicolumn layout Web Fonts Speech 32

33 CSS grammar and conventions The grammar ensures correct CSS syntax o Avoiding parsing errors Non-existing properties Incorrect values Malformed declarations o Makes it possible for browsers to handle parsing rules, selectors, properties, values, and unit notations correctly. Although the fundamental rules are similar, each CSS version has its own syntax 33

34 Identifiers for id s and classes id can be used to style a unique element of a page o An element with an id attribute is unique within a web page class can be used to style multiple elements the same Styling is not the only usage of these attributes of course The id and class identifiers should always start with a letter. o Identifier names are case sensitive. o Using letters a z and numbers 0 9 is highly recommended o Underscores and hyphens are also allowed o Names should be meaningful and semantic o Unique names should be applied <a class= internal > <a id= home > 34

35 Units of measurement Unit Description % Percentage in cm mm em ex pt pc px Inch Centimeter Millimeter defines the proportion of the width and height of a given letter with respect to the point size of a given font 1 em is equal to the current font size can be used to automatically adapt the font size proportions to the font size chosen by the user in the browser 1 ex is the x-height of a font 1 point is equal to 1/72 inch 1 pica is equal to 12 points 1 pixel is a dot on the screen 35

36 Color declarations Predefined/Cross-browser color names: o white, black, blue Hexadecimal, RGB, RGB(a) o Any color represented by additive color mixing, using different intensity variants of three Red, Green, and Blue colors o 256 shades of the three base colors are adequate to mix any color o #ff0000; #0000FF;.. o rgb(255, 0, 0); rgb(0, 0, 255) ; o rgba(255, 0, 0, 0.3) last value foralpha channel / opacity HSL(a) colors o hue, saturation, lightness (alpha) o hsl(120, 100%, 50%) o hsl(120, 100%, 50%, 0.3) hue 36

37 CSS rule structure Selector h1{ Rule color: #006600; Declaration } Property Value 37

38 CSS selector syntax Identifies those markup elements to which the CSS style(s) will be applied Specific element groups are styled by various types of selectors o Element selector p { font-size: 1.2em; font-family: Garamond;} o Class selector o ID selector o Attribute selector.abstract { font-size: 1.1em;} p.abstract { font-size: 1.2em;} #abstract { font-size: 1.2em;} a[target] { font-size: 1.2em;} a[target= _blank ] { font-size: 1.2em;} Applies to all paragraphs Applies to elements with this class Applies to paragraphs with this class Applies to the element with this ID Applies to the links with targets specified Applies to the links with targets = _blank 38

39 CSS selector syntax Descendant selector: matches all elements that are descendants of a specified element td a { font-weight: bold; } Applies to all hyperlinks within table data cells <td><p>one of the unique attractions of <a href=" Kenya</a> is the Nairobi National Park.</p></td> Pseudo classes: used to define a special state of an element o Use colons to separate an element o Frequently used to determine the style of hyperlinks, depending on their states a:hover { color: #000080; } Applies to all links, but only when the mouse hovers over the link 39

40 Property value types CSS property values can be the following: okeywords example: auto obasic data types example: % ocombination of keyword and custom data example: url( ) 40

41 Shorthand notation Certain CSS properties can be grouped into a single property declaration o Font properties p { p { font-weight: bold; font: bold 1em/1.2em Garamond; font-size: 1em; } line-height: 1.2em; font-family: Garamond; font-style: normal; } o Background properties body { background-color: #232323; background-image: url('images/bg.jpg'); background-repeat: no-repeat; background-position: 100% 0%; background-attachment: fixed; } p { background: # url('images/bg.jpg') no-repeat 100% 0% fixed; } 41

42 Shorthand notation List properties Padding, border, and margin properties o Four properties: padding-top, padding-right, padding-bottom, padding-left o Combined: top, right, bottom, left #decor { padding: 10px 5px 20px 30px; } #decor { padding: 10px 5px 20px; } #decor { padding: 10px; } Left and bottom will be set the same (20px) One value sets an equal padding for all sides 42

43 Implementation Three ways to implement CSS Chosen method determines the scope of styling oinline style oembedded (internal) style oexternal style sheet 43

44 Inline style Styling with the most limited scope Embedded in an (X)HTML tag to which it exclusively applies Defined by the style attribute that can be provided on most markup elements <img src="logo.png" style="margin: 10px;" alt="logo" /> 44

45 Embedded style A code block usually located in the document head Unique to that webpage <head> <style type="text/css"> #disclaimer { text-align: center; margin-top: 30px; margin-bottom: 60px; } </style> <head> 45

46 External style sheet An external style sheet is a separate file with the.css extension that contains style rules for multiple web documents, such as an entire web site. Link to an external style sheet file <link rel="stylesheet" type="text/css" href="main.css" /> Import style rules from other style "styles/alter.css"; 46

47 Example main.css body { background: url( ) no repeat 100% 0% fixed; background-color: #004C25; color: #FFF; font-family: Garamond, serif; } ( main.css ); body { background-color: #00254C; } ( main.css ); body { background-image: none; max-width: 640 px; } 47

48 Question? <head> <style type= text/css > p.desc { color: #00FF00; } </style> <link rel="stylesheet" type="text/css" href="main.css" /> </head> <body> <p class="desc" style="color:#ff0000">what is my color?</p> <body> main.css p.desc { color: #0000FF; } 48

49 Cascading CSS: Cascading Style Sheet Mechanism that determines one declaration among a set of styling rules that should be applied for a certain element-property pair Browsers consider three features in the following order to choose that declaration: o Weight: declaration with the highest weight is chosen o Specificity: declaration with the highest specificity is chosen o Declaration order 49

50 Weight of style sheets Origin of declaration o Author (developer) o User o User agent (e.g. browser) Level of importance o Normal (default) o Important (should be marked) Order: 1. User style sheets (important) 2. Author style sheets (important) 3. Author style sheets (normal) 4. User style sheets (normal) 5. Default style sheets of rendering engines #menu { margin-top: 12px!important; } 50

51 Specificity of style sheets The specificity of selectors can be calculated as follows: o The number of ID attributes in the selector is counted. o The number of other attributes and pseudoclasses in the selector is counted. o The number of element names in the selector is counted. The concatenation of these numbers is the specificity. a { color: #000; } div a { color: #0f0; } div.tip a { color: #00f; } div.tip a:hover { color: #f00; }

52 Inheritance Property values of parent elements can be set to children o Example: the background color of a web document is defined, all container elements, divisions, and paragraphs within the document will inherit that property. 52

53 The box model The actual markup content of block elements is wrapped around by optional paddings, borders, and margins, called the CSS box model 53

54 Visibility In CSS, elements can be displayed in the following ways: o Block: display : block Uses the full width available, along with a new line before and after o Inline: display : inline Uses only as much width as needed without breaking the row o Not displayed: display: none Removes the element completely from the document so it does not take up any space o Hidden: display: hidden Hides the element but still takes up space in the layout 54

55 CSS positioning CSS positioning properties allow you to position an element. o Place an element behind another o Specify what should happen when an element's content is too big. Elements can be positioned using the top, bottom, left, and right properties. There are four main different positioning methods: o Static o Fixed o Relative o Absolute o + Sticky = scrolling dependent (relative fixed) o + Inherit = inherits from a parent container o + Initial = sets back to default (static) 55

56 Static positioning HTML elements are positioned static by default. A static positioned element is always positioned according to the normal flow of the page. Static positioned elements are not affected by the top, bottom, left, and right properties. <!DOCTYPE html> <html> <head> </head> <body> <p>some text</p> <p>some text</p> <p>some text</p> <p>some text</p> <p>some text</p> <p>some text</p> </body> </html> 2/15/18 56

57 Fixed positioning An element with fixed position is positioned relative to the browser window It will not move even if the window is scrolled: <!DOCTYPE html> <html> <head> <style> p.pos_fixed { position:fixed; top:30px; right:5px; color: #FF0000;} </style> </head> <body> <p class="pos_fixed">some text</p> <p>some text</p> <p>some text</p> </body> </html> 2/15/18 57

58 Relative positioning A relative positioned element is positioned relative to its normal position. <!DOCTYPE html> <html> <head> <style> p.pos_left { position:relative; left: 20px color: #FF0000;} </style> </head> <body> <p class="pos_left">some text</p> <p>some text</p> <p>some text</p> <p>some text</p> </body> </html> 2/15/18 58

59 Absolute positioning An absolute position element is positioned relative to the first parent element that has a position other than static. If no such element is found, the containing block is <html> <!DOCTYPE html> <html> <head> <style> p.pos_left { position: absolute; left: 20px color: #FF0000;} </style> </head> <body> <p class="pos_left">some text</p> <p>some text</p> <p>some text</p> <p>some text</p> </body> </html> 2/15/18 59

60 Overlapping elements When elements are positioned outside the normal flow, they can overlap other elements. The z-index property specifies the stack order of an element (which element should be placed in front of, or behind, the others). An element can have a positive or negative stack order An element with greater stack order is always in front of an element with a lower stack order. img { position:absolute; left:0px; top:0px; z-index:-1; } 60

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

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

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

Study Guide 2 - HTML and CSS - Chap. 6,8,10,11,12 Name - Alexia Bernardo

Study Guide 2 - HTML and CSS - Chap. 6,8,10,11,12 Name - Alexia Bernardo Study Guide 2 - HTML and CSS - Chap. 6,8,10,11,12 Name - Alexia Bernardo Note: We skipped Study Guide 1. If you d like to review it, I place a copy here: https:// people.rit.edu/~nbbigm/studyguides/sg-1.docx

More information

Index LICENSED PRODUCT NOT FOR RESALE

Index LICENSED PRODUCT NOT FOR RESALE Index LICENSED PRODUCT NOT FOR RESALE A Absolute positioning, 100 102 with multi-columns, 101 Accelerometer, 263 Access data, 225 227 Adding elements, 209 211 to display, 210 Animated boxes creation using

More information

Session 3.1 Objectives Review the history and concepts of CSS Explore inline styles, embedded styles, and external style sheets Understand style

Session 3.1 Objectives Review the history and concepts of CSS Explore inline styles, embedded styles, and external style sheets Understand style Session 3.1 Objectives Review the history and concepts of CSS Explore inline styles, embedded styles, and external style sheets Understand style precedence and style inheritance Understand the CSS use

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

Using CSS for page layout

Using CSS for page layout Using CSS for page layout Advantages: Greater typographic control Style is separate from structure Potentially smaller documents Easier site maintenance Increased page layout control Increased accessibility

More information

CSS Cascading Style Sheets

CSS Cascading Style Sheets CSS Cascading Style Sheets site root index.html about.html services.html stylesheet.css images boris.jpg Types of CSS External Internal Inline External CSS An external style sheet is a text document with

More information

CSS. https://developer.mozilla.org/en-us/docs/web/css

CSS. https://developer.mozilla.org/en-us/docs/web/css CSS https://developer.mozilla.org/en-us/docs/web/css http://www.w3schools.com/css/default.asp Cascading Style Sheets Specifying visual style and layout for an HTML document HTML elements inherit CSS properties

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

Cascading Style Sheets (CSS)

Cascading Style Sheets (CSS) Cascading Style Sheets (CSS) Mendel Rosenblum 1 Driving problem behind CSS What font type and size does introduction generate? Answer: Some default from the browser (HTML tells what browser how)

More information

Client-Side Web Technologies. CSS Part I

Client-Side Web Technologies. CSS Part I Client-Side Web Technologies CSS Part I Topics Style declarations Style sources Selectors Selector specificity The cascade and inheritance Values and units CSS Cascading Style Sheets CSS specifies the

More information

CSS: The Basics CISC 282 September 20, 2014

CSS: The Basics CISC 282 September 20, 2014 CSS: The Basics CISC 282 September 20, 2014 Style Sheets System for defining a document's style Used in many contexts Desktop publishing Markup languages Cascading Style Sheets (CSS) Style sheets for HTML

More information

CS7026 CSS3. CSS3 Graphics Effects

CS7026 CSS3. CSS3 Graphics Effects CS7026 CSS3 CSS3 Graphics Effects What You ll Learn We ll create the appearance of speech bubbles without using any images, just these pieces of pure CSS: The word-wrap property to contain overflowing

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

Parashar Technologies HTML Lecture Notes-4

Parashar Technologies HTML Lecture Notes-4 CSS Links Links can be styled in different ways. HTML Lecture Notes-4 Styling Links Links can be styled with any CSS property (e.g. color, font-family, background, etc.). a { color: #FF0000; In addition,

More information

16. HTML5, HTML Graphics, & HTML Media 웹프로그래밍 2016 년 1 학기 충남대학교컴퓨터공학과

16. HTML5, HTML Graphics, & HTML Media 웹프로그래밍 2016 년 1 학기 충남대학교컴퓨터공학과 16. HTML5, HTML Graphics, & HTML Media 웹프로그래밍 2016 년 1 학기 충남대학교컴퓨터공학과 목차 HTML5 Introduction HTML5 Browser Support HTML5 Semantic Elements HTML5 Canvas HTML5 SVG HTML5 Multimedia 2 HTML5 Introduction What

More information

CSS Selectors. element selectors. .class selectors. #id selectors

CSS Selectors. element selectors. .class selectors. #id selectors CSS Selectors Patterns used to select elements to style. CSS selectors refer either to a class, an id, an HTML element, or some combination thereof, followed by a list of styling declarations. Selectors

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

Session 4. Style Sheets (CSS) Reading & References. A reference containing tables of CSS properties

Session 4. Style Sheets (CSS) Reading & References.   A reference containing tables of CSS properties Session 4 Style Sheets (CSS) 1 Reading Reading & References en.wikipedia.org/wiki/css Style Sheet Tutorials www.htmldog.com/guides/cssbeginner/ A reference containing tables of CSS properties web.simmons.edu/~grabiner/comm244/weekthree/css-basic-properties.html

More information

Styles, Style Sheets, the Box Model and Liquid Layout

Styles, Style Sheets, the Box Model and Liquid Layout Styles, Style Sheets, the Box Model and Liquid Layout This session will guide you through examples of how styles and Cascading Style Sheets (CSS) may be used in your Web pages to simplify maintenance of

More information

Data Visualization (DSC 530/CIS )

Data Visualization (DSC 530/CIS ) Data Visualization (DSC 530/CIS 602-01) HTML, CSS, & SVG Dr. David Koop Data Visualization What is it? How does it differ from computer graphics? What types of data can we visualize? What tasks can we

More information

Sections and Articles

Sections and Articles Advanced PHP Framework Codeigniter Modules HTML Topics Introduction to HTML5 Laying out a Page with HTML5 Page Structure- New HTML5 Structural Tags- Page Simplification HTML5 - How We Got Here 1.The Problems

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

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

CSS: Cascading Style Sheets

CSS: Cascading Style Sheets What are Style Sheets CSS: Cascading Style Sheets Representation and Management of Data on the Internet, CS Department, Hebrew University, 2007 A style sheet is a mechanism that allows to specify how HTML

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

Appendix D CSS Properties and Values

Appendix D CSS Properties and Values HTML Appendix D CSS Properties and Values This appendix provides a brief review of Cascading Style Sheets (CSS) concepts and terminology, and lists CSS level 1 and 2 properties and values supported by

More information

Introduction to Multimedia. MMP100 Spring 2016 thiserichagan.com/mmp100

Introduction to Multimedia. MMP100 Spring 2016 thiserichagan.com/mmp100 Introduction to Multimedia MMP100 Spring 2016 profehagan@gmail.com thiserichagan.com/mmp100 Troubleshooting Check your tags! Do you have a start AND end tags? Does everything match? Check your syntax!

More information

Website Development with HTML5, CSS and Bootstrap

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

More information

HTML5. HTML5 Introduction. Form Input Types. Semantic Elements. Form Attributes. Form Elements. Month Number Range Search Tel Url Time Week

HTML5. HTML5 Introduction. Form Input Types. Semantic Elements. Form Attributes. Form Elements. Month Number Range Search Tel Url Time Week WEB DESIGNING HTML HTML - Introduction HTML - Elements HTML - Tags HTML - Text HTML - Formatting HTML - Pre HTML - Attributes HTML - Font HTML - Text Links HTML - Comments HTML - Lists HTML - Images HTML

More information

Cascading Style Sheets Level 2

Cascading Style Sheets Level 2 Cascading Style Sheets Level 2 Course Objectives, Session 1 Level 1 Quick Review Chapter 6 Revisit: Web Fonts Chapter 8: Adding Graphics to Web Pages Chapter 9: Sprucing Up Your Site s Navigation Begin

More information

Course Outline Advanced Web Design

Course Outline Advanced Web Design Course Outline Advanced Web Design For Professionals Who Can Participate? Anyone can join who has the interest to get into the creative web design profession. Prerequisite: Technical Skill: Must have the

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

8/19/2018. Web Development & Design Foundations with HTML5. Learning Objectives (1 of 2) Learning Objectives (2 of 2)

8/19/2018. Web Development & Design Foundations with HTML5. Learning Objectives (1 of 2) Learning Objectives (2 of 2) Web Development & Design Foundations with HTML5 Ninth Edition Chapter 3 Configuring Color and Text with CSS Slides in this presentation contain hyperlinks. JAWS users should be able to get a list of links

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

CSS for Page Layout Robert K. Moniot 1

CSS for Page Layout Robert K. Moniot 1 CSS for Page Layout 2015 Robert K. Moniot 1 OBJECTIVES In this unit, you will learn: How to use style sheets for layout Controlling text flow, margins, borders, and padding Controlling visibility of elements

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

Adding CSS to your HTML

Adding CSS to your HTML Adding CSS to your HTML Lecture 3 CGS 3066 Fall 2016 September 27, 2016 Making your document pretty CSS is used to add presentation to the HTML document. We have seen 3 ways of adding CSS. In this lecture,

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

CSS مفاهیم ساختار و اصول استفاده و به کارگیری

CSS مفاهیم ساختار و اصول استفاده و به کارگیری CSS مفاهیم ساختار و اصول استفاده و به کارگیری Cascading Style Sheets A Cascading Style Sheet (CSS) describes the appearance of an HTML page in a separate document : مسایای استفاده از CSS It lets you separate

More information

3.1 Introduction. 3.2 Levels of Style Sheets. - The CSS1 specification was developed in There are three levels of style sheets

3.1 Introduction. 3.2 Levels of Style Sheets. - The CSS1 specification was developed in There are three levels of style sheets 3.1 Introduction - The CSS1 specification was developed in 1996 - CSS2 was released in 1998 - CSS2.1 reflects browser implementations - CSS3 is partially finished and parts are implemented in current browsers

More information

- The CSS1 specification was developed in CSS2 was released in CSS2.1 reflects browser implementations

- The CSS1 specification was developed in CSS2 was released in CSS2.1 reflects browser implementations 3.1 Introduction - The CSS1 specification was developed in 1996 - CSS2 was released in 1998 - CSS2.1 reflects browser implementations - CSS3 is partially finished and parts are implemented in current browsers

More information

Chapter 3 Style Sheets: CSS

Chapter 3 Style Sheets: CSS WEB TECHNOLOGIES A COMPUTER SCIENCE PERSPECTIVE JEFFREY C. JACKSON Chapter 3 Style Sheets: CSS 1 Motivation HTML markup can be used to represent Semantics: h1 means that an element is a top-level heading

More information

Deccansoft Software Services

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

More information

ICT IGCSE Practical Revision Presentation Web Authoring

ICT IGCSE Practical Revision Presentation Web Authoring 21.1 Web Development Layers 21.2 Create a Web Page Chapter 21: 21.3 Use Stylesheets 21.4 Test and Publish a Website Web Development Layers Presentation Layer Content layer: Behaviour layer Chapter 21:

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

CHAPTER 4 CASCADING STYLE SHEETS BASICS KEY CONCEPTS

CHAPTER 4 CASCADING STYLE SHEETS BASICS KEY CONCEPTS BASICS OF WEB DESIGN CHAPTER 4 CASCADING STYLE SHEETS BASICS KEY CONCEPTS 1 LEARNING OUTCOMES Describe the purpose of Cascading Style Sheets List advantages of using Cascading Style Sheets Configure color

More information

Fundamentals of Website Development

Fundamentals of Website Development Fundamentals of Website Development CSC 2320, Fall 2015 The Department of Computer Science In this chapter History of HTML HTML 5-2- 1 The birth of HTML HTML Blows and standardization -3- -4-2 HTML 4.0

More information

Introduction to HTML & CSS. Instructor: Beck Johnson Week 2

Introduction to HTML & CSS. Instructor: Beck Johnson Week 2 Introduction to HTML & CSS Instructor: Beck Johnson Week 2 today Week One review and questions File organization CSS Box Model: margin and padding Background images and gradients with CSS Make a hero banner!

More information

Reading 2.2 Cascading Style Sheets

Reading 2.2 Cascading Style Sheets Reading 2.2 Cascading Style Sheets By Multiple authors, see citation after each section What is Cascading Style Sheets (CSS)? Cascading Style Sheets (CSS) is a style sheet language used for describing

More information

MODULE 2 HTML 5 FUNDAMENTALS. HyperText. > Douglas Engelbart ( )

MODULE 2 HTML 5 FUNDAMENTALS. HyperText. > Douglas Engelbart ( ) MODULE 2 HTML 5 FUNDAMENTALS HyperText > Douglas Engelbart (1925-2013) Tim Berners-Lee's proposal In March 1989, Tim Berners- Lee submitted a proposal for an information management system to his boss,

More information

12/9/2012. CSS Layout

12/9/2012. CSS Layout Dynamic HTML CSS Layout CSS Layout This lecture aims to teach you the following subjects: CSS Grouping and nesting Selectors. CSS Dimension. CSS Display.. CSS Floating. CSS Align. 1 CSS Grouping and nesting

More information

Course Outline Advanced Web Design

Course Outline Advanced Web Design Course Outline Advanced Web Design For Professionals Who Can Participate? Anyone can join who has the interest to get into the creative web design profession. Prerequisite: Technical Skill: Must have the

More information

Perfect Student Midterm Exam March 20, 2007 Student ID: 9999 Exam: 7434 CS-081/Vickery Page 1 of 5

Perfect Student Midterm Exam March 20, 2007 Student ID: 9999 Exam: 7434 CS-081/Vickery Page 1 of 5 Perfect Student Midterm Exam March 20, 2007 Student ID: 9999 Exam: 7434 CS-081/Vickery Page 1 of 5 NOTE: It is my policy to give a failing grade in the course to any student who either gives or receives

More information

Table Basics. The structure of an table

Table Basics. The structure of an table TABLE -FRAMESET Table Basics A table is a grid of rows and columns that intersect to form cells. Two different types of cells exist: Table cell that contains data, is created with the A cell that

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

This tutorial will help both students as well as professionals who want to make their websites or personal blogs more attractive.

This tutorial will help both students as well as professionals who want to make their websites or personal blogs more attractive. About the Tutorial CSS is used to control the style of a web document in a simple and easy way. CSS stands for Cascading Style Sheets. This tutorial covers both the versions CSS1 and CSS2 and gives a complete

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

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

How to lay out a web page with CSS

How to lay out a web page with CSS Activity 2.6 guide How to lay out a web page with CSS You can use table design features in Adobe Dreamweaver CS4 to create a simple page layout. However, a more powerful technique is to use Cascading Style

More information

CSS Cascading Style Sheets

CSS Cascading Style Sheets CSS Cascading Style Sheets site root index.html about.html services.html stylesheet.css charlie.jpg Linking to your HTML You need to link to your css in the of your HTML file.

More information

CSS THE M\SS1NG MANUAL. David Sawyer McFarland. POGUE PRESS" O'REILLr Beijing Cambridge Farnham Köln Paris Sebastopol Taipei Tokyo

CSS THE M\SS1NG MANUAL. David Sawyer McFarland. POGUE PRESS O'REILLr Beijing Cambridge Farnham Köln Paris Sebastopol Taipei Tokyo CSS THE M\SS1NG MANUAL David Sawyer McFarland POGUE PRESS" O'REILLr Beijing Cambridge Farnham Köln Paris Sebastopol Taipei Tokyo Table of Contents The Missing Credits Introduction xiii I Part One: CSS

More information

CSCU9B2: Web Tech Lecture 3

CSCU9B2: Web Tech Lecture 3 CSCU9B2: Web Tech Lecture 3 1 The Box Model Every HTML element (e.g. h2, p etc) lies within a virtual box: Margin area LEFT TOP This is just some text that flows onto two lines. Border RIGHT Padding area

More information

APPLIED COMPUTING 1P01 Fluency with Technology

APPLIED COMPUTING 1P01 Fluency with Technology APPLIED COMPUTING 1P01 Fluency with Technology Cascading Style Sheets (CSS) APCO/IASC 1P01 Brock University Brock University (APCO/IASC 1P01) Cascading Style Sheets (CSS) 1 / 39 HTML Remember web pages?

More information

INFS 2150 Introduction to Web Development

INFS 2150 Introduction to Web Development INFS 2150 Introduction to Web Development 3. Page Layout Design Objectives Create a reset style sheet Explore page layout designs Center a block element Create a floating element Clear a floating layout

More information

INFS 2150 Introduction to Web Development

INFS 2150 Introduction to Web Development Objectives INFS 2150 Introduction to Web Development 3. Page Layout Design Create a reset style sheet Explore page layout designs Center a block element Create a floating element Clear a floating layout

More information

HTML + CSS. ScottyLabs WDW. Overview HTML Tags CSS Properties Resources

HTML + CSS. ScottyLabs WDW. Overview HTML Tags CSS Properties Resources HTML + CSS ScottyLabs WDW OVERVIEW What are HTML and CSS? How can I use them? WHAT ARE HTML AND CSS? HTML - HyperText Markup Language Specifies webpage content hierarchy Describes rough layout of content

More information

CSC309 Programming on the Web week 3: css, rwd

CSC309 Programming on the Web week 3: css, rwd CSC309 Programming on the Web week 3: css, rwd Amir H. Chinaei, Spring 2017 Office Hours: M 3:45-5:45 BA4222 ahchinaei@cs.toronto.edu http://www.cs.toronto.edu/~ahchinaei/ survey 1 in survey 1, you provide

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

Welcome Please sit on alternating rows. powered by lucid & no.dots.nl/student

Welcome Please sit on alternating rows. powered by lucid & no.dots.nl/student Welcome Please sit on alternating rows powered by lucid & no.dots.nl/student HTML && CSS Workshop Day Day two, November January 276 powered by lucid & no.dots.nl/student About the Workshop Day two: CSS

More information

HTML/CSS. HTML review and extra CSS review CSS Color

HTML/CSS. HTML review and extra CSS review CSS Color HTML/CSS HTML review and extra CSS review CSS Color ID Every HTML element can carry the id attribute ID is used to uniquely identify that element from other elements on the page Can be used to allow the

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

Web Site Design and Development Lecture 5

Web Site Design and Development Lecture 5 Web Site Design and Development Lecture 5 CS 0134 Fall 2018 Tues and Thurs 1:00 2:15PM CSS CSS stands for Cascading Style Sheets. These style sheets define the look and layout of your HTML elements. A

More information

CMPT 165: More CSS Basics

CMPT 165: More CSS Basics CMPT 165: More CSS Basics Tamara Smyth, tamaras@cs.sfu.ca School of Computing Science, Simon Fraser University October 14, 2011 1 The Favorites Icon The favorites icon (favicon) is the small icon you see

More information

Page Layout. 4.1 Styling Page Sections 4.2 Introduction to Layout 4.3 Floating Elements 4.4 Sizing and Positioning

Page Layout. 4.1 Styling Page Sections 4.2 Introduction to Layout 4.3 Floating Elements 4.4 Sizing and Positioning Page Layout contents of this presentation are Copyright 2009 Marty Stepp and Jessica Miller 4.1 Styling Page Sections 4.2 Introduction to Layout 4.3 Floating Elements 4.4 Sizing and Positioning 2 1 4.1

More information

HTML and CSS a further introduction

HTML and CSS a further introduction HTML and CSS a further introduction By now you should be familiar with HTML and CSS and what they are, HTML dictates the structure of a page, CSS dictates how it looks. This tutorial will teach you a few

More information

Ministry of Higher Education and Scientific Research

Ministry of Higher Education and Scientific Research Morning Study Department of information technology Institute of Technical - Duhok. University of Polytechnic Duhok. Subject: Web Technology Course book for 2nd year. Lecturer s name: MSc. Ayman Nashwan

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

ICT IGCSE Practical Revision Presentation Web Authoring

ICT IGCSE Practical Revision Presentation Web Authoring 21.1 Web Development Layers 21.2 Create a Web Page Chapter 21: 21.3 Use Stylesheets 21.4 Test and Publish a Website Web Development Layers Presentation Layer Content layer: Behaviour layer Chapter 21:

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

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

CITS3403 Agile Web Development 2019 Semester 1

CITS3403 Agile Web Development 2019 Semester 1 Cascading Style Sheets CITS3403 Agile Web Development 2019 Semester 1 What is CSS? CSS stands for Cascading Style Sheets stylesheet language for web used to specify the presentation (layout and style)

More information

COSC 2206 Internet Tools. CSS Cascading Style Sheets

COSC 2206 Internet Tools. CSS Cascading Style Sheets COSC 2206 Internet Tools CSS Cascading Style Sheets 1 W3C CSS Reference The official reference is here www.w3.org/style/css/ 2 W3C CSS Validator You can upload a CSS file and the validator will check it

More information

CE419 Web Programming. Session 3: HTML (contd.), CSS

CE419 Web Programming. Session 3: HTML (contd.), CSS CE419 Web Programming Session 3: HTML (contd.), CSS 1 Forms 2 Forms Provides a way to interact with users. Not useful without a server-side counterpart. 3 From Elements

More information

Zen Garden. CSS Zen Garden

Zen Garden. CSS Zen Garden CSS Patrick Behr CSS HTML = content CSS = display It s important to keep them separated Less code in your HTML Easy maintenance Allows for different mediums Desktop Mobile Print Braille Zen Garden CSS

More information

Web Design and Development Tutorial 03

Web Design and Development Tutorial 03 Table of Contents Web Design & Development - Tutorial 03... 2 Using and Applying CSS to XHTML... 2 Conventions... 2 What you need for this tutorial... 2 Common Terminology... 3 Parent / Child Elements...

More information

HTML/XML. HTML Continued Introduction to CSS

HTML/XML. HTML Continued Introduction to CSS HTML/XML HTML Continued Introduction to CSS Entities Special Characters Symbols such as +, -, %, and & are used frequently. Not all Web browsers display these symbols correctly. HTML uses a little computer

More information

<style type="text/css"> <!-- body {font-family: Verdana, Arial, sans-serif} ***set font family for entire Web page***

<style type=text/css> <!-- body {font-family: Verdana, Arial, sans-serif} ***set font family for entire Web page*** Chapter 7 Using Advanced Cascading Style Sheets HTML is limited in its ability to define the appearance, or style, across one or mare Web pages. We use Cascading style sheets to accomplish this. Remember

More information

Data Visualization (CIS/DSC 468)

Data Visualization (CIS/DSC 468) Data Visualization (CIS/DSC 468) Web Programming Dr. David Koop Definition of Visualization Computer-based visualization systems provide visual representations of datasets designed to help people carry

More information

HTML-5.com itemscopehttp://data-vocabulary.org/breadcrumb<span itemprop="title">html 5</span> itemscopehttp://data-vocabulary.

HTML-5.com itemscopehttp://data-vocabulary.org/breadcrumb<span itemprop=title>html 5</span> itemscopehttp://data-vocabulary. HTML-5.com HTML-5.com is an HTML User's Guide and quick reference of HTML elements and attributes for web developers who code HTML web pages, not only for HTML 5 but for HTML coding in general, with demos

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

PIC 40A. Lecture 4b: New elements in HTML5. Copyright 2011 Jukka Virtanen UCLA 1 04/09/14

PIC 40A. Lecture 4b: New elements in HTML5. Copyright 2011 Jukka Virtanen UCLA 1 04/09/14 PIC 40A Lecture 4b: New elements in HTML5 04/09/14 Copyright 2011 Jukka Virtanen UCLA 1 Sectioning elements HTML 5 introduces a lot of sectioning elements. Meant to give more meaning to your pages. People

More information

HTML5, CSS3, JQUERY SYLLABUS

HTML5, CSS3, JQUERY SYLLABUS HTML5, CSS3, JQUERY SYLLABUS AAvhdvchdvchdvhdh HTML HTML - Introduction HTML - Elements HTML - Tags HTML - Text HTML - Formatting HTML - Pre HTML - Attributes HTML - Font HTML - Text Links HTML - Comments

More information

TAG STYLE SELECTORS. div Think of this as a box that contains things, such as text or images. It can also just be a

TAG STYLE SELECTORS. div Think of this as a box that contains things, such as text or images. It can also just be a > > > > CSS Box Model Think of this as a box that contains things, such as text or images. It can also just be a box, that has a border or not. You don't have to use a, you can apply the box model to any

More information

Chapter 1 True/False Instructions: Circle T if the statement is true or F if the statement is false.

Chapter 1 True/False Instructions: Circle T if the statement is true or F if the statement is false. Name Date Chapter 1 True/False Instructions: Circle T if the statement is true or F if the statement is false. T F 1. WYSIWYG stands for What You See Is What You Get. T F 2. The menu bar shows the application

More information

HTML Organizing Page Content

HTML Organizing Page Content HTML Organizing Page Content CSS for layout Examples http://www.shinybytes.com/newcss.html Generic Elements Used to create a logical grouping of content or elements on the page Can be customized to describe

More information

ID1354 Internet Applications

ID1354 Internet Applications ID1354 Internet Applications CSS Leif Lindbäck, Nima Dokoohaki leifl@kth.se, nimad@kth.se SCS/ICT/KTH What is CSS? - Cascading Style Sheets, CSS provide the means to control and change presentation of

More information

Page 1 of 11 Units: - All - Teacher: WebPageDesignI, CORE Course: WebPageDesignI Year: 2012-13 Introduction to the World of Web Standards Why do web development standards play a key role in the proliferation

More information