CSW131 Steven Battilana 1 CSW 131 – Supplement 1 (X)HTML / CSS Not Covered or in Book Prepared by Prof. B. for use with Teach Yourself Visually Web Design.

Slides:



Advertisements
Similar presentations
Introduction to Web Design Lecture number:. Todays Aim: Introduction to Web-designing and how its done. Modelling websites in HTML.
Advertisements

HTML Basics and CSS style. Before we start Dreamweaver (DW) may take several minutes to start. Click on Start => Program Files => Development Apps =>
Internet Services and Web Authoring (CSET 226) Lecture # 5 HyperText Markup Language (HTML) 1.
Cascading Style Sheets
CHAPTER 7 STYLING CONTENT WITH CASCADING STYLE SHEETS.
Principles of Web Design 5 th Edition Chapter Nine Site Navigation.
CSS cont. October 5, Unit 4. Padding We can add borders around the elements of our pages To increase the space between the content and the border, use.
Cascading Style Sheets Based on Castro, HTML for the WWW, 6 th edition Ron Gerton, Fall 2007.
CSW131 Steven Battilana 1 CSW 131 – Chapter 5 (More) Advanced CSS Prepared by Prof. B. for use with Teach Yourself Visually Web Design by Ron Huddleston,
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.
Intermediate Level Course. Text Format The text styles, bold, italics, underlining, superscript and subscript, can be easily added to selected text. Text.
CSW131 Steven Battilana 1 CSW 131 Free MS Software (DreamSpark / MSDNAA) MS Visual Web Developer (VWD) W3 / Mozilla Code Validators Uploading Your Website.
Streamlining Website Development in Dreamweaver Roger L. Runquist Western Illinois University Roger L. Runquist Western Illinois University.
CIS101 Introduction to Computing Week 06. Agenda Your questions Resume project HTML Project Two This week online Next class.
Creating a Web Page HyperText Markup Language. HTML Documents  Created using any text editor  Notepad  Vi, Pico, or Emacs  If using word-processor,
CIS101 Introduction to Computing Week 06. Agenda Your questions Resume project HTML Project Two This week online Next class.
4.01 Cascading Style Sheets
Glencoe Digital Communication Tools Create a Web Page with HTML Chapter Contents Lesson 4.1Lesson 4.1 Get Started with HTML (85) Lesson 4.2Lesson 4.2 Format.
HTML. Goals How to use the Komodo editor HTML coding and testing Basic HTML tags List and Images Tables and Links At least 2 pages and navigation
With Alex Conger – President of Webmajik.com FrontPage 2002 Level I (Intro & Training) FrontPage 2002 Level I (Intro & Training)
Chapter 5 Web Graphics Styling Basics Key Concepts Copyright © 2013 Terry Ann Morris, Ed.D 1.
Chapter 2: The Client Side: HTML CIS 275—Web Application Development for Business I.
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 7 TH EDITION Chapter 4 Key Concepts 1 Copyright © Terry Felke-Morris.
Creating A Simple Web Page. Step 1- Open Dreamweaver & Create A New Page (File New) and blank.
CSW131 Steven Battilana 1 CSW 131 – Chapter 2 Getting Started with HTML Prepared by Prof. B. for use with Teach Yourself Visually Web Design by Ron Huddleston,
Macromedia Dreamweaver CS4 Tutorial. Example of the website1 folder & images folder inside Create a folder on your computer called website1 to hold all.
CITY UNIVERSITY / Vysoká Škola Manažmentu.:MG Information Systems :. © Martina Cesalova, 2005 MS FRONTPAGE 1 1.Open FrontPage – View -> Page 2.Open.
Chapter 3 Dreamweaver: Part I The Web Warrior Guide to Web Design Technologies.
CSW131 Steven Battilana 1 CSW 131 – Chapter 7 Adding Tables and Lists (X/HTML) Prepared by Prof. B. for use with Teach Yourself Visually Web Design by.
INFSCI  Last time we built a doggie web page in class following the instructions in the slide deck: Build Web Page with HTML – see week 3 The topics.
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.
Web Design-Lecture2-QN-2003 Web Design Microsoft FrontPage®
Doman’s Sections Information in this presentation includes text and images from
Website Development with Dreamweaver
HTML, Third Edition--Illustrated Introductory 1 HTML, Third Edition Illustrated Introductory Unit E Formatting with Cascading Style Sheets.
ITCS373: Internet Technology Week 3: Introduction to CSS Dr. Faisal Al-Qaed.
 This presentation introduces the following: › 3 types of CSS › CSS syntax › CSS comments › CSS and color › The box model.
