CSS (Cascading Style Sheets): An Overview

Size: px
Start display at page:

Download "CSS (Cascading Style Sheets): An Overview"

Transcription

1 CSS (Cascading Style Sheets): An Overview CSS (Cascading Style Sheets) is a language used to describe the appearance and formatting of your HTML. It allows designers and users to create style sheets that define how different elements, such as headers and links, appear on a Web page. These style sheets can then be applied to any Web page. Style Sheet is a file that describes how an HTML file should look. These style sheets are cascading because multiple style sheets can be applied to the same Web page. Syntax The spelling and grammar rules of a programming language. Each program defines its own syntactical rules that control which words the computer understands, which combinations of words are meaningful, and what punctuation is necessary to be a correctly structured document. CSS Syntax (rules) CSS syntax is different from the HTML syntax you're used to. The general format looks like this: selector { property: value; } <style selector (element to be changed) {property (what s being changed): value (what property is being changed to);} A selector specifies which HTML elements to style. A selector can be any HTML element, such as <p>, <img>, or <table>. You just take off the <>s tags! Inside the braces { }, a property and its value define what aspect of the elements to style. A property is an aspect of a selector. For instance, you can change the font-family, color, and font-size of the text on your web pages (in addition to many more). A value is a possible setting for a property. Color can be red, blue, black, or almost any color; font-family can be several different fonts; and so on. You need to end each property-value with a semi-colon (;). That's how CSS knows you're done with one pair and ready for the next. h1 { color: red;} 1

2 There are two main reasons for separating your form/formatting (CSS) from your functional content/structure (HTML): 1. You can apply the same formatting to several HTML elements without rewriting code (e.g. style="color: red") over and over 2. You can apply similar appearance and formatting to several HTML pages from a single CSS file. p { font-size: 100px;} span { font-family: cursive;} Put your CSS code between <style></style> tags, right in the same file as your HTML or as a separate CSS file. These <style> tags go inside the <head></head> of your webpage: <!doctype html> <html> <head> <title> Home Page </title> <style type="text/css"> </style> </head> tells web browser you are using CSS code Another cool advantage of CSS is that you can set many properties for one selector. <head> <title> My Second Page </title> <style type="text/css"> img {max-height: 200px; max-width: 200px;} </style> </head> 2

3 It s important to remember to put a semicolon (;) at the end of each line. The semicolon tells CSS that one property-value pair is over and it's time to move on to the next one. Don t forget: all property-value pairs for a selector are surrounded by curly braces ({}). end each property-value pair with a semicolon! Comments It s also a good idea to write comments as you go along. Good comments will help remind you why you did something a certain way (or will help someone else out if they're reading your code without you there to explain it). CSS comments look like this (works only for a separate CSS file): /*I'm a comment!*/ img {max-height: 200px; max-width: 200px;} /*sizes pictures in table*/ Remember: the computer doesn't look at comments when figuring out what your HTML and CSS should do, but writing good comments is a good habit you want to pick up! Max Width and Height Specifies the size of an element, especially used for images. (Photos of products on web page) The images must be in the same folder as your html files are located (index.html, etc.). HTML code: <body> <img src="lighthouse.jpg" /> <img src="penguins.jpg" /> <img src="koala.jpg" /> <img src="desert.jpg" /> </body> CSS code: <style type="text/css"> img {max-height: 200px; max-width: 200px;} </style> resizes all pictures in the table 3

