CS 3870/CS 5870 Web Protocols, Technologies and Applications.

Slides:



Advertisements
Similar presentations
CSS-Formatting Review Cascading Style Sheets addstyle to your HTML web pages.
Advertisements

Cascading Style Sheets
CHAPTER 7 STYLING CONTENT WITH CASCADING STYLE SHEETS.
Project 8 Creating Style Sheets.
Very quick intro HTML and CSS. Sample html A Web Title.
Cascading Style Sheets. CSS stands for Cascading Style Sheets and is a simple styling language which allows attaching style to HTML elements. CSS is a.
Cascading Style Sheets Basics. Why use Cascading Style Sheets? Allows you to set up a series of rules for all pages in a site. The series may be changed.
Cascading Style Sheets By: Valerie Kuna. What are Cascading Style Sheets? Cascading Style Sheets (CSS) are a standard for specifying the presentation.
CSS BASICS. CSS Rules Components of a CSS Rule  Selector: Part of the rule that targets an element to be styled  Declaration: Two or more parts: a.
Navigation Bars Level 2 Extended Certificate Unit B12 Doing Business Online.
Using Advanced Cascading Style Sheets
Chapter 8 Creating Style Sheets.
CSS normally control the html elements. Three Ways to Insert CSS There are three ways of inserting a style sheet: External style sheet Internal style.
Cascading Style Sheets Understanding styles. The term cascading describe the capability of a local style to override a general style. CSS applies style.
Starting BBEdit (Notepad) and Opening an HTML File Open the Public Folder Start Notepad or BBEdit Click File on the menu bar, and then click Open In the.
Chapter 7 Using Advanced Cascading Style Sheets HTML5 & CSS 7 th Edition.
Web Workshop: CSS Objectives: - “What is CSS?” - Structure of CSS - How to use CSS in your webpage.
The.htm/.html Mystery When saving the template files in Internet Explorer, they will be named.htm by default. To be consistent with how the code was written.
4.01 Cascading Style Sheets
CM143 Week 4 Introducing CSS. Cascading Style Sheets A definition for the style in which an element of the webpage will be displayed Border width, colour,
Understanding HTML Style Sheets. What is a style?  A style is a rule that defines the appearance and position of text and graphics. It may define the.
Creating A Simple Web Page. Step 1- Open Dreamweaver & Create A New Page (File New) and blank.
1 CS 3870/CS 5870 Static and Dynamic Web Pages ASP.NET and IIS.
Working with Cascading Style Sheets. Introducing Cascading Style Sheets Style sheets are files or forms that describe the layout and appearance of a document.
Adding an Inline Style Sheet Page without Inline Style Sheet Page with Inline Style Sheet.
Cascading Style Sheet Basics Pepper. Looking at the HTML See the surrounding tags See head, body, paragraph, header See the ending tags See the list.
HTML Concepts and Techniques Fourth Edition Project 8 Creating Style Sheets.
Advanced CSS - Page Layout. Advanced CSS  Compound Selectors:  Is a Dreamweaver term, not a CSS term.  Describes more advanced types of selectors such.
Robert Vitolo CS430.  CSS (Cascading Style Sheets)  Purpose: To provide a consistent look and feel for a set of web pages To make it easy to update.
Dreamweaver -- CSS. Dreamweaver -- MX New icons are added in MX Most of the features commonly used in web design, and are same as FrontPage. New feature.
Tutorial #3 Cascading Style Sheets. Review: Last Class Image sizing Pathnames Project Default Path Relative Path Absolute Path Blackboard Homework Submission.
Images (1) Three most popular formats – Graphics Interchange Format (GIF) – Joint Photographic Experts Group (JPEG) – Portable Network Graphics (PNG) –
Cascading Style Sheets Class 1, Lecture 1 Rachel A Ober
 This presentation introduces the following: › 3 types of CSS › CSS syntax › CSS comments › CSS and color › The box model.