Chapter 5 Web Graphics Styling Basics Key Concepts Copyright © 2013 Terry Ann Morris, Ed.D 1.
Just A Few More Fun Objectives 1 Having Some Fun With Java Script 2 Using Style Sheets.
Just Enough HTML How to Create Basic HTML 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.
Domain 3 Understanding the Adobe Dreamweaver CS5 Interface.
Adding Graphics to Web Pages. CSS does not have any properties specifically aimed at formatting images Use properties you have already learned, i.e.,
 Remember that HTML is just text  Need to point to pictures  Use the img tag  alt: › screen reader › REQUIRED for this class and to validate.
CSS Cascading Style Sheets. CSS Advantages Greater typography and page layout control Style is separate from structure Styles can be stored in a separate.
Chapter 2 Web Page Design Mr. Gironda. Elements of a Web Page These are things that most web pages use.
CSW131 Steven Battilana 1 CSW 131 – Chapter 6 Laying Out Pages Prepared by Prof. B. for use with Teach Yourself Visually Web Design by Ron Huddleston,
Week 8 – Part 2 Page Layout Basics Key Concepts 1.
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.
AGB 3/26/121 ++=. 2 Yes, believe it or not this is a complete webpage. It has a Head, Title and Body between the start and end HTML Tag.
HTML Basics. HTML Coding HTML Hypertext markup language The code used to create web pages.
Spiderman ©Marvel Comics Creating Web Pages (part 1)
Positioning Objects with CSS and Tables
CSW131 Steven Battilana 1 CSW 131 – Supplement 1 HTML / CSS - Some Not Covered or in Textbook Prepared by Prof. Battilana.
1 Preparation for site Create a folder in MyDocuments: beavercheese. Create a subfolder, images Classes, career, DW beginner Download.
CSS FOUNDATIONS IN-DEPTH The nitty-gritty of css...
HTML & CSS Contents: the different ways we can use to apply CSS to The HTML documents CSS Colors and Background CSS Fonts CSS Text CSS box model: padding,
4.01 Cascading Style Sheets
Bare boned notes.
Do you want to make info graphics for the US Election?
Cascading Style Sheets (Layout)
HTML Basics and CSS style
Chapter 7 Page Layout Basics Key Concepts
IS333: MULTI-TIER APPLICATION DEVELOPMENT
Basics of Web Design Chapter 7 Page Layout Basics Key Concepts
Cheat Sheet CSCI 100 JW Ryder
Cheat Sheet CSCI 100 JW Ryder
Cascading Style Sheets™ (CSS)
4.01 Cascading Style Sheets
Presentation transcript:

CSW131 Steven Battilana 1 CSW 131 – Supplement 1 (X)HTML / CSS Not Covered or in Book Prepared by Prof. B. for use with Teach Yourself Visually Web Design by Ron Huddleston, Wiley

