Some Stuff You Need to Know

Slides:



Advertisements
Similar presentations
HTML Basics Customizing your site using the basics of HTML.
Advertisements

CSS Cascading Style Sheets. Objectives Using Inline Styles Working with Selectors Using Embedded Styles Using an External Style Sheet Applying a Style.
Cascading Style Sheets
HTML Overview - Cascading Style Sheets (CSS). Before We Begin Make a copy of one of your HTML file you have previously created Make a copy of one of your.
CHAPTER 7 STYLING CONTENT WITH CASCADING STYLE SHEETS.
Chapter 3 Working with Text and Cascading Style Sheets.
4.01 Cascading Style Sheets
Working with Text and Cascading Style Sheets Adobe Dreamweaver Chapter 3.
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.
Cascading Style Sheets (CSS) Instructor: Mr. Ahmed Al Astal ITGD4104 Department Requirement for senior student University of Palestine Faculty of IT.
Chapter 4 Cascading Style Sheets Basics Key Concepts Copyright © 2013 Terry Ann Morris, Ed.D 1.
Cascading Style Sheets Dreamweaver. Styles Determine how the HTML code will display Determine how the HTML code will display Gives designers much more.
 ult.htm ult.htm  This website illustrates the use of CCS (style sheets)
Chapter 3 Working with Text and Cascading Style Sheets.
Bare bones notes. Suggested organization for main folder. REQUIRED organization for the 115 folder.
Introduction To CSS.. HTML Review What is HTML used for? Give some examples of formatting tags in HTML? HTML is the most widely used language on the Web.
 This presentation introduces the following: › 3 types of CSS › CSS syntax › CSS comments › CSS and color › The box model.
The format is text files, with.htm or.html extension. Hard returns, tabs, and extra spaces are ignored. DO NOT use spaces in file names. File names ARE.
Bare bones slide show. The format is text files, with.htm or.html extension. Hard returns, tabs, and extra spaces are ignored. DO NOT use spaces in file.
Use CSS to Implement a Reusable Design Selecting a Dreamweaver CSS Starter Layout is the easiest way to create a page with a CSS layout You can access.
INTRODUCTION TO CSS. TOPICS TO BE DISCUSSED……….  Introduction Introduction  Features of CSS Features of CSS  Creating Style Sheet Creating Style Sheet.
© 2011 Delmar, Cengage Learning Chapter 3 Working with Text and Cascading Style Sheets.
LEARN THE QUICK AND EASY WAY! VISUAL QUICKSTART GUIDE HTML and CSS 8th Edition Chapter 8: Working with Style Sheets.
Cascading Style Sheets
CSS Cascading Style Sheets A very brief introduction CSS, Cascading Style Sheets1.
Web Technologies Beginning Cascading Style Sheets (CSS) 1Copyright © Texas Education Agency, All rights reserved.
Practice for Chapter 3: Assume that you are a freelance web designer and need to create a website to promote your freelance company.
What is CSS? A set of style rules that tell the web browser how to present a web page or document. – In earlier versions of HTML, style characteristics,
1 Cascading Style Sheet (CSS). 2 Cascading Style Sheets (CSS)  a style defines the appearance of a document element. o E.g., font size, font color etc…
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.
Cascading Style Sheets Using HTML. What are they? A set of style rules that tell the web browser how to present a web page or document. In earlier versions.
CSS Introductions. Objectives To take control of the appearance of a Web site by creating style sheets. To use a style sheet to give all the pages of.
Working with Cascading Style Sheets
Getting Started with CSS
4.01 Cascading Style Sheets
Web Development & Design Foundations with HTML5 8th Edition
Basics of Web Design Chapter 4 Cascading Style Sheets Basics Key Concepts Copyright © 2013 Terry Ann Morris, Ed.D.
Bare boned notes.
>> Introduction to CSS
Intro to Dreamweaver Web Design Section 8-1
Cascading Style Sheets
Procedure Download data files.
Bare bones notes.
Madam Hazwani binti Rahmat
CX Introduction to Web Programming
Using Cascading Style Sheets Module B: CSS Structure
Cascading Style Sheets (CSS)
Basics of Web Design Chapter 4 Cascading Style Sheets Basics Key Concepts Copyright © 2013 Terry Ann Morris, Ed.D.
Intro to CSS CS 1150 Fall 2016.
Web Development & Design Foundations with HTML5
CASCADING STYLE SHEET CSS.
IS333: MULTI-TIER APPLICATION DEVELOPMENT
Website Design 3
Cascading Style Sheets - Building a stylesheet
Intro to CSS CS 1150 Spring 2017.
Basics of Web Design Chapter 4 Cascading Style Sheets Basics Key Concepts Copyright © 2013 Terry Ann Morris, Ed.D.
Working with Text and Cascading Style Sheets
Working with Cascading Style Sheets (CSS)
Working with Cascading Style Sheets (CSS)
What are Cascading Stylesheets (CSS)?
Bare bones notes.
Web Design and Development
Exercise 9 Skills You create and use styles to create formatting rules that can easily by applied to other pages in the Web site. You can create internal.
Made By : Lavish Chauhan & Abhay Verma
Please bookmark your URL
Basics of Web Design Chapter 4 Cascading Style Sheets Basics Key Concepts Copyright © 2016 Terry Ann Morris, Ed.D.
Cascading Style Sheets - Building a stylesheet
4.01 Cascading Style Sheets
5.00 Apply procedures to organize content by using Dreamweaver. (22%)
Cascading Style Sheets III B. Com (Paper - VI) & III B
Presentation transcript:

