INFSCI 0010.  Start with a skeleton outline: copy and paste:  Warning sometimes copy and paste of quote marks from PowerPoint doesn’t work correctly.

Slides:



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

HTML and CSS. HTML Hyper Text Markup Language Tells browser how to display text and images.
CSS Cascading Style Sheets. Objectives Using Inline Styles Working with Selectors Using Embedded Styles Using an External Style Sheet Applying a Style.
Cascading Style Sheets
Today CSS HTML A project.
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.
MIS 425 Lecture 2 – HTML Navigation, Colors, tables and Styles Instructor: Martin Neuhard
Chapter 3 – Designing your web pages Dr. Stephanos Mavromoustakos.
SM5312 week 11: CSS Menus & Navigation Bars1 An Introduction to Cascading Style Sheets CSS Menus and Navigation Bars Nick Foxall.
INTRODUCTORY Tutorial 7 Creating Liquid Layouts. XP Objectives Discern the differences among various types of layouts Create a liquid layout Create a.
End User Computing An Introduction to CSS Sujana Jyothi Research Lab1, Callan Building, Department of Computer Science
1 Dreamweaver CS5 intermediate class by Cookie Setton Build a CSS website WITHOUT TABLES Just when you thought you were starting to understand HTML coding,
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.
Class four: the box model and positioning. is an HTML tag which allows you to create an element out of inline text. It doesn’t mean anything! try it:
4.01 Cascading Style Sheets
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
CSS (Cascading Style Sheets): How the web is styled Create Rules that specify how the content of an HTML Element should appear. CSS controls how your web.
TUTORIAL 8: Enhancing a Web Site with Advanced CSS
HTML. Goals How to use the Komodo editor HTML coding and testing – List and Images – Tables and Links – At least 2 pages and navigation –
CIT 256 Organizing Large Websites: Divs, DW Templates Dr. Beryl Hoffman.
HTML & CSS A brief introduction. OUTLINE 1.What is HTML? 2.What is CSS? 3.How are they used together? 4.Troubleshooting/Common problems 5.More resources.
Creating A Simple Web Page. Step 1- Open Dreamweaver & Create A New Page (File New) and blank.
Cascading Style Sheet Basics Pepper. Looking at the HTML See the surrounding tags See head, body, paragraph, header See the ending tags See the list.
INFSCI  Start with a template base structure  Think about how to structure your document using headers, paragraphs, divs, unordered lists, imgs.
ITP 104.  While you can do things like this:  Better to use styles instead:
The Characteristics of CSS
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.
Eat Your Words! Creating webpage Layout. CONTENT The Layout of a Webpage HEADER FOOTER Each of these sections represents a ‘div’ (or divider). By linking.
Creating your Webpage with tables. This is a 2 column by 1 row table!
CSS Sprites. What are sprites? In the early days of video games, memory for graphics was very low. So to make things load quickly and make graphics look.
Images (1) Three most popular formats – Graphics Interchange Format (GIF) – Joint Photographic Experts Group (JPEG) – Portable Network Graphics (PNG) –
CSS Netcentric. What is CSS O CSS stands for Cascading Style Sheets O Styles define how to display HTML elements O Styles were added to HTML 4.0 to solve.
 This presentation introduces the following: › 3 types of CSS › CSS syntax › CSS comments › CSS and color › The box model.