CSW131 Steven Battilana 2 Using Breaks (NOT IN BOOK / COVERED) The simple break tag forces a new line on the web page where ever it is used. It is considered an “empty element” thus has one combined opening / closing tag. The simple break tag forces a new line on the web page where ever it is used. It is considered an “empty element” thus has one combined opening / closing tag. First download supp1.zip into downloads subfolder First download supp1.zip into downloads subfolder copy & paste supp1zip into class_work subfolder extract (unzip) supp1.zip, which becomes subfolder supp1 into class_work subfolder Open index.html in Visual Web Developer (in Visual Studio) Select File | Open | Web Site… Select your Project folder, then open index.html On a new line before the “Back to top” link type: On a new line before the “Back to top” link type: Visit us: Visit us: 1313 Mockingbird Way Truth or Consequences, NM Mockingbird Way Truth or Consequences, NM Save index.html and view it in a browser. Save index.html and view it in a browser.

CSW131 Steven Battilana 3 Add a Horizontal Rule (NOT IN BOOK / COVERED) You can quickly add a line (horizontal rule) to any web page using the tag. Like, this is considered an “empty element” thus has one combined opening / closing tag. You can quickly add a line (horizontal rule) to any web page using the tag. Like, this is considered an “empty element” thus has one combined opening / closing tag. Continuing on index.html, on a new line before type: Continuing on index.html, on a new line before type: Save index.html and view it in a browser. Save index.html and view it in a browser. Note: More customized lines or other forms of breaking up a page are commonly used over. When used, they should be styled using CSS. Note: More customized lines or other forms of breaking up a page are commonly used over. When used, they should be styled using CSS.

CSW131 Steven Battilana 4 Favorite Icon [Cool Notice] (NOT IN BOOK / COVERED) You can create and use your own favorite icon, which will appear next to the URL in the address window, in favorites, etc. Small files in.gif.,.jpg,.png, or.ico should work, but the best / most reliable is a.ico file. You can create your own image, then easily convert it to.ico format. You can create and use your own favorite icon, which will appear next to the URL in the address window, in favorites, etc. Small files in.gif.,.jpg,.png, or.ico should work, but the best / most reliable is a.ico file. You can create your own image, then easily convert it to.ico format. Go to then click browse and select favicon.png from your class_work images folder. Go to then click browse and select favicon.png from your class_work images folder. Click Create Icon, then click Download FavIcon and place it in your class_work images folder. Click Create Icon, then click Download FavIcon and place it in your class_work images folder. Continuing on index.html, on a new line before opening <style… type: Continuing on index.html, on a new line before opening <style… type: [link to favicon (on one line)] [link to favicon (on one line)] Save index.html and view it in a IE, Chrome, and FF browsers. Save index.html and view it in a IE, Chrome, and FF browsers. Other file types code: favicon.gif" type="image/gif" /> favicon.jpg" type="image/jpg" /> favicon.png" type="image/png" /> Other file types code: favicon.gif" type="image/gif" /> favicon.jpg" type="image/jpg" /> favicon.png" type="image/png" />

CSW131 Steven Battilana 5 Safe Color Shorthand (NOT IN BOOK / COVERED) Remember the use of the Web Safe Palette is still common. It is made up of 216 colors, using 6 shades of three primaries using 00, 33, 99, CC, FF. Remember the use of the Web Safe Palette is still common. It is made up of 216 colors, using 6 shades of three primaries using 00, 33, 99, CC, FF. Color safe shorthand can be used accordingly: Color safe shorthand can be used accordingly: Drop duplicates in pairs e.g., # becomes #006; # becomes #900; and #33FFCC becomes #3FC Conversely, you can add the 3 digits back to a shorthand color to look up the actual hexadecimal (6-digit) color. Conversely, you can add the 3 digits back to a shorthand color to look up the actual hexadecimal (6-digit) color.