Some Stuff You Need to Know

Review a few items: HTML5 Structural Elements – semantically named elements used to configure specific parts of pages. div: generic container for block elements span: generic container for inline elements What is difference between block & inline? Block display elements:  normally start (and end) with a new line. Inline elements: Displayed in line with text without creating a new line.

Questions: What are some examples of HTML5 structural elements? What are some examples of inline and block elements?

Turn on file extensions: In Windows 8 or10: Click VIEW, Options, Change Folder & Search Options Mac OS: FINDER, Preferences

Status of the assignments     Assignment page: Already graded Chapter 2 Case Study: Due today. Will upload at end of class Chapter 3 Case Study: Due Feb. 8 You will link to homework page on your own. We will not do it during class.

Expectations for Chapters 2, 3, and 4 assignments For the assignments in these chapters, please do precisely what the textbook instructs. Do not add any extra styles or content. And when you get to Chapter 3, I’d prefer for you to ignore the very last paragraph after step 3 on page 133.

start CHAPTER 3 What is CSS?     What is CSS? A style sheet language used to describe the appearance and formatting of a HTML document. As with other types of styles, several formats can be included in one style. In other words… A group of formats that are setup as a unit and can be applied repeatedly. (generic definition)

Advantages of style More control   Advantages of style More control Separate from structure (more features) Can be re-used (applied to multiple pages; multiple sites) Smaller potentially Easy to edit and maintain

Syntax Selector {property: value; property: value; }   h1 {text-align: center; color: #0000ff; } Here is a visual of it:

Types of CSS: Inline: Added as an attribute of an HTML tag and only applies to that individual element. Used to override others. Embedded: Defined in the head area between <style> tags. Applies to the body of that document. External: A separate file which is linked in the <head> section. Used for entire website.

Summary of Cascading Style Sheets Syntax & example for inline style: <element style="property: value"> <blockquote style="color: #cc99ee" > Syntax & example for other CSS: selector {property: value";} p { line-height: 140%; color: #ff00ff; } Link to external CSS file: <link rel="stylesheet" href="yourfile.css">

Quick source for color code for Jan 28    Search “hex colors” to get chart, or go to http://webdevfoundations.net/color

Cursory hands-on Intro, January 28, 2019 Make a copy of your 115/index.html page. (Decide later if you want to make it the real assignment page. We will do the following. Modify <h1> Change bullet types Change the <dt> And a few more

ORGANIZATION OF FOLDERS You should have a folder called 115. The rule/idea is that EVERYTHING that will be submitted must go in that folder. Another rule is that each website must have its own folder. So far we have: The 115 folder itself It includes your assignment page and banner. A folder called yoga, which is inside of 115 As you study, you should download the files from the textbook website to practice with. But DO NOT put in 115 folder. And finally – for each chapter we will create a practice site similar to “semester plans”. DO NOT put those folders in 115 either.

Suggested organization for your main folder.

RELATIVE LINKS (discussed in Chap 7) Both files on same level: filename.ext Folder on same level as your file: foldername/filename Link to a folder one level up: ../foldername/filename For Example: <img src="banner.jpg" alt="my banner"> Therefore, if you named your files and folders as recommended, your link to Chapter 2 Case Study would be: <a href="yoga/index.html">Chapter 2 Case Study</a> For Example: <a href="../chapter11/canvas.html">Example</a>

Therefore, if you named your files and folders as recommended, your link to Chapters 2 & 3 Case Studies would be: <a href="yoga/index.html">Chapter 2 Case Study</a> <a href="yogacss/index.html">Chapter 3 Case Study</a>