Admin & Today s Agenda
|
|
- Monica White
- 5 years ago
- Views:
Transcription
1 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
2 And before I start Thank you very much to those who participated at the Terry Fox Run last Friday Some photo updates from Guri 2
3 CMPT 165 D1 (Fall 2015) 3
4 And from your fellow classmates CMPT 165 D1 (Fall 2015) 4
5 CMPT 165 D1 (Fall 2015) 5
6 CMPT 165 D1 (Fall 2015) 6
7 CMPT 165 D1 (Fall 2015) 7
8 Big thank you to those who actually did the run: Alvin Austin G. Austin J. David $ and again, to those who kindly sponsored! CMPT 165 D1 (Fall 2015) 8
9 CSS Level 1 Style support for: Colour of element text, backgrounds, etc. Font properties: typeface and emphasis Alignment of elements (text, images, etc.) Text formatting: e.g. spacing Boxing: margin, border, padding, and positioning Unique identification Generic classification: explained later CMPT 165 D1 (Fall 2015) 9
10 The id attribute Provides an identity for an element e.g. <img id="myprofilepic" src="pic.png" /> Try to use meaningful id so you can remember easily <ol id="menu_list"> Should be unique for proper anchoring CMPT 165 D1 (Fall 2015) 10
11 Linking elements within the same page Use # + id attribute <h1>an ESSAY FOR CMPT 165</h1> <blockquote>anyone who </blockquote > <h2>1. INTRO</h2> <p id="p1" >Lorem ipsum dolor sit amet, ne has solet pe. Est </p> top <h2>2. METHODS</h2> <p id="p2" >Lorem ipsum dolor sit amet, ne has solet percipitur, voluptaria mnesarchum ea eum. Est ep.</p> <a href="#p1">top</a> <h3>2.1 Xafsdd</h3> <p id="p3" >Sipsum dolor sit amet, ne has solet percipitur, voluptaria mnesarchum ea Lorem ipsum dolor sit amet, ne has solet afdafsafdsf. voluptaria mnesarchum ea mnesarchum ea Lorem ipsum dolor sit CMPT 165 D1 (Summer 2005) 11
12 Linking elements within the same page Use # + id attribute <h1>an ESSAY FOR CMPT 165</h1> <blockquote>anyone who </blockquote > <h2>1. INTRO</h2> <a href="#p2">skip</a> <p id="p1" >Lorem ipsum dolor sit amet, ne has solet pe. Est </p> skip skip top <h2>2. METHODS</h2> <a href="#p3">skip</a> <p id="p2" >Lorem ipsum dolor sit amet, ne has solet percipitur, voluptaria mnesarchum ea eum. Est ep.</p> <a href="#p1">top</a> skip top top <h3>2.1 Xafsdd</h3> <a href="#p4">skip</a> <p id="p3" >Sipsum dolor sit amet, ne has solet percipitur, voluptaria mnesarchum ea Lorem ipsum dolor sit amet, ne has solet afdafsafdsf. voluptaria mnesarchum ea mnesarchum ea Lorem ipsum dolor sit CMPT 165 D1 (Summer 2005) 12
13 Example CMPT 165 D1 (Fall 2015) 13
14 Uses: The id attribute 1) For anchoring parts within the same webpage Instantiate: <h1 id="a_meaningful_name"></h1> Reference (refer to the element as): #a_meaningful_name 2) For styling a specific element #p1 { color: red; } CMPT 165 D1 (Fall 2015) 14
15 The id attribute <p> Q1: Gfe dsf sdf? </p> <p> A1: dsf jjf jsf.</p> <p> Q2: Fsjf jsadf? </p> <p> A2: Sbjffa al eef. </p> p { font-family: sans-serif } <p> Q3: Msjf jsadf? </p> <p> A3: Pbjff. La al. </p> Browser: Q1: Gfe dsf sdf? A1: dsf jjf jsf. Q2: Fsjf jsadf? A2: Sbjffa al eef. Q3: Msjf jsadf? A3: Pbjff. La al. CMPT 165 D1 (Fall 2015) 15
16 The id attribute <p id= q1 > Q1: Gfe dsf sdf? </p> <p> A1: dsf jjf jsf.</p> <p> Q2: Fsjf jsadf? </p> <p> A2: Sbjffa al eef. </p> p { font-family: sans-serif } <p> Q3: Msjf jsadf? </p> <p> A3: Pbjff. La al. </p> Browser: Q1: Gfe dsf sdf? A1: dsf jjf jsf. Q2: Fsjf jsadf? A2: Sbjffa al eef. Q3: Msjf jsadf? A3: Pbjff. La al. CMPT 165 D1 (Fall 2015) 16
17 The id attribute <p id= q1 > Q1: Gfe dsf sdf? </p> <p> A1: dsf jjf jsf.</p> <p> Q2: Fsjf jsadf? </p> <p> A2: Sbjffa al eef. </p> p { font-family: sans-serif } #q1{ font-style: bold; } <p> Q3: Msjf jsadf? </p> <p> A3: Pbjff. La al. </p> Browser: Q1: Gfe dsf sdf? A1: dsf jjf jsf. Q2: Fsjf jsadf? A2: Sbjffa al eef. Q3: Msjf jsadf? A3: Pbjff. La al. CMPT 165 D1 (Fall 2015) 17
18 The id attribute <p id= q1 > Q1: Gfe dsf sdf? </p> <p> A1: dsf jjf jsf.</p> <p id= q2 > Q2: Fsjf jsadf? </p> <p> A2: Sbjffa al eef. </p> <p id= q3 > Q3: Msjf jsadf? </p> <p> A3: Pbjff. La al. </p> Browser: Q1: Gfe dsf sdf? A1: dsf jjf jsf. Q2: Fsjf jsadf? A2: Sbjffa al eef. Q3: Msjf jsadf? A3: Pbjff. La al. CMPT 165 D1 (Fall 2015) If you have 5 questions? p { font-family: sans-serif } #q1{ font-style: bold; } #q2{ font-style: bold; } #q3{ font-style: bold; } #q4{ font-style: bold; } #q5{ font-style: bold; } An alternative: group into single declaration 18
19 The id attribute <p id= q1 > Q1: Gfe dsf sdf? </p> <p> A1: dsf jjf jsf.</p> <p id= q2 > Q2: Fsjf jsadf? </p> <p> A2: Sbjffa al eef. </p> <p id= q3 > Q3: Msjf jsadf? </p> <p> A3: Pbjff. La al. </p> Browser: Q1: Gfe dsf sdf? A1: dsf jjf jsf. Q2: Fsjf jsadf? A2: Sbjffa al eef. Q3: Msjf jsadf? A3: Pbjff. La al. CMPT 165 D1 (Fall 2015) If you have 5 questions? p { font-family: sans-serif } #q1,#q2,#q3,#q4,#q5{ font-style: bold; } An alternative: group into single declaration 19
20 The id attribute <p id= q1 > Q1: Gfe dsf sdf? </p> <p> A1: dsf jjf jsf.</p> <p id= q2 > Q2: Fsjf jsadf? </p> <p> A2: Sbjffa al eef. </p> <p id= q3 > Q3: Msjf jsadf? </p> <p> A3: Pbjff. La al. </p> Browser: Q1: Gfe dsf sdf? A1: dsf jjf jsf. Q2: Fsjf jsadf? A2: Sbjffa al eef. Q3: Msjf jsadf? A3: Pbjff. La al. But what if you have 1000 Q s!? p { font-family: sans-serif } #q1,#q2,#q3,#q4,#q5{ font-style: bold; } CMPT 165 D1 (Fall 2015) 20
21 Solution: the class attribute <p id= q1 > Q1: Gfe dsf sdf? </p> <p> A1: dsf jjf jsf.</p> <p id= q2 > Q2: Fsjf jsadf? </p> <p> A2: Sbjffa al eef. </p> <p id= q3 > Q3: Msjf jsadf? </p> <p> A3: Pbjff. La al. </p> Browser: Q1: Gfe dsf sdf? A1: dsf jjf jsf. Q2: Fsjf jsadf? A2: Sbjffa al eef. Q3: Msjf jsadf? A3: Pbjff. La al. But what if you have 1000 Q s!? p { font-family: sans-serif } #q1,#q2,#q3,#q4,#q5{ font-style: bold; } CMPT 165 D1 (Fall 2015) 21
22 Solution: the class attribute <p class= ques > Q1: Gfe dsf sdf? </p> <p> A1: dsf jjf jsf.</p> <p class= ques > Q2: Fsjf jsadf? </p> <p> A2: Sbjffa al eef. </p> <p class= ques > Q3: Msjf jsadf? </p> <p> A3: Pbjff. La al. </p> p { font-family: sans-serif }.ques { font-style: bold; } Browser: Q1: Gfe dsf sdf? A1: dsf jjf jsf. Q2: Fsjf jsadf? A2: Sbjffa al eef. Q3: Msjf jsadf? A3: Pbjff. La al. CMPT 165 D1 (Fall 2015) 22
23 id, class attributes id attribute Instantiate as attribute of tag: <p id="intro_para">hello!</p> class attribute Instantiate attribute of tag: <h1 class="class_name">h</h1> Reference via: #intro_para Reference:.class_name Anchoring in html: <a href="#intro_para">top</a> Styling in CSS: #intro_para { color: red; } Styling in CSS:.class_name { color: red; } CMPT 165 D1 (Fall 2015) 23
24 id vs. class? id vs. class explained: There is a unique ID for every student An element should have a single id A student may been in many classes (i.e. not unique) An element may be have multiple classes Usage: If an element has some unique property, use id When some visual properties need to be reapplied, use class Unique vs. Repeated CMPT 165 D1 (Fall 2015) 24
25 CSS Level 1 Style support for: Colour of element text, backgrounds, etc. Alignment of elements (text, images, etc.) Text formatting: e.g. spacing of words, letters, lines Font properties: typeface and emphasis Boxing: margin, border, padding, and positioning Unique identification of elements: id Generic classification of elements: class CMPT 165 D1 (Fall 2015) 25
26 Questions? 26
27 Some important markup tags seen so far Block <p> <h1> <hr> <ol> <ul> <li> <blockquote> The <cite> tag defines the title of a work (e.g. a book, a song, a movie, a TV show, a painting, a sculpture, etc.). Inline <b> <i> <em> <strong> <tt> <sub> <sup> <cite> 27
28 Block vs. Inline elements 28
29 Block vs. Inline elements Block Nature of use: structural Inline Nature of use: used along with text Guidelines: - Contain inline elements, e.g.: <h1>you<em>can</em>!</h1> - Can be inside another block element - Not inside an inline element! Guidelines: - May contain another inline element, e.g.: <q>you <em>can</em>!</q> - Usually must be inside block elements! i.e. Cannot be directly inside <body> Behaviours*: Expands across the page Drop below other elements Behaviours*: Flows along with text *without using style rules See 29
30 Expands across the page Next element is forced to next line Flows along with text 30
31 Important markup tags learned so far Block <p> <h1> <hr> <ol> <ul> <li> <blockquote> <a>? Inline <b> <i> <em> <strong> <tt> <sub> <sup> <cite> 31
32 Anchor tags are inline elements But Exceptions In older version of markup, may be placed directly in the body! <a> cannot contain another <a> Also does not make sense Paragraph, header tags semantically Cannot be placed in within each other; wrong: <p><p>abcdefg</p></p> Its content must be an inline element; wrong: <h1><p>abcdefg</p></h1> 32
33 Exceptions <ol>, <ul> must contain other elements (<li>) CMPT 165 D1 (Fall 2015) 33
34 Important markup tags learned so far Block <p> <h1> <hr> <ol> <ul> <li> <blockquote> <img>? Inline <b> <i> <em> <strong> <tt> <sub> <a> <sup> <cite> 34
35 Few asked when answers already in Study Guide Please read guide more carefully!
36 Important markup tags learned so far Block <p> <h1> <hr> <ol> <ul> <li> <blockquote> Inline <b> <i> <em> <strong> <tt> <sub> <a> <sup> <img> <cite> 36
37 Important markup tags learned so far Block <p> <h1> <hr> <ol> <ul> <li> <blockquote> <p> This is paragraph. <br/> This is another paragraph. </p> Inline <b> <i> <em> <strong> <tt> <br> <sub> <a> <sup> <img> <cite> <br>? 37
38 Important markup tags learned so far Block <p> <h1> <hr> <ol> <ul> <li> <blockquote> Inline <b> <i> <em> <strong> <tt> <br> <sub> <a> <sup> <img> <cite> <abbr>? 38
39 Abbreviation The <abbr> tag Inline elements: <abbr title="hypertext Markup Language">HTML</abbr> Provides a form of interaction Nice way of separating high and low level information Omitting the title attribute will not give validation error But you should not omit it! Reminder: A global attribute (Required in your E2) Demo CMPT 165 D1 (Fall 2015) 39
40 Important markup tags learned so far Block <p> <h1> <hr> <ol> <ul> <li> <blockquote> <div> Inline <b> <i> <em> <strong> <tt> <br> <sub> <a> <sup> <img> <cite> <span> 40
41 Generic Tags <div> division Generic block element Used to divide a webpage into related parts <span> span Generic inline element Mostly used to style a specific parts of content 41
42 <span> illustrated Lorem ipsum dolor sit amet, cum ea periculis complectitur, ex quo option alienum. Ex tale temporibus mei, graeco fuisset omittam an vel, sed ex brute decore. Ea putant fuisset patrioque eum, atqui integre vivendum cum ex, cu sea sadipscing neglegentur. Mea ne wisi commodo, his eu. No decore voluptua nam. Q: What does this mean??? <p>lorem ipsum dolor sit amet, cum ea periculis complectitur, ex quo option alienum. <span class="cool_quote"> Ex tale temporibus mei, graeco fuisset omittam an vel, sed ex brute decore. </span> Ea putant fuisset patrioque eum, atqui integre vivendum cum ex, cu sea sadipscing neglegentur. Mea ne wisi commodo, his eu. No decore voluptua nam.</p>.cool_quote{ font-family: serif; color: #33b; font-weight: bold; font-style: italic; } 42
43 CMPT 165 D1 (Fall 2015) 43
44 <p>you <em>will</em> make more, because it's <span class="strongest">delicious</span>.</p>.strongest { /*strongest emphasis*/ font-weight: bold; font-style: italic; } CMPT 165 D1 (Fall 2015) 44
45 Generic Tags <div> division Generic block element Used to divide a webpage into related parts <span> span Generic inline element Mostly used to style a specific parts of content 45
46 Uses of <div> (Very powerful tool, but don t abuse usage; complicated markup difficult to maintain) Separate a page into logical sections Typical use: 46
47 Uses of <div> (Very powerful tool, but don t abuse usage; complicated markup difficult to maintain) Separate a page into logical sections Typical use: Header Nav. Body main Footer CMPT 165 D1 (Summer 2005) 47
48 <div> illustrated Header Body Footer <div id="header"> <h1> My Heading </h1> </div> <div id="body"> <p>this is body paragraph1.</p> <p>this is body paragraph2.</p> <p>this is body paragraph3.</p> <p>this is body paragraph4.</p> <p>this is body paragraph5.</p> </div> <div id="footer"> <p>copyright goes here.</p> </div> 48
49 <div> illustrated Nav. Header Body Main Footer <div id="header"> <!-- divider 1 --> <h1> My Heading </h1> </div> <div id="body"> <!-- divider 2 --> <div id="nav"> <!-- subdivider#1 --> <ul> <li><a href="index.html">home</a></li> <li><a href= me.html">about me</a></li> <li><a href= notes.html">my course notes</a></li> <li><a href= contact.html">contact</a></li> </ul> </div> <div id="main_body"> <!-- subdivider#2 --> <p>lorem ipsum dolor sit amet, cum ea periculis complectitur, ex quo option alienum. Ex tale temporibus mei, graeco fuisset omittam an vel, sed ex brute decore. Ea putant fuisset patrioque eum, atqui integre vivendum cum ex. Ea putant fuissetr. Mea ne wisi commodo, his eu. No decore voluptua nam.</p> <p>bom ipsucomplectitur, ex quo option alienum. <i style="font-color;blue;"> Ex tale temporibus mei, graeco fuisset omittam an vel, sed ex brute decore. </i> Ea putant fuisset patr his eu. No decore voluptua nam.</p> </div> </div> <div id="footer"> <!-- divider 3 --> <p>copyright goes here.</p> </div> 49
50 <div> illustrated /* general styling */ div { padding:.01%; background-color: #afa; border: #5b5 solid.2em; margin:.01%; } #body { height: 50%; } /* specific items */ #header, #footer{ text-align: center; clear: both; } #nav { width: 15%; float: left; min-height: 20em; } #main_body { width: 82%; float: left; min-height: 20em; } <div id="header"> <!-- divider 1 --> <h1> My Heading </h1> </div> <div id="body"> <!-- divider 2 --> <div id="nav"> <!-- subdivider#1 --> <ul> <li><a href="index.html">home</a></li> <li><a href= me.html">about me</a></li> <li><a href= notes.html">my course notes</a></li> <li><a href= contact.html">contact</a></li> </ul> </div> <div id="main_body"> <!-- subdivider#2 --> <p>lorem ipsum dolor sit amet, cum ea periculis complectitur, ex quo option alienum. Ex tale temporibus mei, graeco fuisset omittam an vel, sed ex brute decore. Ea putant fuisset patrioque eum, atqui integre vivendum cum ex. Ea putant fuissetr. Mea ne wisi commodo, his eu. No decore voluptua nam.</p> <p>bom ipsucomplectitur, ex quo option alienum. <i style="font-color;blue;"> Ex tale temporibus mei, graeco fuisset omittam an vel, sed ex brute decore. </i> Ea putant fuisset patr his eu. No decore voluptua nam.</p> </div> </div> <div id="footer"> <!-- divider 3 --> <p>copyright goes here.</p> </div> 50
51 id vs. class in CSS Today s Summary Block vs. in-line elements Reviewed usage of some tags: e.g. <br/> Introduced new ones: <abbr> <div> <span> CMPT 165 D1 (Fall 2015) 51
52 Questions? 52
53 Take-Home Exercise (from last week) <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN " strict.dtd"> <html> <head><title>title</title> <style type="text/css"> p { width: 200px; padding: 10px; padding-left: 20px; margin: 20px; border: 5px solid #000; float: left; height: 500px; } </style> </head> <body> <p>c</p> </body> <html> Given code on the left: 1) What s the box model for all <p> tags? Draw your answers out. 2) And what are its dimensions? CMPT 165 D1 (Fall 2015) 53
54 Take-Home Exercise (from last week) Tell me next class! <h2>definition List</h2> <dl> <dt><em>dashi Broth</em></dt> <dd>a basic broth in Japanese cooking. </dd> </dl> <dl> <dt><em>short Grained Steamed Rice</em></dt> <dd>the most common rice eaten in Japan. </dd> </dl> CMPT 165 D1 (Fall 2015) 54
CMPT 101 Advanced CSS Part 2. (Oct. 8 th, 2015) Oct. 20 th, 2017
CMPT 101 Advanced CSS Part 2 (Oct. 8 th, 2015) Oct. 20 th, 2017 1. Raise your hand 2. Yell out your seat number. 3. Answer question: Attendance If you did not do your HW6, tell us an example of inline
More informationCMPT 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 informationAdmin. (Reminder) coursework submission procedure: 2.??? Submit URL to CourseSys (URL as instructed) 1. Upload
Admin (Reminder) coursework submission procedure: 1. Upload 2.??? Submit URL to CourseSys (URL as instructed) Only ~110 students did this! What consequences? Schedule coming up: Today: Colours + go through
More informationHTML 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 informationCMPT 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 informationFirst Diploma Unit 10 Client Side Web. Week 4 CSS and Images
First Diploma Unit 10 Client Side Web Week 4 CSS and Images Last Session CSS box model Concept of identity - id This Session External style sheets Using CSS in conjunction with images Introduction External
More informationCMPT 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 information2005 WebGUI Users Conference
Cascading Style Sheets 2005 WebGUI Users Conference Style Sheet Types 3 Options Inline Embedded Linked Inline Use an inline style sheet to modify a single element one time in a page.
More informationBlock & Inline Elements
Block & Inline Elements Every tag in HTML can classified as a block or inline element. > Block elements always start on a new line (Paragraph, List items, Blockquotes, Tables) > Inline elements do not
More informationText 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 informationHTML+ 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 informationBasics 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 informationWEBSITE 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 informationc122jan2714.notebook January 27, 2014
Internet Developer 1 Start here! 2 3 Right click on screen and select View page source if you are in Firefox tells the browser you are using html. Next we have the tag and at the
More informationAdmin. 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 informationUnit 20 - Client Side Customisation of Web Pages. Week 2 Lesson 4 The Box Model
Unit 20 - Client Side Customisation of Web Pages Week 2 Lesson 4 The Box Model So far Looked at what CSS is Looked at why we will use it Used CSS In-line Embedded (internal style-sheet) External
More informationFirst Diploma Unit 10 Client Side Web. Week 4 -The CSS Box model
First Diploma Unit 10 Client Side Web Week 4 -The CSS Box model Last Session CSS Basics Fonts Real world site This Session CSS box model Concept of identity -id The CSS box model represents every element
More informationWireframe :: tistory wireframe tistory.
Page 1 of 45 Wireframe :: tistory wireframe tistory Daum Tistory GO Home Location Tags Media Guestbook Admin 'XHTML+CSS' 7 1 2009/09/20 [ ] XHTML CSS - 6 (2) 2 2009/07/23 [ ] XHTML CSS - 5 (6) 3 2009/07/17
More informationIntroduction 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 informationMultimedia Systems and Technologies Lab class 6 HTML 5 + CSS 3
Multimedia Systems and Technologies Lab class 6 HTML 5 + CSS 3 Instructions to use the laboratory computers (room B2): 1. If the computer is off, start it with Windows (all computers have a Linux-Windows
More informationWeb Development & Design Foundations with HTML5 & CSS3 Instructor Materials Chapter 2 Test Bank
Multiple Choice. Choose the best answer. 1. What tag pair is used to create a new paragraph? a. b. c. d. 2. What tag pair
More informationBack in the good old days type was set by hand using printing presses.
CSS LINE-HEIGHT What is leading? Back in the good old days type was set by hand using printing presses. Printed material was created by setting out letters in rows. Each letter was created on an individual
More informationUnit 20 - Client Side Customisation of Web Pages. Week 2 Lesson 4 The Box Model
Unit 20 - Client Side Customisation of Web Pages Week 2 Lesson 4 The Box Model Last Time Looked at what CSS is Looked at why we will use it Used CSS In-line Embedded (internal style-sheet) External
More information1/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 informationHTML & 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<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 informationHTML 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 informationBASICS 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 informationWeb 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 informationCMPT 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 informationOverview. 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 informationThis is an H1 Header. This is an H2 Header. This is an H3 Header
is a key element in web design. This templates delivers you sophisticated typography and various stylings. The style guide gives you an overview about all possible HTML tag stylings provided by the template.
More informationEECS1012. Net-centric Introduction to Computing. Lecture 5: Yet more CSS (Float and Positioning)
EECS 1012 EECS1012 Net-centric Introduction to Computing Lecture 5: Yet more CSS (Float and Positioning) Acknowledgements Contents are adapted from web lectures for Web Programming Step by Step, by M.
More informationIntroduction 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 informationWelcome 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 informationHTML & 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 informationStyles, 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 informationWeb Development and Design Foundations with HTML5 8th Edition
Web Development and Design Foundations with HTML5 8th Edition Felke-Morris TEST BANK Full clear download (no formatting errors) at: Web Development and Design Foundations with HTML5 8th Edition Felke-Morris
More informationReview 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 informationThe 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 informationHTML. Based mostly on
HTML Based mostly on www.w3schools.com What is HTML? The standard markup language for creating Web pages HTML stands for Hyper Text Markup Language HTML describes the structure of Web pages using markup
More informationCertified 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 informationDownloads: 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 informationCOMS 359: Interactive Media
COMS 359: Interactive Media Agenda Review CSS Layout Preview Review Introducting CSS What is CSS? CSS Syntax Location of CSS The Cascade Box Model Box Structure Box Properties Review Style is cascading
More informationWeb Publishing Intermediate 2
Web Publishing Intermediate 2 Building a Three Column Site with divs and float Jeff Pankin Information Services and Technology Table of Contents Course Objectives... 2 The CIG Web Site... 3 Using the Div
More informationCascading 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 informationVISA/APCO/STAC 2P61 WEBSITE CREATION Fall Term 2012
VISA/APCO/STAC 2P61 WEBSITE CREATION Fall Term 2012 CSS 4 TWO COLUMN LAYOUT MORE ON DIVS Last week: Applied margins borders and padding and calculating the size of elements using box model. Wrote CSS shorthand
More informationHtml 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 informationReview 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 informationINTRODUCTION 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 informationHow 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 informationAnnouncements. Paper due this Wednesday
Announcements Paper due this Wednesday 1 Client and Server Client and server are two terms frequently used Client/Server Model Client/Server model when talking about software Client/Server model when talking
More informationFinal 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 informationHTML 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 informationLab Introduction to Cascading Style Sheets
Lab Introduction to Cascading Style Sheets For this laboratory you will need a basic text editor and a browser. In the labs, winedt or Notepad++ is recommended along with Firefox/Chrome For this activity,
More informationCSS 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 informationLearning 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 informationIDM 221. Web Design I. IDM 221: Web Authoring I 1
IDM 221 Web Design I IDM 221: Web Authoring I 1 Week 6 IDM 221: Web Authoring I 2 The Box Model IDM 221: Web Authoring I 3 When a browser displays a web page, it places each HTML block element in a box.
More informationXHTML & 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 informationCOPYRIGHTED 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 informationCertified 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 informationHTML 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 informationFaculty Web Pages: Editing the Template Prepared by Tamara Fudge, June 2008
Faculty Web Pages: Editing the Template Prepared by Tamara Fudge, June 2008 FacWeb 1 The following shows the contents of the FacWeb.txt document, with instructions for replacing certain items with your
More informationCSS: 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 informationGIMP WEB 2.0 MENUS WEB 2.0 MENUS: HORIZONTAL NAVIGATION BAR CREATING AN HTML LIST
GIMP WEB 2.0 MENUS Web 2.0 Menus: Horizontal Navigation Bar WEB 2.0 MENUS: HORIZONTAL NAVIGATION BAR Hover effect: CREATING AN HTML LIST Most horizontal or vertical navigation bars begin with a simple
More information5 Snowdonia. 94 Web Applications with C#.ASP
94 Web Applications with C#.ASP 5 Snowdonia In this and the following three chapters we will explore the use of particular programming techniques, before combining these methods to create two substantial
More informationCSS: formatting webpages
CSS: formatting webpages Why CSS? separate content from formatting (style) style can be changed easily without rewriting webpages keep formatting consistent across website allows more advanced formatting
More informationChapter 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 informationHTML 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 informationMake 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 informationProgrammazione 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 informationHTML 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 informationHTML for D3. Visweek d3 workshop
HTML for D3 Visweek d3 workshop What is HTML HTML is the language in which the web pages are encoded. What is HTML? HTML can be complicated But it doesn t have to be.
More informationData 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 informationThe 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 informationExam II CIS 228: The Internet Prof. St. John Lehman College City University of New York 5 November 2009
Exam II CIS 228: The Internet Prof. St. John Lehman College City University of New York 5 November 2009 NAME (Printed) NAME (Signed) E-mail Exam Rules Show all your work. Your grade will be based on the
More informationThinking inside the box
Intro to CSS Thinking inside the box Thinking inside the box Thinking inside the box Thinking inside the box Thinking inside the box Thinking inside the box Thinking inside
More informationWML2.0 TUTORIAL. The XHTML Basic defined by the W3C is a proper subset of XHTML, which is a reformulation of HTML in XML.
http://www.tutorialspoint.com/wml/wml2_tutorial.htm WML2.0 TUTORIAL Copyright tutorialspoint.com WML2 is a language, which extends the syntax and semantics of the followings: XHTML Basic [ XHTMLBasic ]
More informationCSS: 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 informationA 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 informationCIS 228 (Fall 2011) Exam 2, 11/3/11
CIS 228 (Fall 2011) Exam 2, 11/3/11 Name (sign) Name (print) email Question 1 2 3 4 5 6 7 8 TOTAL Score CIS 228, exam 2 1 11/03/11 Question 1 True or false: In CSS, property declarations in the same rule
More informationITNP43: HTML Lecture 4
ITNP43: HTML Lecture 4 Niederst, Part III (3rd edn) 1 Style versus Content HTML purists insist that style should be separate from content and structure HTML was only designed to specify the structure and
More informationhttp://nma.kcc.hawaii.edu/gargiulo/data/johndoe/spring/art128/2014/companyname1_step3/index.html 1 2 3 4 5 company Name 6 7
More informationTitle: Dec 11 3:40 PM (1 of 11)
... basic iframe body {color: brown; font family: "Times New Roman"} this is a test of using iframe Here I have set up two iframes next to each
More informationCMPT 165 Notes on HTML5
CMPT 165 Notes on HTML5 Nov. 26 th, 2015 HTML5 Why bother? HTML is constantly evolving HTLM5 is latest version New (more semantically meaningful) markup tags: Old (vs. new) tags: New tags
More informationCascading Style Sheet
Extra notes - Markup Languages Dr Nick Hayward CSS - Basics A brief introduction to the basics of CSS. Contents Intro CSS syntax rulesets comments display Display and elements inline block-level CSS selectors
More informationMore about HTML. Digging in a little deeper
More about HTML Digging in a little deeper Structural v. Semantic Markup Structural markup is using to encode information about the structure of a document. Examples: , , , and
More informationDEEP DIVE INTO LINE-HEIGHT
DEEP DIVE INTO LINE-HEIGHT Why should you care about line-height? Because line-height is an integral part of CSS-based layouts. It can help to make our content easier to read and comprehend. It can be
More informationLING 408/508: Computational Techniques for Linguists. Lecture 14
LING 408/508: Computational Techniques for Linguists Lecture 14 Administrivia Homework 5 has been graded Last Time: Browsers are powerful Who that John knows does he not like? html + javascript + SVG Client-side
More informationIndex. 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 informationChapter 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 informationCSS Module in 2 Parts
CSS Module in 2 Parts So as to familiarize yourself with the basics of CSS before moving onto Dreamweaver, I d like you to do the 2 following Modules. It is important for you to AT LEAST do Part 1. Part
More informationCo. 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 informationGuidelines for doing the short exercises
1 Short exercises for Murach s HTML5 and CSS Guidelines for doing the short exercises Do the exercise steps in sequence. That way, you will work from the most important tasks to the least important. Feel
More informationUnit 10 - Client Side Customisation of Web Pages. Week 5 Lesson 1 CSS - Selectors
Unit 10 - Client Side Customisation of Web Pages Week 5 Lesson 1 CSS - Selectors Last Time CSS box model Concept of identity - id Objectives Selectors the short story (or maybe not) Web page make-over!
More informationCS 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"utf-8";
http://salsa-copacabana.com/css/import.css @charset "Shift_JIS"; /* ------------------------------------------ File name: import.css Style Info: CSS screen Windwos IE4 ------------------------------------------
More informationChapter 4. Introduction to XHTML: Part 1
Chapter 4. Introduction to XHTML: Part 1 XHTML is a markup language for identifying the elements of a page so a browser can render that page on a computer screen. Document presentation is generally separated
More informationStudy 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