Bare boned notes.

Slides:



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

Chapter 1: Introduction. Contents Whats New in Dreamweaver CS4? The Dreamweaver CS4 Interface Setting Up a Site Creating a Web Page Adding Text to Your.
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.
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.
Chapter 3 Working with Text and Cascading Style Sheets.
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
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 7 TH EDITION Chapter 3 Key Concepts 1 Copyright © Terry Felke-Morris.
Overview of HTML. Three Different Approaches  Text editor like Notepad  HTML editor such as: –KompoZer –DreamWeaver –Microsoft Expression Web –iWeb.
Cascading Style Sheet. What is CSS? CSS stands for Cascading Style Sheets. CSS are a series of instruction that specify how markup elements should appear.
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.
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.
Introduction to HTML. What is HTML? Hyper Text Markup Language (HTML) is a language for describing web pages. HTML is not a programming language, it is.
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.
Cascade Style Sheet Introduction. What is CSS?  CSS stands for Cascading Style Sheets  Styles define how to display HTML elements  Styles were added.
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.
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.
Introduction To CSS. Lesson 1: History of CSS CSS was proposed in 1994 as a web styling language. To helps solve some of the problems HTML 4. There were.
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.
Cascading Style Sheets Part 1
Cascading Style Sheets
Web Development & Design Foundations with HTML5
Bare bones notes.
Madam Hazwani binti Rahmat
Web Developer & Design Foundations with XHTML
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
CSS Cascading Style Sheets
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.
DynamicHTML Cascading Style Sheet Internet Technology.
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.
DynamicHTML Cascading Style Sheet Internet Technology.
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.
Please bookmark your URL
HTML & CSS 7 Languages in 7 Days.
Web Design & Development
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
Web Programming and Design
Presentation transcript:

Bare boned notes

A few review items: 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

  What is difference? Block elements:  Normally start (and end) with a new line. Eg. p, h1, blockquote, div, etc. Inline elements: Displayed in line with text without creating a new line. Eg. img, meta, span, etc.

A few essentials Show file extensions Notepad++ -- RUN>Launch command HTML Comments View source code See next slides

Turn on extensions In Windows 8 or10, click VIEW, Options, Change Folder & Search Options In windows 7, click that Organiz button on the left, then … Mac OS, FINDER, Preferences

What are purposes of HTML Comments? Here’s how: <!--Your comments here --> How to view source codes: CTRL-U in Firefox or Chrome Or right click and choose “Page Source” <!--Your comments here -->

…Continue 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.   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:

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

On day 1, we created only template and index pages Practice for Chapter 3: Assume that you are a freelance web designer and need to create a website to promote your freelance company. On day 1, we created only template and index pages

Let’s take a break and work it out.

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

Mini Review of Cascading Style Sheets A style is: A group of formats that are setup as a unit and can be applied repeatedly. (generic definition) Advantages of CSS: Easy to edit and maintain More control (more features) Separate appearance from structure Can be stored and associated with web pages Smaller pages, potentially 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. 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">

Additional color sites https://color.adobe.com http://paletton.com   http://www.colr.org (if you want to choose colors based on a picture)

See table on page 85 to see all that we will cover