CSW131 Steven Battilana 6 Fixed Position [Cool Notice] (NOT IN BOOK / COVERED) Using fixed position, you can keep your web page header and or navigation bar at the top of your page even when user scrolls: Using fixed position, you can keep your web page header and or navigation bar at the top of your page even when user scrolls: Continuing on index.html, on a new line after type: Continuing on index.html, on a new line after type: </div> And on a new line before type: And on a new line before type:#navbar{ padding-left: 0; position: fixed; top: 0; } Edit h1 & body styles: [h1] margin-top: 55px; [body] background-position: 550px 50px; Edit h1 & body styles: [h1] margin-top: 55px; [body] background-position: 550px 50px; Save index.html and view it in a browser, and scroll to see the effect. Save index.html and view it in a browser, and scroll to see the effect.

CSW131 Steven Battilana 7 More on Fixed Position [Cool Notice] (NOT IN BOOK / COVERED) Fixed position can also fix a background and center an image on a page (in addition to keeping your web page header and or navigation bar at the top of your page even when user scrolls: Fixed position can also fix a background and center an image on a page (in addition to keeping your web page header and or navigation bar at the top of your page even when user scrolls: Here is how we will edit index.html, with the body CSS style: Here is how we will edit index.html, with the body CSS style: First, comment out the 4 background- property value pairs You can also play around with these to check effects, e.g., change to, etc. Copy & paste background-image (on one line) then EDIT as follows: background-image: url("images/flowers.gif") fixed center no-repeat #FFC955; You can also play around with these to check effects, e.g., change center to 250px 50px, etc. Save index.html and view it in a browser, and scroll to see the effect. Save index.html and view it in a browser, and scroll to see the effect. Change image to gopher25.jpg. Save and view index.html in browser. Change image to gopher25.jpg. Save and view index.html in browser.

CSW131 Steven Battilana 8 Centering an Element (NOT IN BOOK / COVERED) As you will recall, text-align: center; will center text within an element on a page. We can also simply center any element (as long as the width is specified), by adding these two lines within the element’s CSS: As you will recall, text-align: center; will center text within an element on a page. We can also simply center any element (as long as the width is specified), by adding these two lines within the element’s CSS: margin-left: auto; margin-right: auto; Try this with the CSS for p Try this with the CSS for p Save index.html and view it to see the effect. Save index.html and view it to see the effect. NOTE: You should make a note to yourself regarding the difference between aligning TEXT VS an ELEMENT on a page. NOTE: You should make a note to yourself regarding the difference between aligning TEXT VS an ELEMENT on a page.

CSW131 Steven Battilana 9 Eliminate Border Around Linked Image (NOT IN BOOK / COVERED) The problem with using images as links as there is a default blue border (to show it is a link). To remove this border, we can use the CSS property value pair border: none; The problem with using images as links as there is a default blue border (to show it is a link). To remove this border, we can use the CSS property value pair border: none; Within index.html for the Gopher.jpg hyperlink image, we can use border: none; by creating CSS for the element img, OR we can add it to the.floatleft class that already exists: Within index.html for the Gopher.jpg hyperlink image, we can use border: none; by creating CSS for the element img, OR we can add it to the.floatleft class that already exists: Try it both ways (within the style tags) Try it both ways (within the style tags) Save index.html and view it to see the effect – the blue border around the hyperlink image is gone. Save index.html and view it to see the effect – the blue border around the hyperlink image is gone. Note: take a good look at the floatleft class – it should give you some go ideas for your web pages. And remember, there often multiple ways to make your web pages have the look you want (on any browser). Note: take a good look at the floatleft class – it should give you some go ideas for your web pages. And remember, there often multiple ways to make your web pages have the look you want (on any browser).

CSW131 Steven Battilana 10 To Do List Be ready for Quiz 2 (if we haven’t taken it yet)! Be ready for Quiz 2 (if we haven’t taken it yet)! Read Chapter 7 Read Chapter 7 Revisit what we did in class Revisit what we did in class Be careful as we do not follow book Remember, MUCH more detail about anything we cover is: Remember, MUCH more detail about anything we cover is: at w3.org the Appendices of your book DOCUMENT Your Project DOCUMENT Your Project We are reviewing your progress this week. Remember, websites about one of your passions is usually a winner.