Cascading Style Sheets (CSS)
|
|
- Holly Norton
- 6 years ago
- Views:
Transcription
1 Snyder4e_04 12/9/09 1:09 AM Page 111 Cascading Style Sheets (CSS) 111 Notice that the first row uses the <th> tag rather than the <td> tag to specify the column headings. Cascading Style Sheets (CSS) We have used the style attribute to make the Paradoxes Web page more attractive. Without much effort we improved the page a lot from its original design, but we aren t yet using the full power of the styling capabilities available to us. Cascading Style Sheets (CSS) is the facility that is responsible for much of what is very slick on the Web pages we see everyday as we surf. It is a general styling system for documents that greatly simplifies the task of creating complex page designs. In this section we see how to use CSS. Making Style Global In thinking about the Web page in Figure 4.6, we notice that the style information was repeated for both level 2 headings: <h2 style="color:darkorange; font-family:arial"> If there were twenty level 2 headings on the page, each of them would repeat this exact information. That wastes typing, of course, but that may only be a minor annoyance. Of greater concern is that if we decide later that we want to change the design maybe we really want orangered text in Trebuchet font we must change the specification in every one of the headings. Although this might be simply updated with a Find/Replace All, for any complex page, it means making each change manually. Setting global style. The solution to the problem of repeating style information wherever it is needed is to place it in one global location inside the <head> tags, so that it applies to the whole page. We do this by placing the style information inside a pair of <style> and </style> tags. Yes, style can be used both as a tag and as an attribute. For example, <style type="text/css"> h2 {color : darkorange; font-family : arial} </style> The <style> tag contains a type attribute specifying the form of the style information; this should always be used exactly as shown here. Within the <style> and </style> tags are specifications for each tag that should have its properties adjusted. The general syntax for these specifications is elem_name { prop_name1 : spec1 ;... ; prop_namen : specn} The text between the tag s angle brackets, known as the tag element, is given (h2 in the preceding example), and after that, inside curly braces ({}), is the list of property names/specification pairs, each separated by a semicolon. The meaning is that all occurrences of the tag will be styled as specified. In this
2 Snyder4e_04 12/9/09 1:09 AM Page Chapter 4 A Hypertext Markup Language Primer way a document can be given a consistent look without having to repeat the styling information every time a style tag is used. As a further example, suppose we want to give our tables a standard form. The specification <style type="text/css"> table {outline-style : solid; outline-color : violet} th {background-color : purple; font-family : courier} td {background-color : fuchsia; font-family : arial; color : white; text-align : center} </style> does that. Several properties are specified for three table elements together when we write <tr> <th> col 1 </th> <th> col 2 </th> <th> col 3 </th></tr> <tr> <td> A </td> <td> B </td> <td> C </td></tr> <tr> <td> 1 </td> <td> 2 </td> <td> 3 </td></tr> and they produce this. The formatting is automatically applied. Of course, every table on the page will have this form. Notice that when the style information is given inside of <style> tags, as shown here, no quotations marks are used. In styling, closest wins. Global specification of style is extremely convenient and efficient, but what if there is an exception? For example, if all tables have the foregoing form, how do we make one of them have a violet cell and maybe change how the entries are aligned? Style the table data tags for that one table where it appears in the XHTML using the style attribute. So, we might write <tr> <td style="text-align : left"> 1 </td> <td style="background-color:violet"> 2 </td> <td style="text-align : right"> 3 </td></tr> which produces this. Notice what has happened: Only the background color in the one cell and the two alignments have changed. All of the other properties of the table the border color, the heading background, the background of the other cells, the font face, and alignment remain as given in the global specification in the <head>. This is exactly how we want styling information to work: We give the basic styling globally, and then if anything changes at a particular point on the Web page, we change it at that place, and we only say what is different from the default. Everything else applies as normal. Generally, the rule with styling information is this: The closest specification wins. In essence, the specification closer to the site blocks the specification(s) further out. It is a very smart and flexible way to organize a system.
3 Snyder4e_04 12/9/09 1:09 AM Page 113 Adding Class to Style Cascading Style Sheets (CSS) 113 The global specification of style associated with tags gives consistent formatting, but it only simplifies our Web design as long as the tag is used in only one way. For example, suppose we want different colors for tables. How can we add class to our page by using both the preceding spring pink table and this summer green table? Add class. If we want a tag, say the table tag, to be styled in several different ways, we say that we have several different classes of styling. A class is a family of styling specifications with a common name. The class is given in two places: In the style definition inside the style tags in the <head>, and at the site in the XHTML code of the <body> where we use a table of that class. For some reason, the two places work differently. For the style definition, we give the tag s class by appending the class name (here, sum) to the tag with a dot, as in <style type="text/css"> table.sum {outline-style : solid; outline-color : lime} th.sum {background-color : lightgreen; font-family : courier; color : darkgreen} td.sum {background-color : green; font-family : arial; color : white; text-align:center} </style> Then, throughout the Web page, the browser knows there is a table of the class sum that has a solid lightgreen border, and table heading and data tags of the same class to go with it. As another example, the earlier spring table in the class spr would use the form table.spr. In the <body>, when we need a table of class sum, we write <table class="sum">... </table> to use the class attribute to specify which class of style specifications will define the table. Thus, we can write <table class="sum"> <tr> <th class="sum">col 1</th><th class="sum">col 2</th> <th class="sum">col 3</th></tr> <tr> <td class="sum"> A </td> <td class="sum"> B </td> <td class="sum"> C </td> </tr> <tr> <td class="sum"> 1 </td> <td class="sum"> 2 </td> <td class="sum"> 3 </td> </tr> </table> to create a summer table different from the spring table. Class definitions are used extensively in CSS because most Web pages have many different parts that need separate styling, but the parts are built using the small set of standard XHTML tags like <table>. Obviously, style benefits greatly from class.
4 Snyder4e_04 12/9/09 1:09 AM Page Chapter 4 A Hypertext Markup Language Primer One More Simplification We originally used the global style specifications of the <head> section as a way to avoid styling every use of a tag. Now, looking at the summer table specification, it seems like we re back to writing extra attributes inside the tag to get the style we want. True, it is only one attribute, class, but it quickly becomes a nuisance. Isn t there a better way? Yes. Because all of the table data cells are to be treated in the same way in the body of the table, it should be possible to define how we want them to be for the whole table. We could put them inside the table tag specification, but that confuses the table properties with the cell properties. However, there is a table body tag, <tbody>, that encloses the rows and data of a table. It can be used to style the whole table. Thus, we declare the fall class of the table at the beginning, <style> table.fall { outline-style : solid; outline-color : orangered} tbody.fall{ background-color : chocolate; font-family : arial; color : white; text-align:center} th.fall { background-color : darkorange; font-family : courier} </style> but this time we style the <tbody> tag rather than the <td> tag. This allows the fall table to be specified more simply as <table class="fall"> <tbody class="fall"> <tr><th class="fall">col 1</th><th class="fall">col 2 </th> <th class="fall">col 3</th></tr> <tr><td> A </td><td> B </td> <td> C </td></tr> <tr><td> 1 </td><td> 2 </td> <td> 3 </td></tr> </tbody> </table> We still style the heading tags to be customized for each season, and therefore have to specify the class name for them. This is less of a nuisance than specifying the class name for every cell in the table, because the heading occurs only once per column, but it is still more typing than we want. So, let s use the specify-the-styling-information-over-a-range idea like we used before for <tbody>. This time, notice that the headings are always in their own row, so we style a table row to handle headings. To do so, change th.fall {background-color : darkorange; font-family : courier} to tr.fall {background-color : darkorange; font-family : courier} in the global style specification. Then, at the table site in the XHTML, write <tr class="fall"><th>col 1</th>< >col 2</th><th>col 3</th></tr> and the result is as intended.
5 Snyder4e_04 12/9/09 1:09 AM Page 115 Style from Files 115 Notice that the <tbody> tag tells how to style all cells in the table, but when we get to the <tr> tag inside, it specifies how to style that one row. It takes precedence over the specification of the <tbody> for two properties. Again, we see that the closest style wins, but all other properties continue to apply. Style from Files The nice part about specifying the style information inside the <style> tags is that it is all in one place, so consistent changes can be made throughout the document very easily by modifying this one site. Reusing one s previous work is a common theme in computing, and we can apply it with CSS. All of the style information that would normally be placed inside the <head> tags can be moved to a file, and then the file name can be given with a <link> tag inside the <head>. In this way many Web pages can use the same styling information. This is how Web sites ensure that the whole site is styled in a consistent way: All pages use the same styling file(s). Packaging the Basic Style To illustrate this idea, suppose we have developed the American Writers Anecdotes (AWA) page in Figure 4.7, and plan to have a series of pages about different American writers all with the same heading and styling information. We have designed a page with compatible colors and customized the links of the author tabs. Before placing the style information in a file, let s see how the links were styled. Pseudo Classes Normally, the default is for links to be blue and underlined. To change this, we style the anchor tag, as shown in Figure 4.7 at the end of the style section in the <head>: a:link {color : darkviolet; text-decoration : none} a.me:link {color : gray; text-decoration : none} a:hover {color:red} These specifications are slightly different from the styling we have used for other tags, because the anchor tag has several different states that can be styled separately. These are referred to as pseudo classes and are separated from the element by a colon (:). The three main states are link, styling for an unvisited link (anchor text) hover, styling when the cursor hovers over a link (see Figure 4.7) visited, styling for links that have been visited In the style specification, the color is set, and text-decoration that s the underline is set to none. Also, notice that we have defined a class, me, that is used to gray out the link for the current page. Thus, the Thoreau page is classified as me and the link becomes gray. One more very strange fact: If hover is styled, its style must come after link.
6 Snyder4e_04 12/9/09 1:09 AM Page Chapter 4 A Hypertext Markup Language Primer Figure 4.7 The American Writers Anecdotes page for Henry David Thoreau: the source and the result (inset). Moving Style to a File To use an external file for style information, place it into a file as a sequence of property/specification pairs. That is, place the specifications that are inside the <style> tags in the file, but don t include the <style> and </style> tags themselves. Like XHTML files, the style file should be created with a text editor and should be plain ASCII text. The file extension the letters that come after the last dot in the file name should be css. We follow these rules, moving the AWA page s style information into a file that we name AWAstyle.css. It contains the information between the <style> and </style> tags.
7 Snyder4e_04 12/9/09 1:09 AM Page 117 Style from Files 117 To incorporate the style information of the file into a page, use the <link> tag: <link rel="stylesheet" type="text/css" href="awastyle.css"> The attributes of this tag should, by now, be obvious: This link is related to the styling of the documents; the type, normally given in the <style> tag, is given here; and the file is named. After this link has been included in the program, the head section of AWA page is greatly reduced, as shown in Figure 4.8. Moving the style information out of the way certainly shortens this section of the XHTML; notice that the head section is down to three tags. Of course, it is possible to include more global style information in the head section along with styling information in a file. The global information inside the <head> will take precedence over information in the file. Cascading the Style Sheets We have seen that CSS uses the rule closest style wins. We have already seen several levels of style information, and that each can be shadowed by specifications closer to the site where the property applies. In fact, we can Figure 4.8 The AWA page for Steinbeck showing the <link> in the source code to the external style file AWAstyle.css and the result (inset).
8 Snyder4e_04 12/9/09 1:09 AM Page Chapter 4 A Hypertext Markup Language Primer identify five levels of styling information. Starting from the farthest away, we have Default, given by browser settings External, given in a file Global, given in the <head> section Range, given in an enclosing tag Site, given by the style attribute Each level is broader and more general than the levels below it. Here s how we understand these levels. At the top, the browser knows how to style the entire document based on the settings that come as a default with the browser, as modified by the user. No further information is needed. These default settings can be selectively replaced by specifications in an external file, which can be replaced by still more specifications in the global style of the head section, which can be specified further by a range and, eventually, by the tag around the information being styled. All of the style information needed at any point in the XHTML code can be found by tracing back for the closest specification. It will be found, because the default contains a specification for every styling option. The rule: closest style wins. This idea of progressively becoming more site specific is the cascading idea of the Cascading Style Sheet. It allows general styling choices to be adopted at various levels, and to be overridden as the situation become better known. It is smart and powerful. And as we shall see, it illustrates many basic ideas of computing. HTML Wrap-Up In learning XHTML, you have seen how a Web page is encoded. Although XHTML has a few more exotic features beyond those presented here, and the other Web languages have even more powerful features, they are all variations on the same theme: Tags surround all objects that appear on the page, the context is set by specifying properties of the page s tags, and each feature of the format is specified in detail, <i>isn t it?!</i>. It s so easy, even a computer can do it! Indeed, that s what happens most of the time. Web authors usually don t write HTML directly; they use Web authoring tools, such as Adobe Dreamweaver. They build the page as it should look on the screen using a WYSIWYG Web authoring program, and then the computer generates the HTML to implement it. fluencybit Uploading. Pages are created and tested on a personal computer. To be accessed from other computers on the Internet, the HTML files, the image files, and the directory structure created for them must be uploaded (transmitted) to a Web server, a process known as publishing.
<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 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 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 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 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 informationTitle: 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 informationUsing 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 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 informationUsing 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 informationLab 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 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 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 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 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 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 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 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 informationUsing 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 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 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 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 informationCreating 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 information1 Creating a simple HTML page
cis3.5, spring 2009, lab I.3 / prof sklar. 1 Creating a simple HTML page 1.1 Overview For this assignment, you will create an HTML file in a text editor. on a PC, this is Notepad (not Wordpad) on a Mac,
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 informationLab Introduction to Cascading Style Sheets
Lab Introduction to Cascading Style Sheets For this laboratory you will need a basic text editor and a browser. In the labs, winedt or Notepad++ is recommended along with Firefox/Chrome For this activity,
More informationCSS 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 informationWhich is why we ll now be learning how to write in CSS (or cascading sheet style)
STYLE WITH CSS My word is changing things in HTML difficult! Can you imagine if we had to do that for every single thing we wanted to change? It would be a nightmare! Which is why we ll now be learning
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 informationCSS 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 informationKillTest *KIJGT 3WCNKV[ $GVVGT 5GTXKEG Q&A NZZV ]]] QORRZKYZ IUS =K ULLKX LXKK [VJGZK YKX\OIK LUX UTK _KGX
KillTest Q&A Exam : 9A0-803 Title : Certified Dreamweaver 8 Developer Exam Version : DEMO 1 / 7 1. What area, in the Insert bar, is intended for customizing and organizing frequently used objects? A. Layout
More informationDreamweaver CS6. Level 1. Topics Workspaces Basic HTML Basic CSS
Level 1 Topics Workspaces Basic HTML Basic CSS Tour the Workspace The arrangement of panels and menus you use to interact with a document is called the workspace. Much of Illustrator is customizable: you
More informationHow to create and edit a CSS rule
Adobe Dreamweaver CS6 Project 3 guide How to create and edit a CSS rule You can create and edit a CSS rule in two locations: the Properties panel and the CSS Styles panel. When you apply CSS styles to
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 informationDeccansoft Software Services
Deccansoft Software Services (A Microsoft Learning Partner) HTML and CSS COURSE SYLLABUS Module 1: Web Programming Introduction In this module you will learn basic introduction to web development. Module
More informationCS Multimedia and Communications REMEMBER TO BRING YOUR MEMORY STICK TO EVERY LAB!
CS 1033 Multimedia and Communications REMEMBER TO BRING YOUR MEMORY STICK TO EVERY LAB! Lab 06: Introduction to KompoZer (Website Design - Part 3 of 3) Lab 6 Tutorial 1 In this lab we are going to learn
More informationShane Gellerman 10/17/11 LIS488 Assignment 3
Shane Gellerman 10/17/11 LIS488 Assignment 3 Background to Understanding CSS CSS really stands for Cascading Style Sheets. It functions within an HTML document, so it is necessary to understand the basics
More informationDAY 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 informationBasic CSS Lecture 17
Basic CSS Lecture 17 Robb T. Koether Hampden-Sydney College Wed, Feb 21, 2018 Robb T. Koether (Hampden-Sydney College) Basic CSSLecture 17 Wed, Feb 21, 2018 1 / 22 1 CSS 2 Background Styles 3 Text Styles
More informationCISC1600-SummerII2012-Raphael-lec3 1
CISC 1600 Introduction to Multi-media Computing Agenda Email Address: Course Page: Class Hours: Summer Session II 2012 Instructor : J. Raphael raphael@sci.brooklyn.cuny.edu http://www.sci.brooklyn.cuny.edu/~raphael/cisc1600.html
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 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 informationc122sep2214.notebook September 22, 2014
This is using the border attribute next we will look at doing the same thing with CSS. 1 Validating the page we just saw. 2 This is a warning that recommends I use CSS. 3 This caused a warning. 4 Now I
More informationClass 3 Page 1. Using DW tools to learn CSS. Intro to Web Design using Dreamweaver (VBUS 010) Instructor: Robert Lee
Class 3 Page 1 Using DW tools to learn CSS Dreaweaver provides a way for beginners to learn CSS. Here s how: After a page is set up, you might want to style the . Like setting up font-family, or
More informationWeb Publishing Basics I
Web Publishing Basics I Jeff Pankin Information Services and Technology Contents Course Objectives... 2 Creating a Web Page with HTML... 3 What is Dreamweaver?... 3 What is HTML?... 3 What are the basic
More informationTeach Yourself HTML5 & CSS 3: Week 5 Task 13 - Anchors Part 3
http://www.gerrykruyer.com Teach Yourself HTML5 & CSS 3: Week 5 Task 13 - Anchors Part 3 In this task you will continue working on the website you have been working on for the last two weeks. This week
More informationHTML and CSS COURSE SYLLABUS
HTML and CSS COURSE SYLLABUS Overview: HTML and CSS go hand in hand for developing flexible, attractively and user friendly websites. HTML (Hyper Text Markup Language) is used to show content on the page
More informationHTML & 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 informationUsing Dreamweaver to Create Page Layouts
Using Dreamweaver to Create Page Layouts with Cascading Style Sheets (CSS) What are Cascading Style Sheets? Each cascading style sheet is a set of rules that provides consistent formatting or a single
More informationIntroduction to Web Programming and Design
Bridges To Computing General Information: This document was created for use in the "Bridges to Computing" project of Brooklyn College. You are invited and encouraged to use this presentation to promote
More informationAzon Master Class. By Ryan Stevenson Guidebook #8 Site Construction 1/3
Azon Master Class By Ryan Stevenson https://ryanstevensonplugins.com/ Guidebook #8 Site Construction 1/3 Table of Contents 1. Code Generators 2. Home Page Menu Creation 3. Category Page Menu Creation 4.
More informationTable of Contents Chapter 9. Working with Cascading Style Sheets ... 1
Table of Contents Chapter 9.... 1 Introduction... 1 Introducing Cascading Style Sheets... 2 Create CSS Styles... 2 Attribute Styles... 2 Style Types... 3 Creating a Web Page with a CSS Layout... 4 Create
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 informationIntroduction to Computer Science Web Development
Introduction to Computer Science Web Development Flavio Esposito http://cs.slu.edu/~esposito/teaching/1080/ Lecture 8 Lecture Outline: Advanced CSS Pseudo-Classes CSS interacting with users CSS Cascading
More informationCMPT 165 Advanced XHTML & CSS Part 3
CMPT 165 Advanced XHTML & CSS Part 3 Oct 15 th, 2015 Today s Agenda Quick Recap of last week: Tree diagram Contextual selectors CSS: Inheritance & Specificity Review 1 exam question Q/A for Assignment
More informationStudy Guide 2 - HTML and CSS - Chap. 6,8,10,11,12 Name - Alexia Bernardo
Study Guide 2 - HTML and CSS - Chap. 6,8,10,11,12 Name - Alexia Bernardo Note: We skipped Study Guide 1. If you d like to review it, I place a copy here: https:// people.rit.edu/~nbbigm/studyguides/sg-1.docx
More information**Method 3** By attaching a style sheet to your web page, and then placing all your styles in that new style sheet.
CSS Tutorial Part 1: Introduction: CSS adds style to tags in your html page. With HTML you told the browser what things were (e.g., this is a paragraph). Now you are telling the browser how things look
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 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 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 information1. Please, please, please look at the style sheets job aid that I sent to you some time ago in conjunction with this document.
1. Please, please, please look at the style sheets job aid that I sent to you some time ago in conjunction with this document. 2. W3Schools has a lovely html tutorial here (it s worth the time): http://www.w3schools.com/html/default.asp
More informationWhat is CSS? NAME: INSERT OPENING GRAPHIC HERE:
What is CSS? NAME: INSERT OPENING GRAPHIC HERE: Highlight VOCABULARY WORDS that you need defined. Put a? mark in any area that you need clarified. 1 What is CSS? CSS stands for Cascading Style Sheets Styles
More informationIntroduction to Cascading Style Sheets
Introduction to Cascading Style Sheets Welcome to the CSS workshop! Before you begin this workshop you should have some basic understanding of HTML and building web pages. What is CSS anyway and what will
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 informationChapter 4 Creating Tables in a Web Site Using an External Style Sheet
Chapter 4 Creating Tables in a Web Site Using an External Style Sheet MULTIPLE RESPONSE Modified Multiple Choice 1. Attributes are set relative to the elements in a table. a. line c. row b. column d. cell
More informationUnveiling the Basics of CSS and how it relates to the DataFlex Web Framework
Unveiling the Basics of CSS and how it relates to the DataFlex Web Framework Presented by Roel Fermont 1 Today more than ever, Cascading Style Sheets (CSS) have a dominant place in online business. CSS
More informationINTERNATIONAL UNIVERSITY OF JAPAN Public Management and Policy Analysis Program Graduate School of International Relations
Hun Myoung Park (1/26/2019) Cascading Style Sheets: 1 INTERNATIONAL UNIVERSITY OF JAPAN Public Management and Policy Analysis Program Graduate School of International Relations ADC5030401 (2 Credits) Introduction
More informationAPPLIED COMPUTING 1P01 Fluency with Technology
APPLIED COMPUTING 1P01 Fluency with Technology Cascading Style Sheets (CSS) APCO/IASC 1P01 Brock University Brock University (APCO/IASC 1P01) Cascading Style Sheets (CSS) 1 / 39 HTML Remember web pages?
More 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 informationWeb Recruitment Module Customisation
Web Recruitment Module Customisation Introduction The People Inc. Web Recruitment add-on enables users to publish details of vacancies on their web site. This information is integrated seamlessly into
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 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 informationUsing Dreamweaver To Edit the Campus Template Version MX
Using Dreamweaver To Edit the Campus Template Version MX Tennessee Tech University Clement Hall 215 Dreamweaver is an HTML (Hypertext Markup Language) editor that allows you to create HTML pages. This
More informationUnit 5 Web Publishing Systems Page 1 of 13 Part 4 HTML Part 4
Unit 5 Web Publishing Systems Page 1 of 13 Part 4 HTML 4.01 Version: 4.01 Transitional Hypertext Markup Language is the coding behind web publishing. In this tutorial, basic knowledge of HTML will be covered
More informationCreating your first website Part 4: Formatting your page with CSS
Adobe - Developer Center : Creating your first website Part 4: Formatting your page... Page 1 of 23 Dreamweaver Article Creating your first website Part 4: Formatting your page with CSS Jon Varese Adobe
More informationIMY 110 Theme 6 Cascading Style Sheets
IMY 110 Theme 6 Cascading Style Sheets 1. Cascading Style Sheets 1.1. Cascading Style Sheets Up to now we have done styling by using the style attribute. e.g. paragraph What
More informationGIMP WEB 2.0 MENUS WEB 2.0 MENUS: HORIZONTAL NAVIGATION BAR CREATING AN HTML LIST
GIMP WEB 2.0 MENUS Web 2.0 Menus: Horizontal Navigation Bar WEB 2.0 MENUS: HORIZONTAL NAVIGATION BAR Hover effect: CREATING AN HTML LIST Most horizontal or vertical navigation bars begin with a simple
More 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 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 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 informationFaculty of Engineering Department of Computer Engineering. CSS Tutorial. Eng. Ahmed J. Alajrami
Faculty of Engineering Department of Computer Engineering CSS Tutorial Eng. Ahmed J. Alajrami CSS What is CSS? Cascading: Multiple styles can overlap in order to specify a range of style from a whole web
More informationTitle and Modify Page Properties
Dreamweaver After cropping out all of the pieces from Photoshop we are ready to begin putting the pieces back together in Dreamweaver. If we were to layout all of the pieces on a table we would have graphics
More informationChapter 3 Style Sheets: CSS
WEB TECHNOLOGIES A COMPUTER SCIENCE PERSPECTIVE JEFFREY C. JACKSON Chapter 3 Style Sheets: CSS 1 Motivation HTML markup can be used to represent Semantics: h1 means that an element is a top-level heading
More 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 informationCreating a CSS driven menu system Part 1
Creating a CSS driven menu system Part 1 How many times do we see in forum pages the cry; I ve tried using Suckerfish, I ve started with Suckerfish and made some minor changes but can t get it to work.
More informationCITS1231 Web Technologies. Introduction to Cascading Style Sheets
CITS1231 Web Technologies Introduction to Cascading Style Sheets The Problems with HTML Poor Coding No consistency in the way a document is developed. The same markup can often be written a number of ways.
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 Hints & Tips. HTML is short for HyperText Markup Language.
Introduction to HTML HTML is short for HyperText Markup Language. It is a formatting language used to specify web page attributes such as headings, paragraphs, lists, tables and text variations. The HTML
More informationCreating a Website: Advanced Dreamweaver
Creating a Website: Advanced Dreamweaver Optimizing the Workspace for Accessible Page Design 1. Choose Edit > Preferences [Windows] or Dreamweaver > Preferences [Macintosh]. The Preferences dialog box
More informationHTML and CSS a further introduction
HTML and CSS a further introduction By now you should be familiar with HTML and CSS and what they are, HTML dictates the structure of a page, CSS dictates how it looks. This tutorial will teach you a few
More informationObjective % Select and utilize tools to design and develop websites.
Objective 207.02 8% Select and utilize tools to design and develop websites. Hypertext Markup Language (HTML) Basic framework for all web design. Written using tags that a web browser uses to interpret
More informationCSS MOCK TEST CSS MOCK TEST III
http://www.tutorialspoint.com CSS MOCK TEST Copyright tutorialspoint.com This section presents you various set of Mock Tests related to CSS. You can download these sample mock tests at your local machine
More informationBefore 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 informationSetting a Background Image
More CSS More CSS Features Let's take a look at some more features available to us via CSS, as well as some techniques to make our CSS declarations more precise and efficient: Setting images as the background
More informationChapter 7 Typography, Style Sheets, and Color. Mrs. Johnson
Chapter 7 Typography, Style Sheets, and Color Mrs. Johnson Typography Typography refers to the arrangement, shape, size, style, and weight of text. Affects the navigation and usability of a web site and
More informationHypertext Markup Language, or HTML, is a markup
Introduction to HTML Hypertext Markup Language, or HTML, is a markup language that enables you to structure and display content such as text, images, and links in Web pages. HTML is a very fast and efficient
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 informationBeginning HTML. A tag is a command written between angle brackets (the less than and greater than symbols). Ex. <html>
Beginning HTML HTML Hypertext Markup Language is the language of the Web. HTML files are text files that include tags that indicate the content and structure of a Web page. A Web browser reads the HTML
More informationChapter 1 Self Test. LATIHAN BAB 1. tjetjeprb{at}gmail{dot}com. webdesign/favorites.html :// / / / that houses that information. structure?
LATIHAN BAB 1 Chapter 1 Self Test 1. What is a web browser? 2. What does HTML stand for? 3. Identify the various parts of the following URL: http://www.mcgrawhill.com/books/ webdesign/favorites.html ://
More information