Lesson 2 Adding more content to your web page. Thanks to Richard Hudnutt, Luella HS.
Just A Few More Fun Objectives 1 Having Some Fun With Java Script 2 Using Style Sheets.
CSS Basic (cascading style sheets)
End User Computing More on HTML and CSS Sujana Jyothi Department of Computer Science
Cascade Style Sheet Introduction. What is CSS?  CSS stands for Cascading Style Sheets  Styles define how to display HTML elements  Styles were added.
Tags, ID’s and Classes. Xhtml tags There are many tags to use so the CSS can talk to the webpage:
Lecture 2 - HTML and CSS Review SFDV3011 – Advanced Web Development 1.
Tables Web Authoring. This kind of a table THISIs aTABLE THISIs aTABLE THISIs aTABLE THISIs aTABLE.
IT Introduction to Website Development Welcome!
DIV, Span, CSS.
Course created by Sarah Phillips BBCD Melbourne BAPDCOM Version 1 – April 2013.
Web Design Part I. Click Menu Site to create a new site root.
Quick Questions 1. What does HTML stand for? 2. What are the three main languages of the Web? 3. What is the purpose of the tags? 4. Why do we indent different.
Web Design (12) CSS Introduction. Cascading Style Sheets - Defined CSS is the W3C standard for defining the presentation of documents written in HTML.
Introduction to CSS Layout
Positioning Objects with CSS and Tables
1 Preparation for site Create a folder in MyDocuments: beavercheese. Create a subfolder, images Classes, career, DW beginner Download.
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.
Understanding CSS Cascading Style Sheets control the presentation of content in HTML pages Style Sheets separate formatting from the content –Styles defined.
This is a test Webpage Wow, I’m writing my first webpage.
Chapter 4 and 5. Objectives Introduce markup: elements and attributes How browsers interpret HTML documents Basic structure of HTML document What do style.
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,
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 (CSS) Internal Style Sheets Classes
Introduction to CSS Layout
HTML.
>> Introduction to CSS
Float.
Nesting and Floating Elements
Cascading Style Sheets for layout
Cascading Style Sheets (Layout)
Putting An Image on Your Web Page
Web pages Lesson 4.
Float.
Web Design and Development
Web Programming and Design
Presentation transcript:

INFSCI 0010

 Start with a skeleton outline: copy and paste:  Warning sometimes copy and paste of quote marks from PowerPoint doesn’t work correctly. After you copy code to your editor replace any quote marks like these: `` with “ from your keyboard. Conforming XHTML 1.0 Transitional Template Your HTML goes here!

 Lets make a website about friendly dogs so lets add a header tag. … Facts About Friendly Dogs

 Lets talk about the tag  The div tag doesn’t really do anything other than organize html tags into a single container. Now, when you look at a web page the containers are like sections which can be the header and the main and the footer or whatever you like.  So, lets add a div tag and put the h1 tag inside of it. Facts About Friendly Dogs

 Some color for the header would be nice.  Lets add a style tag inside of the div tag Facts About Friendly Dogs  Lets follow this div and add a second div tag for the main part of our page and put in a paragraph tag and put some text in it. Right now lets use Lorem Ipsum Sample Lorem Ipsum text….

 Lets add another paragraph tag and put an image and some text in it.  …/ I searched Google for ‘collie dogs’ and saved an image to my hard drive. Then I opened dog.jpg in Photoshop and resized it. I keep the image in the same folder as my html file.

 How about adding a list so we can specify some facts about our collie. … end of img tag Native of Scotland Known for loyalty Great family dog

 Lets add another dog directly below our previous one Sleep nearly 14 hours a day A group of pugs called a grumble Attracted to children

 Lets add our last div.  This will be for our footer. Thank You for visiting my dog page

 Lets encase the whole thing inside of two div tags.   --- our new div tag  Paragraph stuff  Pictures  --- our end/last div tag Now add a in the head section

 Some fancy stuff called Cascading Style Sheets, CSS  Inside this style tag in the head section add the following: #page { width:800px; margin:0 auto; } This centers our whole page and gives it a defined width.

 Lets change how the collie picture and its unordered list looks. We want to treat the picture and the list as a whole so lets put div tags around the whole thing and give the div tag an ID name. Paragraph tag Image tag Unordered list tag In the style section lets add: #collie { float:left; } Float will send something up as high as it will go and to the left or right.

 Add another div and call it pug and put it around the pug paragraph, image and unordered list.   Paragraph tag  Image of pug  Unordered list In the style section lets add: #pug{ float:right; }

 It needs something in the middle Lets find a small picture of a doggie award. Lets add it after the collie div And float it to the left too. #award { float:left; } Is this a good ribbon for our website?

 Lets stop the footer from floating. In order to do this we need to "clear" the float. So we add a with no text in it. And, add it after the second dog div and before the footer div.

 Stop the float. Now add the following style in the head section between the style tags. #stopfloat{ clear:both; }

 There are other CSS properties such as padding and margins that would allow us to move any of our divs or pictures or unordered list any number of pixels.  This would help us in aligning our elements.  For example, our award is not centered between the two dogs and needs some cushion added on the left. #award { float:left; margin-left:30px; margin-top:10px; }

 Cascading Style Sheet Tutorials  W3C Schools  Tizag  More on CSS in the next lecture.