CSS My favourite ICT lesson By Federico Boschi Cascading Style Sheets.
Web Page Design. Some Terms Cascading Style Sheet, (CSS) –a style sheet language used to describe the look and formatting of a document written in html;
Tutorial #3 Cascading Style Sheets. Tutorial #2 Review - Anchors Links to Site DMACC Internal Links Go to Top Mail To me Local.
Web Programming Basics of HTML. HTML stands for Hyper Text Mark-up Language A mark-up language is different than those that you have learned before in.
A Basic Web Page. Chapter 2 Objectives HTML tags and elements Create a simple Web Page XHTML Line breaks and Paragraph divisions Basic HTML elements.
Introduction to CSS. What is CSS?  Cascading Style Sheets  Used for styling HTML  Also important in javascript and jquery for selectors  External.
Cascading Style Sheets Class 2, Lecture 2 Rachel A Ober
Introduction to Programming the WWW I CMSC Winter 2003 Lecture 7.
CS134 Web Design & Development Cascading Style Sheets (CSS) Mehmud Abliz.
ECA 228 Internet/Intranet Design I Intro to Markup.
DHTML. What is it? Dynamic HTML. Not a standard unlike HTML or Java It is a term applied by both Netscape and Microsoft to a collection of technologies.
HTML GUIDE Press F5 and then Click on the links on the left to get to the section you want Section 1: Getting Started Section 2: Moving Banner Section.
Cascading Style Sheets
CSS Cascading Style Sheets. Cascading Style Sheet (CSS) A cascading style sheet (CSS) is a set of rules that define styles to be applied to entire Web.
DYNAMIC HTML What is Dynamic HTML: HTML code that allow you to change/ specify the style of your web pages. Example: specify style sheet, object model.
HTML with Style!. What is a Style Sheet? CSS? Style Sheet CSSCascading Style Sheets A “language” for defining style rules. Rules that tell the browser.
Lecture 2: Cascading Style Sheets (CSS) Instructor: Dr. M. Anwar Hossain.
CSS Hadas Kahsay. Overview  What is CSS  Basic syntax of CSS Rules  How to link CSS style to html documents  Browsers and CSS  Advantages of CSS.
Using CSS to Create Some Style Module 5: Beyond the Basics with Expression Web LESSON 5.
Creating Web Pages with Links, Images, and Embedded Style Sheets
LT: I can use CSS to decorate a web page. Do Now: Get your storyboard, and log in to winhome. Write our a list of colors you want in your website. (Minimum.
Internet & World Wide Web How to Program, 5/e Copyright © Pearson, Inc All Rights Reserved.
Chapter 4 and 5. Objectives Introduce markup: elements and attributes How browsers interpret HTML documents Basic structure of HTML document What do style.
CASCADING STYLE SHEET 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.
WebD Introduction to CSS By Manik Rastogi.
CSS.
Web Protocols, Technologies and Applications
4.01 Cascading Style Sheets
Project 8 Creating Style Sheets.
Web Protocols, Technologies and Applications
Web Programming– UFCFB Lecture 11
Static and Dynamic Web Pages
Cascading Style Sheets™ (CSS)
Web Design and Development
Cascading Style sheet. What is CSS?  CSS stands for Cascading Style Sheets  Cascading: refers to the procedure that determines which style will apply.
4.01 Cascading Style Sheets
Presentation transcript:

CS 3870/CS 5870 Web Protocols, Technologies and Applications

2 Formatting HTML Pages CS3870/CS5870: Prog1 HTML Elements Bold face Underline emphasize italics Larger Size small size

3 Formatting HTML Pages Bold face Underline emphasize italics Larger Size small size

4 Using Style Large font size underlined Italics

5 Elements Not Supported in VS Large font size underlined Italics -1: using non-supported HTML element

6 Cascading Style Sheets (CSS) Inline Styles Internal Style Sheets External Style Sheets

7 Inline Styles Large font size underlined Italics

8 Creating Internal Style Sheets in VS Select the element to be formatted Click FORMAT on the menu bar New Style Specify the styles OK or Apply

9 Internal Style Sheets.myStyleClass { font-size:x-large; text-decoration: underline } CS3870/CS Prog1

10 Internal Style Sheets... CS3870/CS Prog1 Using internal CSS

11 Creating External Style Sheets in VS Click Solution Explorer Right click the folder you want the CSS file to be Click Add Click Style Sheet Specify CSS file name

12 External Style Sheets A text file with any name, e.g. myStyleSheet body { padding-left: 11em; }.navbar { padding: 0; margin: 0; position: absolute; top: 2em; left: 1em; width: 9em }

13 External Style Sheets CS3870/CS Prog1 My Home Page Absolute link Relative link

Prog1 Due 5:00 PM, Wednesday, September 9 Folder Name: Prog1 14

Browsers Different browsers implement HTML and CSS in different ways. Some browsers may not implement some rules at all. Must make sure your pages work as expected with IE in Lab

Grader It goes to the first page of the selected program of the selected student, including my sample program at CS