FUNDAMENTALS OF HTML, XHTML & CSS Lesson 4. THE OBJECTIVES -  In this lesson you will begin coding in HTML to provide the structure  You will learn.

Slides:



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

Introduction to HTML & CSS
HTML.
Website Design.
 To create page, Komodo Editor  To share web page, UNC SERVER, ISIS (  To transfer page to ISIS,
Chapter 3 Working with Text and Cascading Style Sheets.
Links and Comments.
Creating Tables in a Web Site Using an External Style Sheet HTML5 & CSS 7 th Edition.
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.
Basic Web Page Design. Text book: HTML, XHTML, and CSS: Visual QuickStart Guide, Sixth Edition written by Elizabeth Castro. Software: Adobe® Dreamweaver®
Adding Websites to a Folder  Putting sites into an already existing folder Putting sites into an already existing folder  Adding an image on the icon.
Basics of HTML.
 Using Microsoft Expression Web you can: › Create Web pages and Web sites › Set what you site will look like as you design it › Add text, images, multimedia.
Creating A Simple Web Page. Step 1- Open Dreamweaver & Create A New Page (File New) and blank.
HTML Concepts and Techniques Fourth Edition Project 8 Creating Style Sheets.
Chapter 3 Working with Text and Cascading Style Sheets.
Copyright © Texas Education Agency, All rights reserved. 1 Web Technologies Website Development with Dreamweaver.
Using Dreamweaver. Slide 1 Dreamweaver has 2 screens that do different things The Document window where you create your WebPages The Site window where.
Web Page Basics XHTML & CSS 1. Planning Decide on topic or research the topic given to you. Decide on your colour scheme. Use
Web Design (5) Navigation (1). Creating a new website called ‘Navigation’ In Windows Explorer, open the folder “CU3A Web Design Group”; and then the sub-folder.
Using Hyper Text Markup Language to develop a Web page.
HTML INTRODUCTION, EDITORS, BASIC, ELEMENTS, ATTRIBUTES.
HTML. WHAT IS HTML HTML stands for Hyper Text Markup Language HTML is not a programming language, it is a markup language A markup language is a set of.
Lesson 2 Adding more content to your web page. Thanks to Richard Hudnutt, Luella HS.
HTML CRASH COURSE. What is HTML?  Hyper Text Markup Language  The language used to make web pages  Written by using tags.
Introduction to HTML. What is a HTML File?  HTML stands for Hyper Text Markup Language  An HTML file is a text file containing small markup tags  The.
CSS Basic (cascading style sheets)
By Brieya. What is HTML Hypertext Markup Language, a standardized system for tagging text files to achieve font, colour, graphic, and hyperlink effects.
Formatting TEXT AND Using CSS. Adobe Dreamweaver CS3 - Illustrated.
Web Design (2) Brackets - introduction. Brackets Brackets is a web design code editor It is an open-source project initiated by Adobe (creator of Dreamweaver)
Just Enough HTML How to Create Basic HTML Documents.
Fall 2005 Using FrontPage to Enhance Blackboard - Darek Sady1 Using FrontPage to Enhance Blackboard 1.Introduction 2.Starting FrontPage 3.Creating Documents.
Unit 3 Day 6 FOCS – Web Design. Journal Unit #3 Entry #4 Write the source code that would make the following display on a rendered page: Shopping List.
1 Creating a Second Web Page This section shows you how to create the Huntington Beach Web site.
INTRODUCTORY Tutorial 1 Using HTML Tags to Create Web Pages.
Sports Website Creation. In this project you will design and produce your own website.
© 2011 Delmar, Cengage Learning Chapter 3 Working with Text and Cascading Style Sheets.
HTML Concepts and Techniques Fifth Edition Chapter 4 Creating Tables in a Web Site.
Cascading Style Sheets
Web Design (12) CSS Introduction. Cascading Style Sheets - Defined CSS is the W3C standard for defining the presentation of documents written in HTML.
1 After completing this lesson, you will be able to: Understand the basics of HTML coding. Use HTML tags. Plan an HTML site. Create a table with HTML.
Introduction to CSS Layout
Spiderman ©Marvel Comics Creating Web Pages (part 1)
Creating and Editing a Web Page
Lesson 2 – Unit B. Quick review 1. What is the name of the eGCC host that you ftp your files? 2. What type of software do you use to create and edit web.
IN THIS LESSON, WE WILL BECOME FAMILIAR WITH HTML AND BEGIN CREATING A WEB PAGE IN YOUR COMPUTER HTML – the foundation.
1 Preparation for site Create a folder in MyDocuments: beavercheese. Create a subfolder, images Classes, career, DW beginner Download.
Creating and Editing a Web Page Using Inline Styles
CSS IS A LANGUAGE DESIGNED TO TARGET HTML ELEMENTS AND NODES BY TYPE, CLASS, ID AND VALUE, AND CHANGE THEIR VALUES CSS – change how your HTML looks and.
Creating Web Pages with Links, Images, and Embedded Style Sheets
Basic Web Page Design. Text book: HTML, XHTML, and CSS: Visual QuickStart Guide, Sixth Edition written by Elizabeth Castro. Software: Adobe® Dreamweaver®
Microsoft Expression Web - Illustrated Unit A: Getting Started With Microsoft Expression Web.
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.
Introduction to CSS Layout
Web Basics: HTML/CSS/JavaScript What are they?
Links and Comments in HTML5
Formatting Text with CSS
Learning the Basics – Lesson 1
Fundamentals of HTML, XHTML & CSS
3.00cs HTML Overview 3.00cs Develop webpages.
Creating Tables in a Web Site Using an External Style Sheet
Advanced CSS Layout Lesson 5.
Cheat Sheet CSCI 100 JW Ryder
Unit A.
Cheat Sheet CSCI 100 JW Ryder
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.
Creating your first website
Advanced CSS Layout Lesson 5.
4.00 Apply procedures to add content by using Dreamweaver. (22%)
Presentation transcript:

FUNDAMENTALS OF HTML, XHTML & CSS Lesson 4

THE OBJECTIVES -  In this lesson you will begin coding in HTML to provide the structure  You will learn the three possible locations of CS sheets and the strength of each in relation to HTML  You will style with CSS

THE W3C AND PAGE VALIDATION  Page validation is viewed by many web designers as a tool to help troubleshoot HTML and CSS problems such as a typographical errors or incorrect syntax (rules).  I’d like you think of the W3C page validation as the equivalent of spellcheck.  Remember that 100% validations is a worthy goal but not always possible nor necessary.  Lets test a popular website and see of the site validates and if it does not validate what are the errors.

LET’S PUT WC3 PAGE VALIDATOR TO USE  Launch an internet bowser  In the URL (uniform resource locator) box, type the following –  Type any website address that comes to mind  Check for errors

PREPARATION  On the Desktop, right-click to create a New Folder and name it TadsTees  Double-click this folder to open it and create a New Folder and name it images  Launch the text editor, BBEdit (if at home, any text editor available) then choose File > New > HTML document  Title it index.html then click create  Choose File > Save as > index.html inside the Tad Tees folder  Visit my website at and from Lesson Files download Tad Tshirt logo from lesson 4 resourceswww.karinehmasihi.com  Drag it inside the images folder within Tad Tees folder

HTML STRUCTURE Do you remember Tad the T-shirt designer? Well he’s receiving private coding lessons from one of the web designers. The designer begins by explaining the basic structure of an HTML page.

FOLLOW THE STEPS BELOW IN SEQUENTIALLY - 1. Launch BBEdit and choose File > Open > index.html 2. Click where the cursor is blinking within the body tag and type the following code – Tad's Tees is open for business! 3. Choose File > Save > 4. Choose Markup > preview in Chrome Congratulations, you have written your first h1 code

HTML CONT’D 5. press enter and type the paragraph below- All of us here at Tad's Tees are very excited to announce the expansion of our retail store. To celebrate the occasion we are now offering for sale 6 new limited edition t-shirts with new designs. Command + s to save > preview in the browser You just wrote your first paragraph code

HTML CONT’D 6. Next, to create a hyperllink, write the following ‘anchor tag’ either side of the word t-shirts t-shirts Command + s to save > preview in the browser

HTML CONT’D 7. To continue with the link tag, click after the letter ‘a’ inside the opening tag and type t-shirts Command + s to save > preview in the browser You just created your first clickable link

HTML CONT’D 8. To insert the logo we downloaded earlier inside the images folder, click once after the open body tag and press enter and type You just wrote the code for an image link Command + s to save > preview in the browser

STYLING WITH CSS There are three locations to save a cascading style sheets (CSS)  External (with a tag to link it to an html file)  Internal (above the body tag)  Inline (within html codes t-shirt tag HENCE THE WORD ‘CASCADING’ The strength of each style depends on how close they are to the html structure

LET’S STYLE WITH CSS To write an internal style for heading 1 or h1, click below the closing head tag and type - h1 { color:#e8662d; } (there is no space between the bracket and the slash) Command + s to save > preview in the browser Congratulations, you just wrote your first code in CSS

Congrats, you just wrote your first internal CSS code. Now, let me show you how to turn the internal into an external sheet. 1. In BBedit, choose File > New Text Document 2. Choose File > Save as > styles.css inside the TadsTees folder 3. In the index.html document locate the rules created within the tags and select them. Not the the opening and closing tags. 4. Choose Edit > Cut 5. In the styles.css document, choose Edit > Paste > Save The entire external style sheet acts as a substitute for the tags in the HTML document, hence the reason we don’t need to copy the opening and closing tags. CSS CONT’D

CSS EXTERNAL CONT’D  In the index.html document choose File > Save > preview in the browser And notice the style has gone  To bring the style back we need to write a tag to link the index.html with the styles.css documents 1. In the index.html document, click after the closing style tag </style) then press Enter and type –

 This concludes Teacher Demonstration Lesson 4 and carries 10% of your total grade. Thank you for your focus