Lesson 2 Adding more content to your web page. Thanks to Richard Hudnutt, Luella HS.

Slides:



Advertisements
Similar presentations
Tables Feb. 14, Tables Great way to organize and display information Laid out in columns and rows Think of an excel spreadsheet Defined with tag.
Advertisements

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.
CSS The basics { }. CSS Cascading Style Sheets - language used to – describe html appearance & formatting Style Sheet - file that describes – how html.
Cascading Style Sheets: Basics I450 Technology Seminar Copyright 2003, Matt Hottell.
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.
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.
Web Pages and Style Sheets Bert Wachsmuth. HTML versus XHTML XHTML is a stricter version of HTML: HTML + stricter rules = XHTML. XHTML Rule violations:
กระบวนวิชา 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 8 Creating Style Sheets.
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.
Cascading Style Sheets Understanding styles. The term cascading describe the capability of a local style to override a general style. CSS applies style.
Chapter 7 Using Advanced Cascading Style Sheets HTML5 & CSS 7 th Edition.
Prepared by ackoo Styli n g your page (font type, font size, colors, text decoration, alignment, set margin, table padding, etc.) References: W3Schools.
HCI 201 Week 6 Client Side Image Maps Introduction to CSS.
4.01 Cascading Style Sheets
Tags & Formatting Internet Basics & Beyond. Stand Alone Tags  Remember how I told you in lesson two that most HTML tags work in pairs, but that there.
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.
Basics of HTML.
Creating Tables in a Web Site Using an External Style Sheet
HTML. We’ll learn … What HTML is What tags are What a basic web page looks like What 3 HTML tags are required What HTML comments look like How to title.
HTML Concepts and Techniques Fourth Edition Project 8 Creating Style Sheets.
Working with Cascading Style Sheets. Introducing Cascading Style Sheets Style sheets are files or forms that describe the layout and appearance of a document.
Chapter 11 Cascading Style Sheets: Part I The Web Warrior Guide to Web Design Technologies.
 ult.htm ult.htm  This website illustrates the use of CCS (style sheets)
Cascading Style Sheets (CSS) 1.  What is CSS?  Why CSS?  How to write a CSS? 2.
The Characteristics of CSS
More Basic HTML. Add spacing (single & double space) Save Refresh Add horizontal rule Add comments Add styles Add headings Add features Add alignments.
1 What is CSS?  CSS stands for Cascading Style Sheets  Styles define how to display HTML elements  Styles are normally stored in Style Sheets  Styles.
 This presentation introduces the following: › 3 types of CSS › CSS syntax › CSS comments › CSS and color › The box model.
15.2 More Basic HTML. More Basic HTML Add spacing (single & double space) Save Refresh Add horizontal rule Add comments Add styles Add headings Add features.
CSS CSS is short for C ascading S tyle S heets. It is a new web page layout method that has been added to HTML to give web developers more control over.
CSS Basic (cascading style sheets)
Essentials of HTML Class 4 Instructor: Jeanne Hart
Cascade Style Sheet Introduction. What is CSS?  CSS stands for Cascading Style Sheets  Styles define how to display HTML elements  Styles were added.
CS134 Web Design & Development Cascading Style Sheets (CSS) Mehmud Abliz.
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 Creating a Uniform Site. Style Sheets  Style sheets are used for conformity on a web page or web site.  Style sheets eliminate.
Cascading Style Sheets CSS. Source W3Schools
Introduction to CSS. Why CSS? CSS Provides Efficiency in Design and Updates CSS relatively easy to use Can give you more flexibility and control Faster.
XHTML Formatting font with a style declaration. Formatting Font HTML uses the font tag to change size and family of font But… the font tag is being deprecated.
Cascading Style Sheets
Are You Smarter Than a 5 th Grader? 1,000,000 5th Grade HTML 5th Grade Syntax 4th Grade HTML 4th Grade Syntax 3rd Grade HTML 3rd Grade Syntax 2nd Grade.
CSS Cascading Style Sheets A very brief introduction CSS, Cascading Style Sheets1.
External Style Sheets Exploring Computer Science – Lesson 3-6.
How to… Cascading Style Sheets. How to Insert a Style Sheet When a browser reads a style sheet, it will format the document according to it. There are.
Cascading Style Sheets (CSS) EXPLORING COMPUTER SCIENCE – LESSON 3-5.
HTML HTML stands for Hyper Text Markup Language. HTML is used in making the base of a Website You can just use an online website maker like weebly.com.
Practice for Chapter 3: Assume that you are a freelance web designer and need to create a website to promote your freelance company.
Group 9: Through examples, explain how to build a css navigation bar. Presented by: Daniel Ku, Matt Iannacci & Iphia Henry.
HTML. Hyper Text Markup Language Markup your text document The markup is the tag Hyper text means you can jump from place to place Programming language.
IT Accessibility Committee Cascading Style Sheets Presented by Michael B. Short Prepared by The NYS Forum IT Accessibility Committee
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.
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.
Cascading Style Sheets (CSS)
CSS HTML and website development.
4.01 Cascading Style Sheets
Madam Hazwani binti Rahmat
CX Introduction to Web Programming
Intro to CSS CS 1150 Fall 2016.
Intro to CSS CS 1150 Spring 2017.
15.2 More Basic HTML & CSS.
CS134 Web Design & Development
Tutorial 3 Working with Cascading Style Sheets
Web Design & Development
4.01 Cascading Style Sheets
Presentation transcript:

Lesson 2 Adding more content to your web page. Thanks to Richard Hudnutt, Luella HS

Add to your page. Open your Note Pad document from yesterday.

Add tags to your page Let’s add a paragraph of text to your page. Text is not formatted in a web page, so we will put it in order with some paragraph tags. – This is a sentence. This is a sentence. This is a sentence. This is a sentence. Opening paragraph tag Closing paragraph tag

Example of your page

Now make two real paragraphs Replace the “This is a sentence” sentences with real sentences. In this paragraph, describe in your own words, how you made this page up to this point. Make a new paragraph (don’t forget your p tags) In this paragraph, describe how you felt after making this page. (3-5 complete sentences)

Replace some information Replace “My first Web page” with How to make a Web page This is a Heading, there are 6 sizes, h1-h6 Which heading size is biggest??? Set a heading size that you want.

Add some decoration We are now going to insert a horizontal rule, this is nothing more than a line across your screen. - this is a one sided tag and has the / at the end of the tag instead of having an opening and closing tag. Insert a horizontal rule after your heading, after your first paragraph, and after your second paragraph.

Let’s add some color Web Design Lesson 4

Open your previous page

Add a style to your h1 tag Put the style inside the h1 tag, so it will only affect that tag’s contents

Now you have a red heading

Now let’s add color to our body Adding the style to the body tag, affects everything on the page. Again, keep it within the signs

Here is what it looks like now Black text on grey does not work well, so let’s change the text color to white

Add another style to Add a ; and another style

Now it looks like this

Now follow the link for styles Try to style some other parts of your page.

A few words about styles Html tags are for CONTENT Styles are for how things are going to appear. – color, positioning, and decorations are now done with styles – mainly using CSS (Cascading Style Sheets) There are 3 types of CSS – – Inline (what we have used) – Embedded (at the top of the page in the head section) – External, on another document entirely.

A word about styles The newer web design rules (from the World Wide Web Consortium – W3C) dictate that styles should be used instead of deprecated (tags no longer used) tags. You will see some pages with font, center, and other types of deprecated tags. They do work, but it is not correct, it is not good web design practice.