HTML Basics and CSS style

Slides:



Advertisements
Similar presentations
How To Make Your Own Web Page: Basic Web Design
Advertisements

HTML Basics Customizing your site using the basics of HTML.
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.
HTML Basics and CSS style. Before we start Dreamweaver (DW) may take several minutes to start. Click on Start => Program Files => Development Apps =>
Learning the Basics – Lesson 1
INSTRUCTIONAL SUPPORT SERVICES (ISS) SHORT COURSE, FALL 2013 UMSL Introduction to Web Page Design.
CHAPTER 7 STYLING CONTENT WITH CASCADING STYLE SHEETS.
UNIT 12 LO4 BE ABLE TO CREATE WEBSITES Cambridge Technicals.
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.
Building a Website: Cascading Style Sheets (CSS) Fall 2013.
กระบวนวิชา 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.
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.
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.
Ch. 5 Web Page Design – Templates and Style Sheets Mr. Ursone.
Introducing Cascading Style Sheets  Cascading Style Sheet Basics  Creating Styles  Using Styles  Manipulating Styles  Text Formatting with CSS.
ETT 429 Spring 2007 Web Design I.
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.
INSTRUCTIONAL SUPPORT SERVICES (ISS) SHORT COURSE, FALL 2012 UMSL Introduction to Web Page Design.
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.
Link and Table in HTML. Statistics HTML review The two faces of a HTML file In a notepad program. In a internet browser program. The function of HTML.
© 2010 Delmar, Cengage Learning Chapter 7 Using Styles and Style Sheets for Design.
Dreamweaver MX. 2 Creating External Style Sheets-1 (p. 400) n A style is a group of formatting attributes identified by a single name. n An ________ style.
Chapter 3 Working with Text and Cascading Style Sheets.
Copyright © Texas Education Agency, All rights reserved. 1 Web Technologies Website Development with Dreamweaver.
Web Technologies Website Development Trade & Industrial Education
WELCOME EF 105 Spring EF 105 Computer Methods in Engineering Problem Solving Week 2: FrontPage Introduction to Software Use to create Web Pages.
DREAMWEAVER Adding photos and other tips!. Making photo gallery  Gather ALL the photos you need into your images folder. (remember to copy the URL so.
Website Development with Dreamweaver
McGraw-Hill/Irwin Copyright © 2013 by The McGraw-Hill Companies, Inc. All rights reserved. Extended Learning Module F Building a Web Page with HTML.
Project 5 Templates and Style Sheets Dreamweaver MX 2004 Concepts and Techniques.
XP Dreamweaver 8.0 Tutorial 3 1 Adding Text and Formatting Text with CSS Styles.
Just A Few More Fun Objectives 1 Having Some Fun With Java Script 2 Using Style Sheets.
Tutorial #3 Cascading Style Sheets. Tutorial #2 Review - Anchors Links to Site DMACC Internal Links Go to Top Mail To me Local.
Formatting TEXT AND Using CSS. Adobe Dreamweaver CS3 - Illustrated.
Fall 2005 Using FrontPage to Enhance Blackboard - Darek Sady1 Using FrontPage to Enhance Blackboard 1.Introduction 2.Starting FrontPage 3.Creating Documents.
HTML Hyper Text Markup Language. What is an HTML File?  HTML stands for Hyper Text Markup Language  An HTML file is a text file containing small markup.
All you ever needed to know…and more!. H.T.M.L. HyperText Mark-up Language Web’s programming language All web browsers Set of instructions Written with.
Macromedia Dreamweaver 8-- Illustrated Introductory 1 Macromedia Dreamweaver 8 Unit D Formatting Text and Using Cascading Style Sheets.
Templates and Style Sheets
Introducing Cascading Style Sheets. Cascading Style Sheet Basics  Cascading Style Sheet Basics  Creating Styles  Using Styles  Manipulating Styles.
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.
Tutorial 3 Adding and Formatting Text with CSS Styles.
Macromedia Dreamweaver 8 Revealed AND GRAPHICS WORKING WITH TEXT.
Macromedia Dreamweaver 8 Revealed WEB PAGE DEVELOPING A.
Spiderman ©Marvel Comics Creating Web Pages (part 1)
Creating Web Pages with Links, Images, and Embedded Style Sheets
XP New Perspectives on Macromedia Dreamweaver MX 2004 Tutorial 5 1 Adding Shared Site Elements.
XP Dreamweaver MX 2004 Tutorial 3 1 Adding and Formatting Text.
Review session for Web development. Today’s class Review the web designing. Filling out instructor evaluation form.
WebD Introduction to CSS By Manik Rastogi.
MIS 3200 – C# (C Sharp)
Let’s Try It! Open Notepad
INTRO TO WEB DEVELOPMENT html
LAB Work 01 MBA 61062: E-Commerce
With Microsoft FrontPage 2000
Learning the Basics – Lesson 1
Chapter A - Getting Started with Dreamweaver MX 2004
Madam Hazwani binti Rahmat
Unit Objectives Create a new page Import text Set text properties
Introduction to web design discussing which languages is used for website designing
IS333: MULTI-TIER APPLICATION DEVELOPMENT
Cheat Sheet CSCI 100 JW Ryder
Cheat Sheet CSCI 100 JW Ryder
Using Cascading Style Sheets (CSS)
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.
Session 3: Basic CSS Spring 2009
Introduction to Cascading Style Sheets (CSS)
Introduction to Styling
Presentation transcript:

HTML Basics and CSS style

Before we start Dreamweaver (DW) may take several minutes to start. Click on Start => Program Files => Development Apps => Web => Dreamweaver MX => Dreamweaver MX to start the program. Accept default choice for layout. Minimizing the Dreamweaver. We will use it later. Copy Everything from my public folder (including this ppt file) to your P:\ drive. U:\msu\user\n\a\nanzhang\public

HTML File Structure <HTML> <HEAD> </HEAD> <BODY> </BODY> </HTML> Open a Notepad window. Copy the HTML tags to the Notepad.

Web Page Development Cycle EDIT and SAVE the file in your AFS p:\web\index.html TEST by BROWSING to the page http://www.msu.edu/~msunetid/index.html

Adding Text to Your HTML File <HEAD> <TITLE>My home page</TITLE> </HEAD> <BODY> My name is your name. My major is your major. </BODY> </HTML>

Making paragraphs <HTML> <HEAD> <TITLE>My home page</TITLE> </HEAD> <BODY> <p> My name is your name.</p> <p> My major is your major. </p> </BODY> </HTML>

Adding Information to Web Page My name is your name My major is your major I am creating this page for LBS 126 and will be modifying this page throughout the course. Please visit again!

More HTML tag pairs <u> </u> tag pair is for underline <em> </em> tag pair is for italic style. <H1> </H1> … <H6> </H6> are headlines with different sizes.

Formatting Your Web Page with more tags My name is your name My major is your major I am creating this page for CSE 101 and will be modifying this page throughout the course. Please visit again! Underline & Italic Italic H2 You can switch back to the coding window to see what HTML tags were inserted into you document. Separate Paragraph Separate Paragraph Underline

Now it is time to use Dreamweaver MX

Make this a link to the LBS Home page Creating a Link My name is your name My major is your major I am creating this page for CSE 101 and will be modifying this page throughout the course. Please visit again! Make this a link to the LBS Home page Question: what is the HTML tag for Links?

More things to do Make a bullet list for your four favorite things in MSU. Change the font of this list to “Times New Roman” Changing page properties: Set background color for the page. What else can you change for the page properties? Download a MSU logo, save to your web folder and insert to the top of your page. Question: what is the HTML tag for Images?

Problems The Tags only provided limited formatting. H1 is always that big. Links always have an underscore. You can manually change the format for all the H1 headlines, but what about your have 100 pages in your web site? Can we customize the HTML tags?

Cascading Style Sheets (CSS) What is style? Style is a list of formatting instructions. A Cascading Style Sheet is a file with a list of formatting instructions. CSS style sheets are the modern way to control the appearance and layout of your web pages. 4.0 and up Navigator and IE fully support CSS.

Unpacking Sample Web Site Open the file common.zip you just copied using EnZIP Click on Edit => Extract and extract the files to your web folder The files will appear in a new folder commons Browse to the practice web site http://www.msu.edu/~MSUNetID/commons/ Why didn’t you give a file name in the URL? View all seven pages in the site. What tags control the formatting of the headings?

Cascading Style Sheet Enter the following text into a new Notepad document h2 { font-family : Tahoma; color : blue; text-align : center; } Save the document in the commons folder as csense.css Save as file type Text Document

Attach a Style Sheet to HTML files In properties window->Styles drop box, choose “Manage styles…” Use “Attach…” to attach the .css file you just created. Do the same thing for all the seven pages. What happens?

Modifying CSS styles h2 { font-family : Tahoma; color: blue; text-align: center; text-transform : uppercase; } body { font-family : Courier New; background-color : #FFEEDD; color : #777733;

Separation of Content and Presentation Use tags like <h1>, <h2>, <p>, <em> or <li> to indicate the structure of your pages Presentation Use a CSS style sheet to determine how the tags are formatted Advantage of separation Changing the formatting only requires editing the style sheet

Edit styles in Dreamweaver In the Design->CSS Styles window you can edit the styles you already have, or create new styles. Let’s create a new style for the link HTML tag: <a> </a> High light the CSS file first Click here

Change the style of HTML Link Tag a:link – Customizes the style of a link that has not been visited recently a:visited -- Customizes the style of a link that has been recently visited a:hover -- Customizes the style of a link while the user’s mouse is over it.

Extra material Downloading the Macromedia Dreamweaver tutorial file from the lecture notes page.