HTMLnotesS15.notebook. January 25, 2015

Similar documents
Title: Jan 29 11:03 AM (1 of 23) Note that I have now added color and some alignment to the middle and to the right on this example.

c122jan2714.notebook January 27, 2014

Html basics Course Outline

Assignments (4) Assessment as per Schedule (2)

CSC 121 Computers and Scientific Thinking

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

recall: a Web page is a text document that contains additional formatting information in the HyperText Markup Language (HTML)

A Balanced Introduction to Computer Science, 3/E

Lab Introduction to Cascading Style Sheets

COMP519 Web Programming Lecture 6: Cascading Style Sheets: Part 2 Handouts

1 Creating a simple HTML page

Basic CSS Lecture 17

Page Layout Using Tables

CREATING A WEBSITE USING CSS. Mrs. Procopio CTEC6 MYP1

Introduction to using HTML to design webpages

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

Lesson 5 Introduction to Cascading Style Sheets

Hyper Text Markup Language HTML: A Tutorial

Introduction to WEB PROGRAMMING

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

Using CSS in Web Site Design

CSS: The Basics CISC 282 September 20, 2014

ADDING CSS TO YOUR HTML DOCUMENT. A FEW CSS VALUES (colour, size and the box model)

CIS 228 (Fall, 2012) Exam 2, 11/20/12

Lab 4 CSS CISC1600, Spring 2012

GIMP WEB 2.0 MENUS WEB 2.0 MENUS: HORIZONTAL NAVIGATION BAR CREATING AN HTML LIST

Final Exam Study Guide

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

A HTML document has two sections 1) HEAD section and 2) BODY section A HTML file is saved with.html or.htm extension

HTML and CSS: An Introduction

<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

Title: Feb 1 11:00 AM (1 of 39)

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

Creating Web Pages. Getting Started

In the early days of the Web, designers just had the original 91 HTML tags to work with.

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

GIMP WEB 2.0 MENUS. Web 2.0 Menus: Horizontal Navigation Bar with Dynamic Background Image

Make a Website. A complex guide to building a website through continuing the fundamentals of HTML & CSS. Created by Michael Parekh 1

ICT IGCSE Practical Revision Presentation Web Authoring

This booklet is knowledge of. a web page. of a web page find what you. you want to. SiteSell offers. Introduction

CS134 Web Site Design & Development. Quiz1

By Ryan Stevenson. Guidebook #2 HTML

CSS Box Model. Cascading Style Sheets

Working with HTML. must appear at the very beginning of your webpage. starts the first section of your page

DAY 4. Coding External Style Sheets

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

CSS worksheet. JMC 105 Drake University

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

How to lay out a web page with CSS

CIS 228 (Spring, 2012) Final, 5/17/12

Creating A Web Page. Computer Concepts I and II. Sue Norris

Using Dreamweaver CC. 6 Styles in Websites. Exercise 1 Linked Styles vs Embedded Styles

ICT IGCSE Practical Revision Presentation Web Authoring

Using Dreamweaver CS6

c122sep2914.notebook September 29, 2014

Programmazione Web a.a. 2017/2018 HTML5

Building Your Website

Introduction to Web Tech and Programming

Index. alt, 38, 57 class, 86, 88, 101, 107 href, 24, 51, 57 id, 86 88, 98 overview, 37. src, 37, 57. backend, WordPress, 146, 148

c122sep2214.notebook September 22, 2014

CSS: Cascading Style Sheets

Chapter 2. Self-test exercises

HTML TAG SUMMARY HTML REFERENCE 18 TAG/ATTRIBUTE DESCRIPTION PAGE REFERENCES TAG/ATTRIBUTE DESCRIPTION PAGE REFERENCES MOST TAGS

Unit 5 Web Publishing Systems Page 1 of 13 Part 4 HTML Part 4

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

Web Design 101. What is HTML? HTML Tags. Web Browsers. <!DOCTYPE html> <html> <body> <h1>my First Heading</h1> <p>my first paragraph.

The internet is a worldwide collection of networks that link millions of computers. These links allow the computers to share and send data.

WEBSITE PROJECT 2 PURPOSE: INSTRUCTIONS: REQUIREMENTS:

HTML & CSS. Lesson 1: HTML Basics Lesson 2: Adding Tables Lesson 3: Intro to CSS Lesson 4: CSS in more detail Lesson 5: Review

Creating Web Pages Using HTML

Geocaching HTML & BBCode FUNdamentals by Scott Aleckson (SSO JOAT)

CS 1124 Media computation. Lab 9.3 October 24, 2008 Steve Harrison

HTML & CSS Cheat Sheet

Structure Bars. Tag Bar

ITNP43: HTML Lecture 4

COSC 2206 Internet Tools. CSS Cascading Style Sheets

What is the Box Model?

Website Development with HTML5, CSS and Bootstrap