4 There is also min width and min height, but they are not used very much. Line Spacing Line spacing puts space between the lines. Element is line-height and a percentage. <style type="text/css"> p {color: #0F0FF5; line-height: 150%;} </style> Paragraph Indent Indents the paragraph. Syntax is text-indent: amount of pixels; p {color:#0f0ff5; line-height: 150%; text-indent: 50px;} Font Weight Determines the boldness of text. Syntax: font-weight: bold; <head> <title> My First Webpage </title> <style type="text/css"> ol {font-weight: bold;} </style> </head> Font Style Sets the font style of the text. Syntax: font-style: italic; <style type="text/css"> ol {font-weight: bold; font-style: italic;} 4

5 </style> Text Align Aligns text either right, center, left, or justified. Syntax is text-align: alignment; h1{text-align: center;} Text Color Sets the color of the text. Syntax is color: color; body { color: green} all text in body of Webpage will be the color green Hexadecimal Values CSS understands millions of colors in the form of hexadecimal values. Hexadecimal counting is base-16. Each digit can be the numbers 0 through 9 or the letters a through f! Hex values always start with a pound sign (#), are up to six "digits" long, and are caseinsensitive: that is, they don't care about capitalization. #FFC125 and #ffc125 are the same color. h1 { color: #8a2be2;} RGB Values Search Google for rgb values to get the values of the colors. RGB color system, constructs all the colors from the combination of the Red, Green and Blue colors. p { color: #0F0FF5;} Background Color Sets the color of the web page s background. Syntax is background-color: color; p {color:#0f0ff5; background-color: grey; line-height: 150%; text-indent: 50px;} 5

6 Background Images Code needs to be in the body tags. Images need to be in the same folder as the Index.html file. body {background-image: url(lighthouse.jpg);} sets the image as the background of the webpage Fonts CSS has some built-in default fonts meant to ensure your users see what you intend. They are: serif sans-serif, or cursive. h3 { font-family: cursive;} h1 { font-family: Times, serif;} h2 { font-family: Verdana, sans-serif;} h3 { font-family: Vivaldi, cursive;} Element Width and Height Width p { width: 350px;} Height p { height: 500px;} Link Styles Links are composed of what are called states. A State is when and how you press the link. Links have the following four states: 1. When the page is first visited (a:link) 2. When the link has been clicked (a:visited) 3. As you mouse over the link (a:hover) 4. As you are clicking the link (a:active) 6

7 a:link default state a = anchor a:link { color: black; text-decoration: none; } a:visited { color: purple;} a:hover { background-color: blue; color: red; text-decoration: underline; font-weight: bold;} a:active { background-color: orange;} what it normally looks like on the webpage underline or none when it has been clicked when you mouse over it underline or none when you are clicking the link Text Decoration Links have a lot of the same properties as regular text: you can change their font, color, size, and so on. But links also have a property, text-decoration, that you can change to give your links a little more custom flair. You're probably used to seeing links that are blue and underlined, right? Well, that's not the way it has to be! Either underline or none. a { color: #cc0000; text-decoration: none;} Table Styles To set various table properties. table{border: 3px solid blue;} sets the table border tr{background-color: yellow;} sets the background color of the table cells td{border: 2px dashed red; sets the table cell borders (table data/cell) height:50px;} 7

8 Multiple Element Styles To apply the same style to more than one element (header, paragraph, etc.) h1, p {color: red;} Span To apply a style to part of a tag element and not the entire tag. For example, we want to apply bold to just one word in a paragraph tag. Surround the part with the span tags: <span> </span> In HTML code: Add <span> before each heading in the paragraph about bald eagles. <span>diet</span> <span>population</span> <span>range</span> <span>behavior</span> <span>reproduction</span> <span>did You Know?</span> In the CSS code enter: span {font-weight: bold; color: green;} We can take much of the styling such as controlling font family, font color, and text alignment and put it in its own separate file. By doing that, we can use tags like <div> and <span> to impart style to our pages without writing style="color:green" every single time! Unordered List Styles To set various unordered list properties. ul{list-style-type: square;} ul{list-style-image:url(check.png);} ul(border: 1px solid red;} ul{list-style-type: none;} ul{padding:6px;} changes bullet to a square (circle, etc.) changes bullet to an image adds a border to the list removes bullets from list moves list without bullets to the left 8

9 HTML Elements Division One of the most versatile structure tags available to you is the <div> tag. Short for "division," <div> allows you to divide your page into containers (that is, different pieces). <div>s will allow you to create visual HTML objects like sidebars, menus, buttons and more. There are three properties you'll need to set values for: 1. background-color, which you set to a color or hex value 2. height, which you set to a value in pixels 3. width, which is also measured in pixels Surround the element in your HTML code with the tags: <div> HTML code: <div>this is the next section of my web page. CSS code: div { background-color: #cc0000; height: 100px; width: 100px;} border: 2px solid red; position: absolute;} Link You can make <div>s clickable by wrapping them in <a></a> tags. <a href="website address"><div></a> <a href=" style="width: 50px; height: 50px; background-color: yellow"></a> Buttons Create buttons with <div> tags. In the CSS code, add a div selector and add property: value pairs of: 1. height: 50px 2. width: 120px 3. border-color: #6495ED 4. background-color: #BCD2EE. 9

10 Your border-style can be any type (dashed, solid, and so on) and you can use any borderwidth you want. (We like 2px.) Shape This involves a new property called border-radius. This property modifies the corners of HTML objects; it's how you get those cool rounded buttons! Set your div's border-radius to 5px. div { height: 50px; width: 120px; border: 2px solid #6495ED; border-radius: 5px; background-color: #BCD2EE;} Position 1. margin: auto; is the CSS you use to tell the browser: "Hey! Make sure to set equal margins on each side of this HTML element." When the margins are equal, the object is centered. 2. text-align: center; is how you center text elements. Link Use <span></span> tags to create a different font color for "button text": <a href=" us on <span>facebook!</span></a> HTML Code <!DOCTYPE html> <html> <head> <link type="text/css" rel="stylesheet" href="stylesheet.css"/> <title>about Me</title> </head> <body> <img src=" <p>we're Codecademy! We're here to help you learn to code.</p><br/><br/> <div> <a href=" us on <span>facebook!</span></a> </body> </html> 10

11 CSS Code div { span { a { height: 50px; width: 120px; border: 2px solid #6495ED; border-radius: 5px; background-color: #BCD2EE; margin: auto; text-align: center;} color: green;} color: #cc0000; font-family: Comic Sans MS; text-decoration: none;} Forms Used to input data on a web page. Username, upload image, drop-down list, radio-button, selecting options, etc. Attributes: Type the kind of element in the form (textbox). Name what is it used for. Identifies it from other elements. Size the width of the element as it appears on the web page. For a textbox they can still enter in any number of character not matter the size of the textbox. Maxlength the maximum number of character that can be entered into a textbox. Value the text that will populate the textbox by default. Start code with the text that will be seen on the web page (Username, Male, Cheese,) Textbox Allows user to enter text in a box. HTML code: <body> 11

12 <form> First and Last Name: <input type= "text" name="username" size:"12" maxlength= "16" value="enter Name Here"/> </form> </body> Radio Button Allows user to select only one option. <body> <form> Male: <input type="radio" name="sex" value="male" /> Female: <input type="radio" name="sex" value="female" /> </form> </body> Check Box Allows user to select one or more options. <body> <form> <p>select the pizza you would like to order!</p> Cheese <input type="checkbox" name="pizza" value="cheese" /> Pepperoni <input type="checkbox" name="pizza" value="pepperoni" /> Sausage <input type="checkbox" name="pizza" value="sausage" /> Chicken <input type="checkbox" name="pizza" value="chicken" /> </form> </body> Drop-down Lists Allows user to select from a list of several options. The options are enclosed in the <select> tags and between the <option> tags. The drop-down list box will by default be the width of the widest option. <form> <p>what do you want to do today?</p> <select name="activities"> <option value="play">play the guitar</option> <option value="read">read a book</option> <option value="drive">go for a drive in the country</option> <option value="movie">go to a movie</option> 12

13 <option value="eat">go out to eat</option> </select> </form> Text Areas A larger text field than just a single line of text (for feedback, etc.). Attributes: Rows determines the height of the text field. Cols (columns) determines the width of the text field. <form> <p> Explain what you need help with: </p> <textarea name="help" rows="8" cols="40" /> </textarea> </form> Upload Button Used to upload a file. If you need to have multiple files uploaded, you have to put in multiple buttons. <form> <p>submit a file!</p> <input type="file" name="homework" /> </form> Password Action the filename where the data will be stored (usually a database). Method how the browser sends the data to the action (file). 1. Get 2. Post <form action="login" method="post"/> Username: <input type="text" name="username" /> Password: <input type="password" name="pword /> </form> Submit Form Button Creates a button to click to submit forms to the file that stores the information. Attributes: <form action="login" method="post"/> Username: <input type="text" name="username" /> Password: <input type="password" name="pword" /> 13

14 <br /> <input type="submit" value="submit!"> </form> Bootstrap Bootstrap is a collection of prewritten CSS rules used to build web pages faster. Bootstrap provides styles out of the box for several common components on a web page, such as grid layouts, navigation, showcases, and much more. To use Bootstrap in a web page, you need to link to it from index.html. In index.html inside the head element, link to " before you link to main.css. <head> <link rel="stylesheet" href=" <script src=" <script src=" > <link rel="stylesheet" href="main.css"> </head> Rounded corner image <body> <div class= container > <img src= Lighthouse.jpg class= img-rounded width= 200 height= 200 > <br/> <br/> Circle image <img src= Desert.jpg class= img-circle width= 200 height= 200 > <br/> <br/> </body> 14

15 Create a separate CSS file: File New File Save As main.css Code:.nav a {display: inline;} Navigation menus The navigation menus are made up of two ul elements. In each ul, the li elements display on new lines because they are block elements. To style the li elements so that they display on the same line use the display property. Tabs Tabs are a common navigation technique that give links to different parts of a site. Bootstrap makes it easy to create tabbed navigation. Regular ul element. To do so, make the class equal nav nav-tabs. <ul class="nav nav-tabs"> <li><a href="#">primary</a></li> <li class="active"><a href="#">social</a></li> <li><a href="#">promotions</a></li> <li><a href="#">updates</a></li> </ul> The open tab is specified by the class active. Change which tab is open by moving class="active" <ul class="nav nav-tabs"> <li><a href="#">primary</a></li> <li class="active ><a href="#">social</a></li> <li><a href="#">promotions</a></li> <li><a href="#">updates</a></li> </ul> <body> <div class="nav"> 15

16 <div class="container"> <ul class="nav nav-tabs"> or <ul class= nav nav-pills > <li class="active"><a href="second.html" title="go to Page 2">Page 2</a></li> <li><a href="login.html" title="go to Log In Page">Log In</a></li> <li><a href="feedback.html" title="go to Feedback Page">Feedback</a></li> <li><a href="help.html" title="go to Help Page">Help</a></li> <li><a title=" Mr. Wilhelmi">Contact</a></li> </ul> </body> Pills Pills are a set of buttons that give links to different parts of a site. Change the tab navigation to pill navigation, replace the class nav-tabs with nav-pills. Make the class equal nav navpills. <body> <div class="nav"> <div class="container"> <ul class="nav nav-pills"> <li class="active"><a href="second.html" title="go to Page 2">Page 2</a></li> <li><a href="login.html" title="go to Log In Page">Log In</a></li> <li><a href="feedback.html" title="go to Feedback Page">Feedback</a></li> <li><a href="help.html" title="go to Help Page">Help</a></li> <li><a href="mailto:terry.wilhelmi@k12.sd.us" title=" Mr. Wilhelmi">Contact</a></li> </ul> </body> Dropdown Menu in Navbar <!--Drop-down menu--> <li class= dropdown > right after above code 16

17 </ul> </body> </li> <a href= # class= dropdown-toggle datatoggle= dropdown >My Profile <span class= caret ></span></a> caret down arrow <ul class= dropdown-menu > <li><a href= popupwindow data-toggle= modal data-target= #popupwindow >Login</a></li> <li><a href= # >Logout</a></li> <li><a href= # >Settings</a></li> </ul> Login Modal Modal or dialog a pop-up window. right after drop-down menu code <div class="container"> <div class="modal fade" id="popupwindow"> <div class="modal-dialog"> <div class="modal-content"> <!-- Header --> <div class="modal-header"> <button type="button" class="close" datadismiss="modal"> </button> <h3 class="modal-title">log In</h3> <!-- Form (body) --> <div class="modal-body"> <form role="form"> <div class="form-group"> <input type=" " class="form-control" placeholder=" "> placeholder="password"> </form> <div class="form-group"> <input type="password" class="form-control" 17

18 <!--Button (footer) --> <div class="modal-footer"> <button class="btn btn-primary btn-block">log In</button> External Style Sheet Allows you to style elements with the same styles throughout all of your web pages. Your HTML file can see the CSS information by putting a <link> tag between the <head>...</head> tags of your HTML page. Your <link> tag needs three attributes: 1. A type attribute that should always be equal to "text/css" 2. A rel attribute that should always be equal to "stylesheet" 3. A href attribute that should point to the web address of your CSS file <link type="text/css" rel="stylesheet" href="css file address"/> Self-closing tags Because nothing ever goes between <link></link> tags, it's okay to use a single set of <>s to be the opening and closing tags. < /> <!DOCTYPE html> <html> <head> <link type="text/css" rel="stylesheet" href="style Sheet.css"/> </head> </html> Paste <link type="text/css" rel="stylesheet" href="style Sheet.css"/> into the HTML code of each webpage between the <head> tags. Create a New Page File New Save As: Style Sheet.css (to the same folder as the html files). 18

19 Enter the CSS Code h1 {color: green;} p {font-family: Tahoma; Color: purple; Font-size: 20 px;} a {color: orange;} Overriding Styles When you want to override External Style Sheet because you want one web page to be different from all of the others. Use the <style>...</style> tags of your HTML code on the web page that you want to have the different styles for. Put the style change(s) you want to make. <style type= text/css > h1 {color: blue;} </style> The CSS properties display, position, and float can be used to control where an element sits on the page. 19

CSS (Cascading Style Sheets)

CSS (Cascading Style Sheets) CSS (Cascading Style Sheets) CSS (Cascading Style Sheets) is a language used to describe the appearance and formatting of your HTML. It allows designers and users to create style sheets that define how

More information

CSS Cascading Style Sheets

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

More information

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

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

More information

CS 350 COMPUTER/HUMAN INTERACTION. Lecture 6

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

More information

Using Dreamweaver CC. 6 Styles in Websites. Exercise 1 Linked Styles vs Embedded Styles

Using Dreamweaver CC. 6 Styles in Websites. Exercise 1 Linked Styles vs Embedded Styles Using Dreamweaver CC 6 So far we have used CSS to arrange the elements on our web page. We have also used CSS for some limited formatting. In this section we will take full advantage of using CSS to format

More information

CSS means Cascading Style Sheets. It is used to style HTML documents.

CSS means Cascading Style Sheets. It is used to style HTML documents. CSS CSS means Cascading Style Sheets. It is used to style HTML documents. Like we mentioned in the HTML tutorial, CSS can be embedded in the HTML document but it's better, easier and neater if you style

More information

Using Dreamweaver CS6

Using Dreamweaver CS6 6 So far we have used CSS to arrange the elements on our web page. We have also used CSS for some limited formatting. In this section we will take full advantage of using CSS to format our web site. Just

More information

<body bgcolor=" " fgcolor=" " link=" " vlink=" " alink=" "> These body attributes have now been deprecated, and should not be used in XHTML.

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

CSS Cascading Style Sheets

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

More information

HTML Summary. All of the following are containers. Structure. Italics Bold. Line Break. Horizontal Rule. Non-break (hard) space.

HTML Summary. All of the following are containers. Structure. Italics Bold. Line Break. Horizontal Rule. Non-break (hard) space. HTML Summary Structure All of the following are containers. Structure Contains the entire web page. Contains information

More information

Introduction to using HTML to design webpages

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

More information

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

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

More information

CSS: The Basics CISC 282 September 20, 2014

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

More information

Lab 4 CSS CISC1600, Spring 2012

Lab 4 CSS CISC1600, Spring 2012 Lab 4 CSS CISC1600, Spring 2012 Part 1 Introduction 1.1 Cascading Style Sheets or CSS files provide a way to control the look and feel of your web page that is more convenient, more flexible and more comprehensive

More information

Assignments (4) Assessment as per Schedule (2)

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

More information

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

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

More information

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

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

More information

Introduction to WEB PROGRAMMING

Introduction to WEB PROGRAMMING Introduction to WEB PROGRAMMING Web Languages: Overview HTML CSS JavaScript content structure look & feel transitions/animation s (CSS3) interaction animation server communication Full-Stack Web Frameworks

More information

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

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

More information

Programmazione Web a.a. 2017/2018 HTML5

Programmazione Web a.a. 2017/2018 HTML5 Programmazione Web a.a. 2017/2018 HTML5 PhD Ing.Antonino Raucea antonino.raucea@dieei.unict.it 1 Introduzione HTML HTML is the standard markup language for creating Web pages. HTML stands for Hyper Text

More information

The default style for an unordered (bulleted) list is the bullet, or dot. You can change the style to either a square or a circle as follows:

The default style for an unordered (bulleted) list is the bullet, or dot. You can change the style to either a square or a circle as follows: CSS Tutorial Part 2: Lists: The default style for an unordered (bulleted) list is the bullet, or dot. You can change the style to either a square or a circle as follows: ul { list-style-type: circle; or

More information

Using Dreamweaver. 6 Styles in Websites. 1. Linked or Imported Stylesheets. 2. Embedded Styles. 3. Inline Styles

Using Dreamweaver. 6 Styles in Websites. 1. Linked or Imported Stylesheets. 2. Embedded Styles. 3. Inline Styles Using Dreamweaver 6 So far these exercises have deliberately avoided using HTML s formatting options such as the FONT tag. This is because the basic formatting available in HTML has been made largely redundant

More information

HTML/XML. HTML Continued Introduction to CSS

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

More information

Cascading Style Sheets (CSS)

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

More information

CSS worksheet. JMC 105 Drake University

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

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

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

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

More information

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

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

More information

Introduction to Web Tech and Programming

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

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

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

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

More information

COSC 2206 Internet Tools. CSS Cascading Style Sheets

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

More information

- HTML is primarily concerned with content, rather than style. - However, tags have presentation properties, for which browsers have default values

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

HTML & CSS. Lesson 1: HTML Basics Lesson 2: Adding Tables Lesson 3: Intro to CSS Lesson 4: CSS in more detail Lesson 5: Review

HTML & CSS. Lesson 1: HTML Basics Lesson 2: Adding Tables Lesson 3: Intro to CSS Lesson 4: CSS in more detail Lesson 5: Review HTML & CSS Lesson 1: HTML Basics Lesson 2: Adding Tables Lesson 3: Intro to CSS Lesson 4: CSS in more detail Lesson 5: Review Lesson 1: HTML Basics 1. Write main tile HTML & CSS 2. Write today s date Match

More information

GIMP WEB 2.0 MENUS. Web 2.0 Menus: Horizontal Navigation Bar with Dynamic Background Image

GIMP WEB 2.0 MENUS. Web 2.0 Menus: Horizontal Navigation Bar with Dynamic Background Image GIMP WEB 2.0 MENUS Web 2.0 Menus: Horizontal Navigation Bar with Dynamic Background Image WEB 2.0 MENUS: HORIZONTAL NAVIGATION BAR DYNAMIC BACKGROUND IMAGE Before you begin this tutorial, you will need

More information

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

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

More information

CSS BASICS. selector { property: value; }

CSS BASICS. selector { property: value; } GETTING STARTED 1. Download the Juice-o-Rama 11-01 zip file from our course dropbox. 2. Move the file to the desktop. You have learned two ways to do this. 3. Unzip the file by double clicking it. You

More information

Reading 2.2 Cascading Style Sheets

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

More information

BIM222 Internet Programming

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

More information

Guidelines for doing the short exercises

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

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

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

More information

Appendix D CSS Properties and Values

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

More information

Comp-206 : Introduction to Software Systems Lecture 23. Alexandre Denault Computer Science McGill University Fall 2006

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

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

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

More information

CSS CSS how to display to solve a problem External Style Sheets CSS files CSS Syntax

CSS CSS how to display to solve a problem External Style Sheets CSS files CSS Syntax CSS CSS stands for Cascading Style Sheets Styles define how to display HTML elements Styles were added to HTML 4.0 to solve a problem External Style Sheets can save a lot of work External Style Sheets

More information

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

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

More information

WEBSITE PROJECT 2 PURPOSE: INSTRUCTIONS: REQUIREMENTS:

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

More information

DAY 4. Coding External Style Sheets

DAY 4. Coding External Style Sheets DAY 4 Coding External Style Sheets LESSON LEARNING TARGETS I can code and apply an embedded style sheet to a Web page. I can code and apply an external style sheet to multiple Web pages. I can code and

More information

Html basics Course Outline

Html basics Course Outline Html basics Course Outline Description Learn the essential skills you will need to create your web pages with HTML. Topics include: adding text any hyperlinks, images and backgrounds, lists, tables, and

More information

HTMLnotesS15.notebook. January 25, 2015

HTMLnotesS15.notebook. January 25, 2015 The link to another page is done with the

More information

CSS: Cascading Style Sheets

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

More information

Zen Garden. CSS Zen Garden

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

More information

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

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

More information

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

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

More information

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

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

More information

- The CSS1 specification was developed in CSSs provide the means to control and change presentation of HTML documents

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

GIMP WEB 2.0 MENUS. Web 2.0 Menus: Horizontal Navigation Bar

GIMP WEB 2.0 MENUS. Web 2.0 Menus: Horizontal Navigation Bar GIMP WEB 2.0 MENUS Web 2.0 Menus: Horizontal Navigation Bar WEB 2.0 MENUS: HORIZONTAL NAVIGATION BAR Hover effect: You may create your button in GIMP. Mine is 122 pixels by 48 pixels. You can use whatever

More information

Introduction to Web Design CSS Reference

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

The building block of a CSS stylesheet. A rule consists of a selector and a declaration block (one or more declarations).

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

Introduction to Web Design CSS Reference

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

CS 1100: Web Development: Client Side Coding / Fall 2016 Lab 2: More HTML and CSS

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

Table Basics. The structure of an table

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

More information

Before you begin, make sure you have the images for these exercises saved in the location where you intend to create the Nuklear Family Website.

Before you begin, make sure you have the images for these exercises saved in the location where you intend to create the Nuklear Family Website. 9 Now it s time to challenge the serious web developers among you. In this section we will create a website that will bring together skills learned in all of the previous exercises. In many sections, rather

More information

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

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

More information

ICT IGCSE Practical Revision Presentation Web Authoring

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

More information

Creating and Building Websites

Creating and Building Websites Creating and Building Websites Stanford University Continuing Studies CS 21 Mark Branom branom@alumni.stanford.edu Course Web Site: http://web.stanford.edu/group/csp/cs21 Week 6 Slide 1 of 28 Week 6 Agenda

More information

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

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

More information

How to lay out a web page with CSS

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

More information

CSS: Formatting Text. CSS for text processing: font-family. Robert A. Fulkerson

CSS: Formatting Text. CSS for text processing: font-family. Robert A. Fulkerson CSS: Formatting Text Robert A. Fulkerson College of Information Science and Technology http://www.ist.unomaha.edu/ University of Nebraska at Omaha http://www.unomaha.edu/ CSS for text processing: font-family

More information

Web Engineering CSS. By Assistant Prof Malik M Ali

Web Engineering CSS. By Assistant Prof Malik M Ali Web Engineering CSS By Assistant Prof Malik M Ali Overview of CSS CSS : Cascading Style Sheet a style is a formatting rule. That rule can be applied to an individual tag element, to all instances of a

More information

Multimedia Systems and Technologies Lab class 6 HTML 5 + CSS 3

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

Title: Jan 29 11:03 AM (1 of 23) Note that I have now added color and some alignment to the middle and to the right on this example.

Title: Jan 29 11:03 AM (1 of 23) Note that I have now added color and some alignment to the middle and to the right on this example. Title: Jan 29 11:03 AM (1 of 23) Note that I have now added color and some alignment to the middle and to the right on this example. Sorry about these half rectangle shapes a Smartboard issue today. To

More information

Downloads: Google Chrome Browser (Free) - Adobe Brackets (Free) -

Downloads: Google Chrome Browser (Free) -   Adobe Brackets (Free) - Week One Tools The Basics: Windows - Notepad Mac - Text Edit Downloads: Google Chrome Browser (Free) - www.google.com/chrome/ Adobe Brackets (Free) - www.brackets.io Our work over the next 6 weeks will

More information

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

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

More information

Final Exam Study Guide

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

More information

Lesson 1 HTML Basics. The Creative Computer Lab. creativecomputerlab.com

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

ICT IGCSE Practical Revision Presentation Web Authoring

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

More information

8a. Cascading Style Sheet

8a. 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 information

CSS. Lecture 16 COMPSCI 111/111G SS 2018

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

Using Dreamweaver CS6

Using Dreamweaver CS6 Using Dreamweaver CS6 7 Dynamic HTML Dynamic HTML (DHTML) is a term that refers to website that use a combination of HTML, scripting such as JavaScript, CSS and the Document Object Model (DOM). HTML and

More information

WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5

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

Website Development with HTML5, CSS and Bootstrap

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

More information

Controlling Appearance the Old Way

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

HTML and CSS: An Introduction

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

More information

3. Each of these mark examples contains an error. a. <input name= country value= Your country here. /> b. <checkbox name= color value= teal />

3. Each of these mark examples contains an error. a. <input name= country value= Your country here. /> b. <checkbox name= color value= teal /> 1. Decide whether each of these forms should be sent via the GET or POST method: A form for accessing your bank account online A form for sending t-shirt artwork to the printer A form for searching archived

More information

ITNP43: HTML Lecture 4

ITNP43: 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 information

In the early days of the Web, designers just had the original 91 HTML tags to work with.

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

5 Snowdonia. 94 Web Applications with C#.ASP

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

Web Development & Design Foundations with HTML5

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

Web Designing HTML5 NOTES

Web Designing HTML5 NOTES Web Designing HTML5 NOTES HTML Introduction What is HTML? HTML is the standard markup language for creating Web pages. HTML stands for Hyper Text Markup Language HTML describes the structure of Web pages

More information

CSS Lecture 16 COMPSCI 111/111G SS 2018

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

COMPUTER APPLICATIONS IN BUSINESS FYBMS SEM II

COMPUTER APPLICATIONS IN BUSINESS FYBMS SEM II CHAPTER 1: HTML 1. What is HTML? Define its structure. a. HTML [Hypertext Markup Language] is the main markup language for creating web pages and other information that can be displayed in a web browser.

More information

CSS Styles Quick Reference Guide

CSS Styles Quick Reference Guide Table 1: CSS Font and Text Properties Font & Text Properties Example(s) font-family Font or typeface font-family: Tahoma font-size Size of the font font-size: 12pt font-weight Normal or bold font-weight:

More information

2. Write style rules for how you d like certain elements to look.

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

ID1354 Internet Applications

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

More information

Web Development & Design Foundations with HTML5

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

2005 WebGUI Users Conference

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

recall: a Web page is a text document that contains additional formatting information in the HyperText Markup Language (HTML)

recall: a Web page is a text document that contains additional formatting information in the HyperText Markup Language (HTML) HTML & Web Pages recall: a Web page is a text document that contains additional formatting information in the HyperText Markup Language (HTML) HTML specifies formatting within a page using tags in its

More information

CSS. Primer. Developer Guide [Part 4]

CSS. Primer. Developer Guide [Part 4] 2017 Primer Part 4 is a primer on. It cannot cover all topics or all situations. It will give you a good start on learning about styles and how they work. Consider this a springboard to continue learning.

More information

HTML & CSS Cheat Sheet

HTML & CSS Cheat Sheet 1 HTML & CSS Cheat Sheet Fall 2017 HTML & CSS Cheat Sheet from Typographic Web Design 3 by Laura Franz Web safe fonts vs web fonts You can expect these web safe fonts to work across most platforms and

More information