Wanted! Introduction. Step 1: Styling your poster. Activity Checklist. In this project, you ll learn how to make your own poster.

Similar documents
In this project, you ll learn how to create a webpage for your favourite recipe.

Introduction to Multimedia. MMP100 Spring 2016 thiserichagan.com/mmp100

Introduction to WEB PROGRAMMING

In this project, you ll learn how to create your own webpage to tell a story, joke or poem. Think about the story you want to tell.

<body bgcolor=" " fgcolor=" " link=" " vlink=" " alink=" "> These body attributes have now been deprecated, and should not be used in XHTML.

Styles, Style Sheets, the Box Model and Liquid Layout

Welcome Please sit on alternating rows. powered by lucid & no.dots.nl/student

Introduction to Web Design CSS Reference

Introduction to Web Design CSS Reference

Lab Introduction to Cascading Style Sheets

Appendix D CSS Properties and Values

Reading 2.2 Cascading Style Sheets

CSS.

CSS: The Basics CISC 282 September 20, 2014

Networks and Web for Health Informatics (HINF 6220) Tutorial 8 : CSS. 8 Oct 2015

Controlling Appearance the Old Way

**Method 3** By attaching a style sheet to your web page, and then placing all your styles in that new style sheet.

<style type="text/css"> <!-- body {font-family: Verdana, Arial, sans-serif} ***set font family for entire Web page***

Teach Yourself HTML5 & CSS 3: Week 5 Task 13 - Anchors Part 3

WEBSITE PROJECT 2 PURPOSE: INSTRUCTIONS: REQUIREMENTS:

CSS3 Basics. From & CSS Visual Dictionary Learning Curve Books, LLC

CSS Selectors. element selectors. .class selectors. #id selectors

8/19/2018. Web Development & Design Foundations with HTML5. Learning Objectives (1 of 2) Learning Objectives (2 of 2)

CMPT 165: More CSS Basics

CSS Tutorial Part 1: Introduction: A. Adding Style to a Web Page (3 options):

Adding CSS to your HTML

Part 3: Images & form styling NOMZAMO S WEBSITE

What is the Box Model?

CSS Styles Quick Reference Guide

Cascading Style Sheets (CSS)


Introduction to Computer Science Web Development

HTML/XML. HTML Continued Introduction to CSS

CSS Exercises. Create a basic CSS layout Use BlueFish to open layout.html Create a layout using <div> tags Use a browser (Firefox) to view your page

Three Ways to Use CSS:

CSS Cascading Style Sheets

Review Question 1. Which tag is used to create a link to another page? 1. <p> 2. <li> 3. <a> 4. <em>

ICT IGCSE Practical Revision Presentation Web Authoring

To illustrate how to set TAG styles the <body> and <h1> tags (for the BODY and the HEADING 1 styles) will be adjusted.

CSS means Cascading Style Sheets. It is used to style HTML documents.

Admin. Midterm 1 on. Oct. 13 th (2 weeks from today) Coursework:

Unit 3--Alignment, Formatting Font--Size, Color, Style [Bold, Italic, and Underline] Block

Web Design and Implementation

Microsoft Expression Web Quickstart Guide

What do we mean by layouts?

HTML and CSS a further introduction

Web Engineering CSS. By Assistant Prof Malik M Ali

Stickers! Introduction. Step 1: Colourful coding sticker

Unit 20 - Client Side Customisation of Web Pages. Week 2 Lesson 4 The Box Model

HTML and CSS: An Introduction

Page Layout Using Tables

CSS Box Model. Cascading Style Sheets

PUBLISHER SPECIFIC CSS RULES

HTML & CSS for Library Professionals

HTML & CSS. SWE 432, Fall 2017 Design and Implementation of Software for the Web

Web Recruitment Module Customisation

1 of 7 11/12/2009 9:29 AM

CSS worksheet. JMC 105 Drake University

Magazine-style websites often have lots of small items on a page. First you re going to create a heading and background for your magazine.