HTML. LBSC 690: Jordan Boyd-Graber. October 1, LBSC 690: Jordan Boyd-Graber () HTML October 1, / 29

Block & Inline Elements

Designing the Home Page and Creating Additional Pages

The most important layout aspects that can be done with tables are:

All Creative Designs. Basic HTML for PC Tutorial Part 2 Using MS Notepad Revised Version May My First Web Page

7300 Warden Avenue, Suite 503 Markham, Ontario Canada L3R 9Z6. Phone: Toll Free: Fax:

MPT Web Design. Week 1: Introduction to HTML and Web Design

Indian Institute of Technology Kharagpur. HTML Part III. Prof. Indranil Sen Gupta Dept. of Computer Science & Engg. I.I.T.

COPYRIGHTED MATERIAL. Contents. Chapter 1: Creating Structured Documents 1

Introduction to HTML. SSE 3200 Web-based Services. Michigan Technological University Nilufer Onder

How the Internet Works

COMS 359: Interactive Media

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

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

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

HTML Images - The <img> Tag and the Src Attribute

Chapter 1 Self Test. LATIHAN BAB 1. tjetjeprb{at}gmail{dot}com. webdesign/favorites.html :// / / / that houses that information. structure?

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

c122sep814.notebook September 08, 2014 All assignments should be sent to Backup please send a cc to this address

Exam II CIS 228: The Internet Prof. St. John Lehman College City University of New York 5 November 2009

Transcription:

The link to another page is done with the <a href which is set equal to the page I want within the a tag <a href="anotherpage.html"> Then after the <a> is complete I write the words that I want to appear as the link. They are automatically set to plue and underlined to let you know it is a link. I close with </a> which closes the <a> tag and then I use a <br> to skip down a line. Note and remember that a <p> is a paragraph and a blank line is inserted after a paragraph. 1

The current page HTML5linkpage.html and anotherpage.html are in the same directory. Therefore the link in HTML5linkpage.html finds anotherpage.html and can load it. 2

I modified the previous page and put in three links. The first one gives a complete http:// address to the home page for CIS120. The second one goes to a subdirectory under HTML5 called subhtml5 to find the page. The third one links to a page in the same directory (the original link page). See next page. 3

This shows subhtml5 within HTML5 4

From HTML5 I clicked on subhtml5 to find fileinsubhtml5.html 5

This is anotherpage.html which was converted from Word to html. For this course you need to write HTML in Notepad do not use Word. 6

Now I have added 6 headers to my list page. Notice how they diminish in font size and also notice that there is an automatic blank line after each header. 7

Notice that I have changed the color and the alignment of the first three headers, the background color, the default font color and I have changed the color of the items in the unordered list. To do that, I have used Cascading Style Sheets (CSS). 8

The h1 says the style in the curly braces will apply to all the header 1 (h1) tags on your page. So all h1 will have the color property set to blue and the font size property set to 12 px. This could also be written as: h1 { color: blue; font size: 12 px; } or in a variety of other ways. 9

Two approaches to writing the same thing. 10

CSS is inserted using the <style> tag into the <head> portion of the page. Here I have specified the body should have a color of beige and the default font color should be brown. Here I have specified that elements within an <h1> tag should be red and aligned to the center. Here I specified that elements within an <h2> tag should be blue and aligned to the right. Here I specified that elements within an <h3> tag should be green and aligned to the center. Here I specified that elements within a <ul> tag which means all of the <li> items within the <ul> should be red. 11

This page uses color and aligns some lines to the center. To do this, I again used Cascading Style Sheets (CSS). 12

To use CSS, I put the <style> tag in the <head> of the page and tell the type: <style type="text/css">. Style involves me telling what tag I am impacting. The first example is I want to make the font for the entire body red. This would make all of the font red except... The third style I put up was for li and this said set the color of the <li> tag to green. Therefore the <li> tags are showing green instead of red. Here I said I wanted all paragraphs which have a tag of <p> to be aliged to the center and to have the size of the font doubled I do this using 2em. 13

Now I am going to add an image. I am placing the image in the same directory/folder as the page. If it is somewhere else, I would have to use the entire address to the image to have it show on the page. 14

To add the image, I used the <img> tag and said the src (meaning source) is CISa.gif in quotes. Again note that the image is in the same directory/folder as the current page I am looking at. Note that there is no close tag for <img>. 15

Now I have decided to center the image. I will do this through CSS. 16

The CSS to align an image to the center makes the margins on both sides the same and so it works. 17

Now I am setting up a table and giving it color and borders through CSS. 18

I am giving the table a solid thick border and each cell a solid thin border. A table is set up using the <table> tag. Inside the <table> tag we use <tr> to layout rows and <td> to layout the cells within the rows (the columns). This table has two rows and each row has two cells making it have two columns. The number of cells in each row should be the same. Note that I put an image in one of the cells. 19

margin: auto; centers my table 20