HTTP & Websites. Web Browsers. Web Servers vs. Web sites. World Wide Web. Internet Explorer. Surfing the World Wide Web. Part 4. The World Wide Web
|
|
- Damon Shields
- 5 years ago
- Views:
Transcription
1 HTTP & Websites Web Browsers Part 4 Surfing the World Wide Web World Wide Web Web Servers vs. Web sites The World Wide Web massive collection of websites on the Internet they link to each other and form a "web" this is why domains usually begin with "www" Internet vs. World Wide Web the Internet is the world wide network the World Wide Web is all the websites on it Are web servers the same as websites? not always server can store many sites one site may cover several servers Example: stored on multiple file servers 6/20/208 Sacramento State - Cook - CSc 8 - Summer /20/208 Sacramento State - Cook - CSc 8 - Summer Web Browsers Internet Explorer Web Browser specialized application that display webpages looks up domains uses HTTP to send messages to a Server Some popular Web Browsers Microsoft Internet Explorer Apple Safari Mozilla Firefox Google Chrome Created by Microsoft Integrated with the Windows first integrated in Windows 98 very controversial at the time Version 9 had a completely new interface Replaced by "Edge" same application with a new name 6/20/208 Sacramento State - Cook - CSc 8 - Summer /20/208 Sacramento State - Cook - CSc 8 - Summer 208 6
2 Mozilla Firefox Google Chrome For Windows & Macintosh More secure than IE Interesting features anti-phishing technology built-in spell checker! Updates often! Download: Created by the Google Corporation Very minimalist graphical user interface Growing in popularity mostly at the expense of Internet Explorer Download from 6/20/208 Sacramento State - Cook - CSc 8 - Summer /20/208 Sacramento State - Cook - CSc 8 - Summer Opera Apple Safari Created by Opera Software Popular on smart phones The browser used on the Nintendo Wii and DS Download from Created by the Apple Corporation Integrated with Mac-OS X only browser in the latest version previous versions other browsers Available for Windows and Mac Download from 6/20/208 Sacramento State - Cook - CSc 8 - Summer /20/208 Sacramento State - Cook - CSc 8 - Summer What are Cookies? Cookies A small text file saved on your computer created by a web server only visible to the site that created them managed by your web browser You don't have to accept cookies Delicious Little Annoyances VISITOR_INFO_LIVEqG-fp9Y6T34youtube.com/ *GPSyoutub e.com/ * 6/20/208 Sacramento State - Cook - CSc 8 - Summer
3 Threat of Cookies Threat of Cookies Any web server that you request data from can create (bake) a cookie Webpages can grab data from multiple servers this can included servers related to the site but are often servers that embed advertisements e.g. banners, pictures, etc... cookies can originate from any of these sources Ad-servers often support multiple webpages By saving data in cookies... ad-servers sites can track your page habits this cannot damage our computer Not dangerous like Spyware although this is a form of spying you do not suffer the effects of spyware only your browsing habits can be watched 6/20/208 Sacramento State - Cook - CSc 8 - Summer /20/208 Sacramento State - Cook - CSc 8 - Summer What is a Webpage? Webpage Basics Creating a Webpage A webpage is, essentially, a text file Contains markup information special codes that indicate formatting example: bold, font, color Hypertext text that "linked" to other text or documents example: web page links 6/20/208 Sacramento State - Cook - CSc 8 - Summer Webpages vs. Websites HTML A webpage a visible page you see in your browser contains words, pictures, etc... A website is a collection of related webpages for example, the CSc 8 website Hypertext Markup Language text is marked with tags tags are delimited with < and > tags usually have a start and end - not always HTTP communications protocol application layer based on data used by browsers when requesting specific pages 6/20/208 Sacramento State - Cook - CSc 8 - Summer /20/208 Sacramento State - Cook - CSc 8 - Summer
4 Tags Tags In HTML, tags give markup information This includes adding formatting (bold, italics) as well as more complex structures like tables The format of tags is very simple to master Tags have two variants those that encapsulate other tags, text, etc those that insert or add an item into the text 6/20/208 Sacramento State - Cook - CSc 8 - Summer /20/208 Sacramento State - Cook - CSc 8 - Summer Tags - Encapsulate Tags - Encapsulate Many tags turn a feature "on" Basically, they affect everything between the start and end tags Start tags are denoted as <...> End tags are denoted as </...> <tag> </tag> <tag> </tag> 6/20/208 Sacramento State - Cook - CSc 8 - Summer /20/208 Sacramento State - Cook - CSc 8 - Summer Tags - Insert Tags - Insert The other type of tag simple inserts or adds something to the webpage They don't have an end tag (obviously) After the tag name, a single slash is used to denote that no end tag will be present Think of it as a head tag merged with an end tag <tag/> <tag/> 6/20/208 Sacramento State - Cook - CSc 8 - Summer /20/208 Sacramento State - Cook - CSc 8 - Summer
5 HTML Spacing Rules How Would This be Displayed? Browsers ignore formatting in HTML areas containing more than two spaces line breaks tabs In both cases, a single space is used This makes it easy to write HTML trust me Hello World! New line Blank space This is a test. 6/20/208 Sacramento State - Cook - CSc 8 - Summer /20/208 Sacramento State - Cook - CSc 8 - Summer The new lines become single spaces! Some Formatting Tags Hello World! This is a test. Tag <br/> <p> </p> Effect Break (new line) Paragraph 6/20/208 Sacramento State - Cook - CSc 8 - Summer /20/208 Sacramento State - Cook - CSc 8 - Summer Example Example Output Hello <br/> World!<br/> <br/> This is a test. Hello World! This is a test. 6/20/208 Sacramento State - Cook - CSc 8 - Summer /20/208 Sacramento State - Cook - CSc 8 - Summer
6 The Paragraph Tag Example The paragraph tag is very common in modern HTML It denotes the start and end of a paragraph <p> </p> <p>hello World!</p> <p>this is a test</p> 6/20/208 Sacramento State - Cook - CSc 8 - Summer /20/208 Sacramento State - Cook - CSc 8 - Summer The Bold Tag The Italics Tag This tag is used to denote text that will be displayed in bold Very useful for making text "stand out" The tag must be ended This tag is used to denote text that will be displayed in italics The tag must be ended <b> </b> <i> </i> 6/20/208 Sacramento State - Cook - CSc 8 - Summer /20/208 Sacramento State - Cook - CSc 8 - Summer The Underline Tag Basic Formatting Tags Summary This tag denotes text to be underlined Many browsers underline links so, only underline when it is necessary... or you'll confuse users The tag must be ended <u> </u> Tag <b> </b> <i> </i> <u> </u> Effect Bold Italics Underline 6/20/208 Sacramento State - Cook - CSc 8 - Summer /20/208 Sacramento State - Cook - CSc 8 - Summer
7 Example Example Output <i>italics</i><br/> <b>bold</b><br/> <u>underlined</u><br/> Italics Bold Underlined <i> </i> <b> </b> <u> </u> 6/20/208 Sacramento State - Cook - CSc 8 - Summer /20/208 Sacramento State - Cook - CSc 8 - Summer Example Example Output <i><b>csc 8</b></i> <br/> <b><i>csc 8</i></b> CSc 8 CSc 8 The same 6/20/208 Sacramento State - Cook - CSc 8 - Summer /20/208 Sacramento State - Cook - CSc 8 - Summer The <CENTER> Tag Tag Attributes The center tag denotes text that will be centered on the screen. The tag must be ended Adds additional information to tags most tags have lots of attributes too many to cover in class! Notation attribute is placed between the tag's name and ending ">" very similar to a programming assignment statement <center> </center> <tag attribute = value> 6/20/208 Sacramento State - Cook - CSc 8 - Summer /20/208 Sacramento State - Cook - CSc 8 - Summer
8 The <FONT> Tag <FONT> Example The font tag lets you change: the font color the font face (name) the font size Attributes are used in each case <font> </font> <font color = "red"> This text is red! </font> 6/20/208 Sacramento State - Cook - CSc 8 - Summer /20/208 Sacramento State - Cook - CSc 8 - Summer <FONT> Example Output Header Tags This text is red! Tag <h> </h> <h2> </h2> <h3> </h3> <h4> </h4> Effect Main heading 2 nd heading 3 rd heading 4 th heading 6/20/208 Sacramento State - Cook - CSc 8 - Summer /20/208 Sacramento State - Cook - CSc 8 - Summer Header Tag Example Header Tag Example Output <h>universities</h> <h2>united States</h2> <h3>california</h3> <h4>sacramento State</h4> Universities United States California Sacramento State 6/20/208 Sacramento State - Cook - CSc 8 - Summer /20/208 Sacramento State - Cook - CSc 8 - Summer
9 Basic Structure of a Webpage Page Structure HyperText Markup Language All pages contain an <html> tag the first tag must be <html> the last tag must be </html> Between these two tags, you define the webpage's header the webpage's body 6/20/208 Sacramento State - Cook - CSc 8 - Summer Basic Structure of a Webpage Main Webpage Structure Tags Header tells the title of the page contains scripts, style sheets and other add-ins its optional, but good to define Body visible content of the page this is the vast majority of the HTML Tag <html> </html> <head> </head> <title> </title> <body> </body> Section Main tag Header Page Title Page Body 6/20/208 Sacramento State - Cook - CSc 8 - Summer /20/208 Sacramento State - Cook - CSc 8 - Summer <html> <head> <title>hello Class!</title> </head> <body> <h>hello World!</h> </body> </html> Resulting Page Title Body 6/20/208 Sacramento State - Cook - CSc 8 - Summer /20/208 Sacramento State - Cook - CSc 8 - Summer
10 Image Overview Adding Images HyperText Markup Language All images are linked from the webpage Only a few types of images are supported You must use these types on your website 6/20/208 Sacramento State - Cook - CSc 8 - Summer Supported Image Files The <IMG> Tag Extension.jpg What is it? Photograph Inserts an image into a webpage The src attribute is used to link the source image This tag has no ending tag.gif.png Graphic Interchange File Portable Network Graphic <img src = "link"/> 6/20/208 Sacramento State - Cook - CSc 8 - Summer /20/208 Sacramento State - Cook - CSc 8 - Summer <IMG> Example <IMG> Example Output <img src="cat.jpg"/> 6/20/208 Sacramento State - Cook - CSc 8 - Summer /20/208 Sacramento State - Cook - CSc 8 - Summer
11 <IMG> Example 2 <IMG> Example 2 Output <center> <img src="cat.jpg"/><br/> Fraternity of Mu Mu Mu </center> Fraternity of Mu Mu Mu 6/20/208 Sacramento State - Cook - CSc 8 - Summer /20/208 Sacramento State - Cook - CSc 8 - Summer Some Advanced <IMG> Attributes Some Advanced <IMG> Attributes Width and Height allows you to increase the size of the image either by percentage or pixel size Alt stands for "alternate" used for mouse-over text Align allows the image to "float" on the page quite easy to use possible values: right, left Border allows you to add a solid border looks good on photos 6/20/208 Sacramento State - Cook - CSc 8 - Summer /20/208 Sacramento State - Cook - CSc 8 - Summer <IMG> Example 3 <IMG> Example 3 Output <center> <img src="cat.jpg" width="00%"/> <img src="cat.jpg" width="200%"/> </center> 6/20/208 Sacramento State - Cook - CSc 8 - Summer /20/208 Sacramento State - Cook - CSc 8 - Summer
12 <html> <head> <title>adorable Cat</title> </head> <body> <center> <img src="cat.jpg"/><br/> <i><b>the Adorable Cat</b></i> </center> </body> </html> Adding Lists HyperText Markup Language List Tags <UL> Example Tag <ol> </ol> <ul> </ul> <li> </li> Effect Ordered List Unordered List List Item <ul> <li>peter</li> <li>quagmire</li> <li>joe</li> <li>cleveland</li> </ul> 6/20/208 Sacramento State - Cook - CSc 8 - Summer /20/208 Sacramento State - Cook - CSc 8 - Summer <UL> Example Output <OL> Example Peter Quagmire Joe Cleveland <ol> <li>tappa Kegga Bru</li> <li>kuppa Kappa Chino</li> <li>getta Loda Yu</li> </ol> 6/20/208 Sacramento State - Cook - CSc 8 - Summer /20/208 Sacramento State - Cook - CSc 8 - Summer
13 <OL> Example Output. Tappa Kegga Bru 2. Kuppa Kappa Chino 3. Getta Loda Yu HTML Tables HyperText Markup Language 6/20/208 Sacramento State - Cook - CSc 8 - Summer Building HTML Tables Table Tags Tag Meaning Tables allow you to organize data into rows and columns Many websites use tables for visual effects <table> </table> <tr> </tr> <td> </td> Start / End Table Row Table Cell 6/20/208 Sacramento State - Cook - CSc 8 - Summer /20/208 Sacramento State - Cook - CSc 8 - Summer <TABLE> Example <TABLE> Example 2 <table> <tr> <td>computer</td> <td>generation</td> </tr> </table> <table width=80% bgcolor="lightblue"> <tr> <td>name</td> <td>major</td> </tr> <tr> <td>joe Gunchy</td> <td>csc</td> </tr> </table> Row Row 2 6/20/208 Sacramento State - Cook - CSc 8 - Summer /20/208 Sacramento State - Cook - CSc 8 - Summer
14 <TABLE> Example 2 Output Name Joe Gunchy Major CSc Website Links HyperText Markup Language 6/20/208 Sacramento State - Cook - CSc 8 - Summer Link to New Page Types of <A> Links Links to pages use the <A> tag "A" stands for anchor yes, it doesn't make much sense The href attribute contains the hypertext reference links to another website or webpage External links links to pages outside of the website typically start with Internal links links to other pages on the same site tend to simply contain the name of the file 6/20/208 Sacramento State - Cook - CSc 8 - Summer /20/208 Sacramento State - Cook - CSc 8 - Summer Types of <A> Links Internal Link Example Bookmark links jumps to a location within same page The URL contains a # sign Also called intrapage links links Opens an application Starts with mailto: and then the address <a href = "resume.htm"> My Resume </a> 6/20/208 Sacramento State - Cook - CSc 8 - Summer /20/208 Sacramento State - Cook - CSc 8 - Summer
15 Internal Link Example Output External Link Example My Resume This is a link: <a href=" CSUS </a> HTTP 6/20/208 Sacramento State - Cook - CSc 8 - Summer /20/208 Sacramento State - Cook - CSc 8 - Summer External Link Example Output Link Example This is a link: CSUS Questions? Please <a href="mailto:dcook@csus.edu"> </a> mailto: me. 6/20/208 Sacramento State - Cook - CSc 8 - Summer /20/208 Sacramento State - Cook - CSc 8 - Summer Link Example Output Questions? Please me. Cascading Style Sheets Looking professional and avoid headaches 6/20/208 Sacramento State - Cook - CSc 8 - Summer
16 Cascading Style Sheets Why was it created? Cascading Style Sheets were created in 996 with HTML 4 Goal was to make it easier to create and maintain webpages It is a great success and it used by every professional website HTML has very few formatting tags Those tags with formatting have an inconsistent attributes If a website is updated, the author has to update, manually, each page So, HTML 3 made it difficult to maintain website styles difficult to update the appears of an entire site 6/20/208 Sacramento State - Cook - CSc 8 - Summer /20/208 Sacramento State - Cook - CSc 8 - Summer CSS features Some Features (applies to all tags). Treats all tags as objects where the style of each uses an uniform properties 2. Users can create their own abstract styles 3. Styles can be incorporated number of different ways Control colors backgrounds can be used to highlight foreground border Set font size and face to anything Precise positioning of objects and much, much more 6/20/208 Sacramento State - Cook - CSc 8 - Summer /20/208 Sacramento State - Cook - CSc 8 - Summer The Box Model What is the Box Model? Each tag is treated as "box" where, graphically, each has the same format This applies from everything from <b> to <table> to <h> So, CSS has basic attributes that can be applied to any tag The CSS "box" essentially wraps around tags It consists of: margin border padding and the actual content. 6/20/208 Sacramento State - Cook - CSc 8 - Summer /20/208 Sacramento State - Cook - CSc 8 - Summer
17 The Box Model Margin The margin is the spacing outside the border This can be merged with the margin of other objects (above, left, right, below) So, it defines how much space it should have from other objects 6/20/208 Sacramento State - Cook - CSc 8 - Summer /20/208 Sacramento State - Cook - CSc 8 - Summer Border Padding The border is the graphical bounding rectangle for the object It can have any width (in pixels) as needed There are several line formats available solid dashed etc HTML 5 allows for rounded borders The padding is the spacing inside the border and the objects content Since it never "touches" other objects, it will never be merged Generally, this is set for anything inside a visual border 6/20/208 Sacramento State - Cook - CSc 8 - Summer /20/208 Sacramento State - Cook - CSc 8 - Summer CSS and colors Taste the rainbow CSS & Color CSS offers flexibility when specifying a color This is uniformly used for all "boxes" Multiply ways of specifying a color are available 6/20/208 Sacramento State - Cook - CSc 8 - Summer
18 Bitmap Basics A Close Look at Pixels Bitmap graphic also known as a raster graphic most common class of graphic Made of little dots called pixels these are arranged in a grid color of each pixel is a binary number "pixel" comes from "picture element" 6/20/208 Sacramento State - Cook - CSc 8 - Summer /20/208 Sacramento State - Cook - CSc 8 - Summer How Colors Are Represented Red-Green-Blue Values Colors are represented using Red-Green-Blue levels Hue-Saturation-Intensity Stored as a binary number as the actual RGB value or... a color code - palette index Image /20/208 Sacramento State - Cook - CSc 8 - Summer /20/208 Sacramento State - Cook - CSc 8 - Summer Ways to specify a color Ways to specify a color Hexadecimal value most commonly used format values start with # and are followed by a hexadecimal value e.g. red is #FF0000 Decimal value same as hex except values are written decimal e.g. red is RGB(255,0,0) Pre-defined name CSS defines a considerable list of built-in names you should refer to the Internet for a full table 6/20/208 Sacramento State - Cook - CSc 8 - Summer /20/208 Sacramento State - Cook - CSc 8 - Summer
19 CSS Syntax CSS Syntax Everything has a structure The syntax of Cascading Style Sheets is fairly easy It takes little time to master which is an advantage to authoring websites Inspired by the C Programming Language 6/20/208 Sacramento State - Cook - CSc 8 - Summer CSS Syntax - Selector CSS Syntax Declaration List Each style starts with a selector This can be one of the classic tags i.e. <body>, <table> Periods are used to show how each style relates to containing object (we will cover these later) After the selector, different declarations are listed They are listed between two curly brackets This is similar to how blocks are written in the C Programming Language family 6/20/208 Sacramento State - Cook - CSc 8 - Summer 208 6/20/208 Sacramento State - Cook - CSc 8 - Summer CSS Syntax - Declarations CSS Syntax Each declarations lists an attribute and its value(s) A colon separates the attribute and the value(s) Whitespace is ignored so you don't have to use a new-line The selector can be an identifier, or single HTML element (body, div, etc) Multiple selectors are allowed, delimited by commas selector(s) { property: value; } 6/20/208 Sacramento State - Cook - CSc 8 - Summer /20/208 Sacramento State - Cook - CSc 8 - Summer
20 CSS Units Selectors on one line CSS supports a number of different sizing units Some popular units % percent em relative the current element px pixels pt points in inch cm centimeters body { background-color: black; } a { color: yellow; } 6/20/208 Sacramento State - Cook - CSc 8 - Summer /20/208 Sacramento State - Cook - CSc 8 - Summer Selectors using multiple lines Alternative curly bracket format body { background-color: black; } body { background-color: black; } a { color: yellow; } a { } color: yellow; 6/20/208 Sacramento State - Cook - CSc 8 - Summer /20/208 Sacramento State - Cook - CSc 8 - Summer Example using h Example using h In the example below, the H tag has its style changed for its background and border This will affect all H tags The "color" attribute sets the text color The "font-size" attribute sets the size h {color: blue, font-size: 36pt} h {color: blue, font-size: 36pt} 6/20/208 Sacramento State - Cook - CSc 8 - Summer /20/208 Sacramento State - Cook - CSc 8 - Summer
21 h Example h no styles <h>universities</h> <h2>california</h2> <h3>sacramento State</h3> Universities California Sacramento State 6/20/208 Sacramento State - Cook - CSc 8 - Summer /20/208 Sacramento State - Cook - CSc 8 - Summer h using the style Grouping Elements Universities California Sacramento State If you want several selectors to have the same style, you can list their names before the curly bracket This is not necessary but it does cut down on code 6/20/208 Sacramento State - Cook - CSc 8 - Summer /20/208 Sacramento State - Cook - CSc 8 - Summer Grouping Elements The follow declaration assigns the font-family (the "font face in old HTML" to Arial This can same time buy reducing code CSS Box Declarations h, h2, h3, h4, h5, h6 { font-family: "Arial"; } The universal attributes 6/20/208 Sacramento State - Cook - CSc 8 - Summer
22 CSS Box Declarations Box Margin Declarations Every object is a "box" So, there a number of attributes that can be applied to each margin-bottom margin-left margin-right margin-top margin (shorthand notation) 6/20/208 Sacramento State - Cook - CSc 8 - Summer /20/208 Sacramento State - Cook - CSc 8 - Summer Box Border Declarations Box Padding Declarations border-style border-color border-width border (shorthand notation) padding-bottom padding-left padding-right padding-top padding (shorthand notation) 6/20/208 Sacramento State - Cook - CSc 8 - Summer /20/208 Sacramento State - Cook - CSc 8 - Summer Box Background Declarations Box Size and Position background-color background-image background-position background-repeat height commonly used width commonly used top left right bottom 6/20/208 Sacramento State - Cook - CSc 8 - Summer /20/208 Sacramento State - Cook - CSc 8 - Summer
23 CSS Text Attributes CSS Text Declarations CSS has special declarations that apply to text Not all boxes have text (e.g. images) But, practically all do Making text look readable 6/20/208 Sacramento State - Cook - CSc 8 - Summer Text Font Declarations Text Appearance Declarations font-family font-weight font-style font-size text-indent text-align text-decoration text-transform 6/20/208 Sacramento State - Cook - CSc 8 - Summer /20/208 Sacramento State - Cook - CSc 8 - Summer Text Sentence Declarations letter-spacing word-spacing white-space Using CSS How to add it your document 6/20/208 Sacramento State - Cook - CSc 8 - Summer
24 Using CSS Inline Styles There are three different ways to incorporate CSS into an HTML document Each suites a special need inline internal external All 3 can be used Uses the "style" attribute of a HTML tag The value of the "style" attribute contains declarations (no name or curly brackets) Only applies to that single instance of a HTML element 6/20/208 Sacramento State - Cook - CSc 8 - Summer /20/208 Sacramento State - Cook - CSc 8 - Summer Example Inline Selector Example Inline Selector The following example uses the style attribute on the <h> tag It contains a CSS declaration to set the background color to blue The background of the "box" is displayed in blue The font and color the text can also be overriden <hl style="background-color:blue"> Style Sheets are incredible </h> 6/20/208 Sacramento State - Cook - CSc 8 - Summer /20/208 Sacramento State - Cook - CSc 8 - Summer Internal Styles Internal Styles A complete style definition is included inside the document Applies to a single document Tags use the selector (style name) using the "class" attribute Stored in the in the head section between the <style> and </style> Sometimes included in a comment for those ancient browsers <style type="text/css">... </style> 6/20/208 Sacramento State - Cook - CSc 8 - Summer /20/208 Sacramento State - Cook - CSc 8 - Summer
25 Example Internal Style External Styles <style type="text/css"> h { Applies to all h tags } background-color: blue; </style> Similar to the internal approach except it saved to an external.css file A single file can style an entire web site There is no <style> </style> tags in the file 6/20/208 Sacramento State - Cook - CSc 8 - Summer /20/208 Sacramento State - Cook - CSc 8 - Summer External Styles When to use External CSS Webpage links to file using the <link> tag It is stored in the document's head <link rel="stylesheet" href="file.css"/> External CSS is ideal if styles need to be applied to multiple pages The styles in a single file can update the appearance of a entire website! Style sheet link can be changed to customize an appearance e.g. the "themes" in g-mail 6/20/208 Sacramento State - Cook - CSc 8 - Summer /20/208 Sacramento State - Cook - CSc 8 - Summer Comments CSS Comments Write about your CSS you might need it In computer science, a comment is text put into a document that does not affect the content They are designed for the read of the document to understand the content 6/20/208 Sacramento State - Cook - CSc 8 - Summer
26 CSS Comments Example They are vital to maintaining any complex program A CSS comment starts with "/*" and end with "*/" NOTE: CSS comments are different from HTML comments The comment below tells the reader that the h font-size must be larger h2 You will appreciate these more later /* Keep the font larger than h2 */ h {color: blue, font-size: 36pt} 6/20/208 Sacramento State - Cook - CSc 8 - Summer /20/208 Sacramento State - Cook - CSc 8 - Summer The Cascade CSS The Cascade Onions have layers Ogre's have layers CSS has layers The "cascade" feature gives CSS its flexibility It is a combination styles that are conceptionally layered on top of each other Each higher level can override the style "below" it 6/20/208 Sacramento State - Cook - CSc 8 - Summer The Cascade Inheritance Each layer has a priority Styles with higher priorities override lower priorities Priorities (from low to high). browser s default styles 2. external 3. embedded 4. inline Styles inherits from parent styles (lower priority) This reduces the amount of declarations needed and makes it easy to modify layers How it works: if a property (any property) of a selector is not declared, the browser will look at the parent if it not found, it will look at that style's parent so, it bubbles down to the default style 6/20/208 Sacramento State - Cook - CSc 8 - Summer /20/208 Sacramento State - Cook - CSc 8 - Summer
27 User Styles Oh, yes you can! User Styles There is an inherit problem with overriding tag styles Often, you want to use the same tag, but with different styles e.g. tables, text, etc 6/20/208 Sacramento State - Cook - CSc 8 - Summer User Styles User Styles CSS allows custom styles that are not linked to any tag These are called "classes" Different tags can use the same style and tags (of the same type) can use different styles User-defined styles start with a period This prevents them from being interpreted as tags You can use them however you want in your document 6/20/208 Sacramento State - Cook - CSc 8 - Summer /20/208 Sacramento State - Cook - CSc 8 - Summer The Class Selector Using Custom Styles Period.intro { } font: 6px arial, sans-serif; margin: 0px; In HTML 4, each tag now has and attribute to specify the name of the class it will use Assign this attribute to custom style you want without the period 6/20/208 Sacramento State - Cook - CSc 8 - Summer /20/208 Sacramento State - Cook - CSc 8 - Summer
28 Note the Difference! The Class Selector "style" attribute allows you to use inline style declarations e.g. "color: white;" "class" defines the name of a style there are no declarations No Period <p class="intro"> The Three Forbidden Curses </p> 6/20/208 Sacramento State - Cook - CSc 8 - Summer /20/208 Sacramento State - Cook - CSc 8 - Summer Recommendations Use classes rather than redefining tags it makes your site more manageable If you have multiple pages, use an external.css file Use indentation on your HTML 6/20/208 Sacramento State - Cook - CSc 8 - Summer
HTTP & Websites. Web Browsers. Web Servers vs. Web sites. World Wide Web. Internet Explorer. Surfing the World Wide Web. Part 4. The World Wide Web
HTTP & Websites Web Browsers Part 4 Surfing the World Wide Web World Wide Web Web Servers vs. Web sites The World Wide Web massive collection of websites on the Internet they link to each other and form
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 informationAssignments (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 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 informationAppendix 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 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 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 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 information3.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
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 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 informationReading 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<body bgcolor=" " fgcolor=" " link=" " vlink=" " alink=" "> These body attributes have now been deprecated, and should not be used in XHTML.
CSS Formatting Background When HTML became popular among users who were not scientists, the limited formatting offered by the built-in tags was not enough for users who wanted a more artistic layout. Netscape,
More informationHTML/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 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 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 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 informationCascading 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- The CSS1 specification was developed in CSSs provide the means to control and change presentation of HTML documents
3.1 Introduction - The CSS1 specification was developed in 1996 - CSS2 was released in 1998 - CSS3 is on its way - CSSs provide the means to control and change presentation of HTML documents - CSS is not
More informationCSC 121 Computers and Scientific Thinking
CSC 121 Computers and Scientific Thinking Fall 2005 HTML and Web Pages 1 HTML & Web Pages recall: a Web page is a text document that contains additional formatting information in the HyperText Markup Language
More information3.1 Introduction. 3.2 Levels of Style Sheets. - HTML is primarily concerned with content, rather than style. - There are three levels of style sheets
3.1 Introduction - HTML is primarily concerned with content, rather than style - However, tags have presentation properties, for which browsers have default values - The CSS1 cascading style sheet specification
More informationICT 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 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 informationHTML and CSS: An Introduction
JMC 305 Roschke spring14 1. 2. 3. 4. 5. The Walter Cronkite School... HTML and CSS: An Introduction
More information- HTML is primarily concerned with content, rather than style. - However, tags have presentation properties, for which browsers have default values
3.1 Introduction - HTML is primarily concerned with content, rather than style - However, tags have presentation properties, for which browsers have default values - The CSS1 cascading style sheet specification
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 informationCOSC 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 informationSession 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 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 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 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 informationIntroduction 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 informationThe 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 information7300 Warden Avenue, Suite 503 Markham, Ontario Canada L3R 9Z6. Phone: Toll Free: Fax:
HTML and CSS 7300 Warden Avenue, Suite 503 Markham, Ontario Canada L3R 9Z6 Phone: 905-479-3780 Toll Free: 877-479-3780 Fax: 905-479-1047 e-mail: info@andarsoftware.com Web: www.andarsoftware.com.com Copyright
More informationWanted! Introduction. Step 1: Styling your poster. Activity Checklist. In this project, you ll learn how to make your own poster.
Wanted! Introduction In this project, you ll learn how to make your own poster. Step 1: Styling your poster Let s start by editing the CSS code for the poster. Activity Checklist Open this trinket: jumpto.cc/web-wanted.
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 information8/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 information2. Write style rules for how you d like certain elements to look.
CSS for presentation Cascading Style Sheet Orientation CSS Cascading Style Sheet is a language that allows the user to change the appearance or presentation of elements on the page: the size, style, and
More informationHTML TUTORIAL ONE. Understanding What XHTML is Not
HTML TUTORIAL ONE Defining Blended HTML, XHTML and CSS HTML: o Language used to create Web pages o Create code to describe structure of a Web page XHTM: o Variation of HTML o More strictly defines how
More informationThe building block of a CSS stylesheet. A rule consists of a selector and a declaration block (one or more declarations).
WDI Fundamentals Unit 4 CSS Cheat Sheet Rule The building block of a CSS stylesheet. A rule consists of a selector and a declaration block (one or more declarations). Declaration A declaration is made
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 informationIntroduction 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 informationADDING CSS TO YOUR HTML DOCUMENT. A FEW CSS VALUES (colour, size and the box model)
INTRO TO CSS RECAP HTML WHAT IS CSS ADDING CSS TO YOUR HTML DOCUMENT CSS IN THE DIRECTORY TREE CSS RULES A FEW CSS VALUES (colour, size and the box model) CSS SELECTORS SPECIFICITY WEEK 1 HTML In Week
More informationrecall: a Web page is a text document that contains additional formatting information in the HyperText Markup Language (HTML)
HTML & Web Pages recall: a Web page is a text document that contains additional formatting information in the HyperText Markup Language (HTML) HTML specifies formatting within a page using tags in its
More informationUsing CSS in Web Site Design
Question 1: What are some of the main CSS commands I should memorize? Answer 1: The most important part of understanding the CSS language is learning the basic structure and syntax so you can use the language
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 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 informationIntroduction to Web Tech and Programming
Introduction to Web Tech and Programming Cascading Style Sheets Designed to facilitate separation of content and presentation from a document Allows easy modification of style for an entire page or an
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 informationHTML/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 informationICT 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 informationCSS. 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 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 informationCOMP519 Web Programming Lecture 6: Cascading Style Sheets: Part 2 Handouts
COMP519 Web Programming Lecture 6: Cascading Style Sheets: Part 2 Handouts Ullrich Hustadt Department of Computer Science School of Electrical Engineering, Electronics, and Computer Science University
More informationCSS: 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 informationCSS مفاهیم ساختار و اصول استفاده و به کارگیری
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 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 informationCMPT 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 informationCREATING A WEBSITE USING CSS. Mrs. Procopio CTEC6 MYP1
CREATING A WEBSITE USING CSS Mrs. Procopio CTEC6 MYP1 HTML VS. CSS HTML Hypertext Markup Language CSS Cascading Style Sheet HTML VS. CSS HTML is used to define the structure and content of a webpage. CSS
More informationIntroduction to Cascading Style Sheet (CSS)
Introduction to Cascading Style Sheet (CSS) Digital Media Center 129 Herring Hall http://dmc.rice.edu/ dmc-info@rice.edu (713) 348-3635 Introduction to Cascading Style Sheets 1. Overview Cascading Style
More informationINFORMATICA GENERALE 2014/2015 LINGUAGGI DI MARKUP CSS
INFORMATICA GENERALE 2014/2015 LINGUAGGI DI MARKUP CSS cristina gena dipartimento di informatica cgena@di.unito.it http://www.di.unito.it/~cgena/ materiale e info sul corso http://www.di.unito.it/~cgena/teaching.html
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 informationCSS. Lecture 16 COMPSCI 111/111G SS 2018
CSS Lecture 16 COMPSCI 111/111G SS 2018 No CSS Styles A style changes the way the HTML code is displayed Same page displayed using different styles http://csszengarden.com Same page with a style sheet
More informationSession 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 informationCSS 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 informationIntroduction to HTML. SSE 3200 Web-based Services. Michigan Technological University Nilufer Onder
Introduction to HTML SSE 3200 Web-based Services Michigan Technological University Nilufer Onder What is HTML? Acronym for: HyperText Markup Language HyperText refers to text that can initiate jumps to
More information8a. Cascading Style Sheet
INFS 2150 Introduction to Web Development 8a. Cascading Style Sheet 1 Objectives Concepts of cascading style sheets (CSS). 3 ways of using CSS: inline styles, embedded styles, and external style sheet.
More informationTo 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 informationCreating Web Pages with SeaMonkey Composer
1 of 26 6/13/2011 11:26 PM Creating Web Pages with SeaMonkey Composer SeaMonkey Composer lets you create your own web pages and publish them on the web. You don't have to know HTML to use Composer; it
More informationBIM222 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 informationCSS 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 informationIn the early days of the Web, designers just had the original 91 HTML tags to work with.
Web Design Lesson 4 Cascading Style Sheets In the early days of the Web, designers just had the original 91 HTML tags to work with. Using HTML, they could make headings, paragraphs, and basic text formatting,
More informationMarkup Language SGML: Standard Generalized Markup Language. HyperText Markup Language (HTML) extensible Markup Language (XML) TeX LaTeX
HTML 1 Markup Languages A Markup Language is a computer language in which data and instructions describing the structure and formatting of the data are embedded in the same file. The term derives from
More informationA Balanced Introduction to Computer Science, 3/E
A Balanced Introduction to Computer Science, 3/E David Reed, Creighton University 2011 Pearson Prentice Hall ISBN 978-0-13-216675-1 Chapter 2 HTML and Web Pages 1 HTML & Web Pages recall: a Web page is
More informationCSS Lecture 16 COMPSCI 111/111G SS 2018
No CSS CSS Lecture 16 COMPSCI 111/111G SS 2018 Styles Astyle changes the way the HTML code is displayed Same page displayed using different styles Same page with a style sheet body font-family: sans-serif;
More informationLesson 1 HTML Basics. The Creative Computer Lab. creativecomputerlab.com
Lesson 1 HTML Basics The Creative Computer Lab creativecomputerlab.com What we are going to do today Become familiar with web development tools Build our own web page from scratch! Learn where to find
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 informationCSE 3. Marking Up with HTML. Comics Updates Shortcut(s)/Tip(s) of the Day Google Earth/Google Maps ssh Anti-Spyware
CSE 3 Comics Updates Shortcut(s)/Tip(s) of the Day Google Earth/Google Maps ssh Anti-Spyware 1-1 4-1 Chapter 4: Marking Up With HTML: A Hypertext Markup Language Primer Fluency with Information Technology
More 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 informationComp-206 : Introduction to Software Systems Lecture 23. Alexandre Denault Computer Science McGill University Fall 2006
HTML, CSS Comp-206 : Introduction to Software Systems Lecture 23 Alexandre Denault Computer Science McGill University Fall 2006 Course Evaluation - Mercury 22 / 53 41.5% Assignment 3 Artistic Bonus There
More informationThree Ways to Use CSS:
Introduction to CSS CSS Defined: Short for "Cascading Style Sheets". Determines how the elements in our XHTML documents are displayed and formatted. Designed to separate the content of a web page from
More informationFundamentals of Website Development
Fundamentals of Website Development CSC 2320, Fall 2015 The Department of Computer Science Chapter 4: Creating a Simple Page An introduction to (X)HTML elements and attributes A step-by-step demo for simple
More informationCSS worksheet. JMC 105 Drake University
CSS worksheet JMC 105 Drake University 1. Download the css-site.zip file from the class blog and expand the files. You ll notice that you have an images folder with three images inside and an index.html
More informationWeb Development & Design Foundations with HTML5
Web Development & Design Foundations with HTML5 KEY CONCEPTS Copyright Terry Felke-Morris 1 Learning Outcomes In this chapter, you will learn how to... Describe the evolution of style sheets from print
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 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 informationCS 1100: Web Development: Client Side Coding / Fall 2016 Lab 2: More HTML and CSS
Goals CS 1100: Web Development: Client Side Coding / Fall 2016 Lab 2: More HTML and CSS Practice writing HTML Add links and images to your web pages Apply basic styles to your HTML This lab is based on
More informationWeb Development & Design Foundations with HTML5
1 Web Development & Design Foundations with HTML5 CHAPTER 3 CSS BASICS Copyright Terry Felke-Morris 2 Learning Outcomes In this chapter, you will learn how to... Describe the evolution of style sheets
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 informationAdding 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 informationHTML + 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 informationWEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5
WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 Chapter 3 Key Concepts 1 LEARNING OUTCOMES In this chapter, you will learn how to... Describe the evolution of style sheets from print media to the Web List
More informationIntroduction to Web Design CSS Reference
Inline Style Syntax: Introduction to Web Design CSS Reference Example: text Internal Style Sheet Syntax: selector {property: value; Example:
More informationNEW 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 informationIntroduction to Web Design CSS Reference
Inline Style Syntax: Introduction to Web Design CSS Reference Example: text Internal Style Sheet Syntax: selector {property: value; Example:
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 informationHTML. Mohammed Alhessi M.Sc. Geomatics Engineering. Internet GIS Technologies كلية اآلداب - قسم الجغرافيا نظم المعلومات الجغرافية
HTML Mohammed Alhessi M.Sc. Geomatics Engineering Wednesday, February 18, 2015 Eng. Mohammed Alhessi 1 W3Schools Main Reference: http://www.w3schools.com/ 2 What is HTML? HTML is a markup language for
More informationControlling Appearance the Old Way
Webpages and Websites CSS Controlling Appearance the Old Way Older webpages use predefined tags - - italic text; - bold text attributes - Tables (and a few other elements) use specialized
More informationDREAMWEAVER QUICK START TABLE OF CONTENT
DREAMWEAVER QUICK START TABLE OF CONTENT Web Design Review 2 Understanding the World Wide Web... 2 Web Browsers... 2 How Browsers Display Web pages... 3 The Web Process at Sacramento State... 4 Web Server
More information