.hedgehog { background-image: url(backyard.jpg); color: #ffff99; height: 6in; width: 12in; } .tube {

CSS Module in 2 Parts

To link to an external stylesheet, the link element is placed within the head of the html page:

Block & Inline Elements

The default style for an unordered (bulleted) list is the bullet, or dot. You can change the style to either a square or a circle as follows:

ACSC 231 Internet Technologies

Creating Forms. Starting the Page. another way of applying a template to a page.

2005 WebGUI Users Conference

COSC 2206 Internet Tools. CSS Cascading Style Sheets

CMPT 165 INTRODUCTION TO THE INTERNET AND THE WORLD WIDE WEB

Produced by. Web Development. Eamonn de Leastar Department of Computing, Maths & Physics Waterford Institute of Technology

CSS WHAT IS IT? HOW DOES IT WORK? (LOOK N GOOD)

Page Layout. 4.1 Styling Page Sections 4.2 Introduction to Layout 4.3 Floating Elements 4.4 Sizing and Positioning

Getting Started with Eric Meyer's CSS Sculptor 1.0

In this project, you ll create a set of linked rooms where each room is a different web page which you can decorate with HTML.

Multimedia Systems and Technologies Lab class 6 HTML 5 + CSS 3

GIMP WEB 2.0 MENUS. Web 2.0 Menus: Horizontal Navigation Bar

HTML Summary. All of the following are containers. Structure. Italics Bold. Line Break. Horizontal Rule. Non-break (hard) space.

ORB Education Quality Teaching Resources

Using Dreamweaver. 6 Styles in Websites. 1. Linked or Imported Stylesheets. 2. Embedded Styles. 3. Inline Styles

Zen Garden. CSS Zen Garden

CSS مفاهیم ساختار و اصول استفاده و به کارگیری

Additional catalogs display. Customize text size and colors.

Using Dreamweaver CS6

Introduction to Web Tech and Programming

CSS. Lecture 16 COMPSCI 111/111G SS 2018

TAG STYLE SELECTORS. div Think of this as a box that contains things, such as text or images. It can also just be a

Using Dreamweaver CS6

3.1 Introduction. 3.2 Levels of Style Sheets. - HTML is primarily concerned with content, rather than style. - There are three levels of style sheets

HIERARCHICAL ORGANIZATION

Study Guide 2 - HTML and CSS - Chap. 6,8,10,11,12 Name - Alexia Bernardo

Introduction to CSS. 2 Sep 13. Derek Peacock. An introduction to defining CSS style rules using tags, classes and ids.

Web Design and Development Tutorial 03

Creating Layouts Using CSS. Lesson 9

2. Write style rules for how you d like certain elements to look.

Positioning in CSS: There are 5 different ways we can set our position:

Produced by. Web Development. Eamonn de Leastar Department of Computing, Maths & Physics Waterford Institute of Technology

3.1 Introduction. 3.2 Levels of Style Sheets. - The CSS1 specification was developed in There are three levels of style sheets

- The CSS1 specification was developed in CSS2 was released in CSS2.1 reflects browser implementations

Create a three column layout using CSS, divs and floating

APPLIED COMPUTING 1P01 Fluency with Technology

Transcription:

Wanted! Introduction In this project, you ll learn how to make your own poster. Step 1: Styling your poster Let s start by editing the CSS code for the poster. Activity Checklist Open this trinket: jumpto.cc/web-wanted. The project should look like this: 1

Click on the style.css tab. You ll notice that there are already CSS properties for the div containing the different parts of the poster. div { text-align: center; overflow: hidden; border: 2px solid black; width: 300px; } Let s start by altering the text-align property: text-align: center; What happens when you change the word center to left or right? How about the border property? border: 2px solid black; 2px in the code above means 2 pixels. What happens when you change 2px solid black to 4px dotted red? Change the width of the poster to 400px. What happens to the poster? Let s add some CSS to set the background colour of the poster. Go to the end of line 5 of your code and press return, so that you have a new blank line. 2

Type the following code on your new blank line: background: yellow; Make sure that you type in the code exactly as it is above. You should notice that the background of the <div> is now yellow. Challenge: Improving your poster Add the following CSS property to your div style: border-radius: 40px; What does this property do? What happens if you change the number in the code above? Save Your Project Step 2: Styling images Let s improve the style of the image in the poster. Activity Checklist At the moment, there aren t any CSS properties for your <img> tag, so let s add some! Firstly, add the following code underneath the CSS for your div: 3

img { } We can now add CSS properties for images between the { and } curly brackets. For example, add this code between the curly brackets to set the width of the image: width: 100px; You ll see that the size of the image changes, so that its width is 100 pixels. You can also add a border around the image with this code: border: 1px solid black; Have you noticed that there s not much space between the image and the border? 4

You can fix this by adding some padding around the image: padding: 10px; Padding is the space between the content (in this case an image) and its border. What do you think would happen if you changed the padding to 50px? Challenge: Improving your image Can you give your image a background colour? Or a rounded border? You can find more CSS colour names at jumpto.cc/colours. Save Your Project Step 3: Styling headings Let s improve the style of the <h1> heading. 5

Activity Checklist Add the following code underneath your image s CSS: h1 { } This is where you ll add CSS properties for your main <h1> heading. To change the font of your <h1> headings, add the following code between the curly brackets: font-family: Impact; You can also change the size of the heading: font-size: 50pt; Have you noticed that there s a big space between the <h1> heading and the stuff around it? This is because there s a margin around the heading. A margin is the space between the element (in this case a heading) and the other stuff around it. You can make the margin smaller with this code: margin: 10px; 6

You can also underline your heading: text-decoration: underline; Challenge: Make your poster awesome! Add more CSS code to style your <h3> headings and your paragraphs. 7

Here s a list of some CSS properties you can use: color: black; background: white; font-family: Arial / Comic Sans MS / Courier / Impact / Ta homa; font-size: 12pt; font-weight: bold; text-decoration: underline overline line-through; margin: 10px; padding: 10px; width: 100px; height: 100px; Save Your Project 8

Challenge: Advertise an event! Can you make a poster for an event happening at your school? It could be a play, a sporting event, or even a poster advertising your Code Club! Save Your Project 9