Bare bones notes.

Slides:



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

Introduction to HTML & CSS
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 – Designing your web pages Dr. Stephanos Mavromoustakos.
1 Web Developer & Design Foundations with XHTML Chapter 9 Key Concepts.
กระบวนวิชา CSS. What is CSS? CSS stands for Cascading Style Sheets Styles define how to display HTML elements Styles were added to HTML 4.0 to.
Web Design with Cascading Style Sheet Lan Vu. Overview Introduction to CSS Designing CSS Using Visual Studio to create CSS Using template for web design.
4.01 Cascading Style Sheets
Tutorial 3: Adding and Formatting Text. 2 Objectives Session 3.1 Type text into a page Copy text from a document and paste it into a page Check for spelling.
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 7 TH EDITION Chapter 3 Key Concepts 1 Copyright © Terry Felke-Morris.
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.
© 2010 Delmar, Cengage Learning Chapter 7 Using Styles and Style Sheets for Design.
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.
Chapter 3 Working with Text and Cascading Style Sheets.
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 Chapter 3 Key Concepts 1 Copyright © Terry Felke-Morris.
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 Chapter 3 Key Concepts 1 Copyright © Terry Felke-Morris.
Cascading Style Sheets. Defines the presentation of one or more web pages Similar to a template Can control the appearance of an entire web site giving.
Bare bones notes. Suggested organization for main folder. REQUIRED organization for the 115 folder.
 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.
Overview of HTML/XHTML Two Different Approaches  Text editor like Notepad  HTML editor such as: –KompoZer –DreamWeaver –Microsoft Expression Web –iWeb.
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.
Tutorial 3 Adding and Formatting Text with CSS Styles.
Cascading Style Sheets
CSS Cascading Style Sheets A very brief introduction CSS, Cascading Style Sheets1.
Practice for Chapter 3: Assume that you are a freelance web designer and need to create a website to promote your freelance company.
Creating Web Pages with Links, Images, and Embedded Style Sheets
CONFIGURING COLOR AND TEXT WITH CSS Chapter 3. Cascading Style Sheets (CSS) Used to configure text, color, and page layout. Launched in 1996 Developed.
Web Development & Design Foundations with XHTML
Getting Started with CSS
Section 4.1 Section 4.2 Format HTML tags Identify HTML guidelines
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.
Cascading Style Sheets
Web Development & Design Foundations with HTML5
Procedure Download data files.
Madam Hazwani binti Rahmat
Web Developer & Design Foundations with XHTML
Using Cascading Style Sheets Module B: CSS Structure
Basics of Web Design Chapter 4 Cascading Style Sheets Basics Key Concepts Copyright © 2013 Terry Ann Morris, Ed.D.
Web Development & Design Foundations with HTML5
IS333: MULTI-TIER APPLICATION DEVELOPMENT
Website Design 3
Cascading Style Sheets - Building a stylesheet
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)?
Overview of HTML.
Some Stuff You Need to Know
Bare bones notes.
Tutorial 3 Working with Cascading Style Sheets
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
HTML & CSS 7 Languages in 7 Days.
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%)
Presentation transcript:

Bare bones notes

Review & Finish Chapter 2 Characteristics of web pages 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 CASE SENSITIVE. Tags are not case sensitive, but the standard is lowercase. The first page in a web site should be named index.htm or index.html REASON: As the default filename, it nicely shortens your URL example: www.cofc.edu instead of: www.cofc.edu/ourhomepage.htm

   A few other items: 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? Block display elements:  normally start (and end) with a new line. Inline elements: Displayed in line with text without creating a new line.

Turn on file extensions In Windows 8 or10: Click VIEW, Options, Change Folder & Search Options In Windows 7: Click that Organize button on the left, then … Mac OS: FINDER, Preferences

Status of the 2 assignments     Assignment page: Already graded Chapter 2: We will link today. You can finish uploading by midnight if you have trouble.

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 it’s own folder. So far we have: The 115 folder itself It includes your assignment page and banner. A folder called javajam that’s 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 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="javajam/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 Chapter 2 Case Study would be: <a href="javajam/index.html">Chapter 2 Case Study</a>

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 (more features)   Advantages of style More control (more features) Separate from structure 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">

CSS Selector types HTML element What is difference? 2. class 3. id And finally, what is a: descendant selector

Using Color: There are several ways of applying color. Names: modern browsers support140 including extended names (per w3schools.com) RGB: rgb(0,150,220) (the intensity of rgb from 0 – 255) Hexadecimal: #9400BF -uses base 16. 0-9 and A-F to specify numeric value. -includes 3 pairs, 2 characters for each RGB    Search “hex colors” or html color names to get chart, or go to http://w3schools.com/html/html_colors.asp Or http://webdevfoundations.net/color

Color Scheme Websites https://coolors.co – Best for exploring existing schemes and downloading text version. Simply choose “Explore” then “Export”. You can also search by “filter”. http://colorpalettes.net – a user-friendly website with attractive palettes based on pictures. You can go to this page to see tagged descriptions of palettes. http://paletton.com – A great and sophisticated website. Best to read the brief instructions on using it.  http://www.colr.org – For choosing colors based on a picture. https://color.adobe.com – Best to click “Explore” to see schemes. A very popular tool, but must copy & paste each hex color individually.

See table on page 85 to see all that is covered in the chapter.

Don’t worry about all three pages, we’ll start simply with home page. Practice for Chapter 3: Assume that you are a freelance web designer and need to create a website to promote your freelance company. Don’t worry about all three pages, we’ll start simply with home page.

Create folder called “freelance” Practice for Chapter 3 (continued) Steps to begin: Create folder called “freelance” Create the first page as template.html. In addition to the basic HTML tags, the only other elements we’ll use on all pages are: div for the wrapper, header, nav, footer, and link to CSS. Use dummy text from www.blindtextgenerator.com to create your index.html page: HINT: Save your template using “save as”

Make your file look similar to this Practice for Chapter 3 (continued) Make your file look similar to this