Dbwebsites 1.1 Making Database backed Websites Session 1 Building a simple website by hand.

Slides:



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

HTML popo.
Introduction to HTML & CSS
Internet Services and Web Authoring (CSET 226) Lecture # 5 HyperText Markup Language (HTML) 1.
Cascading Style Sheets (CSS). Cascading Style Sheets With the explosive growth of the World Wide Web, designers and programmers quickly explored and reached.
Cascading Style Sheets
Making Things Look Nice: Visual Appearance and CSS CMPT 281.
© 2004, Robert K. Moniot Chapter 6 CSS : Cascading Style Sheets.
How Tags are used to form your Web Page
HCI 201 Week 6 Client Side Image Maps Introduction to CSS.
Web Workshop: CSS Objectives: - “What is CSS?” - Structure of CSS - How to use CSS in your webpage.
Unit 2, cont. September 14 HTML,Validating your pages, Publishing your site.
4.01 Cascading Style Sheets
ETT 429 Spring 2007 Web Design I.
INTRO TO WEB DEVELOPMENT
Web Design is a class created to nurture the minds of high school techies, and introduce those without prior knowledge to the field.
Chapter 2 Introduction to HTML5 Internet & World Wide Web How to Program, 5/e Copyright © Pearson, Inc All Rights Reserved.
Hypertext Markup Language (HTML) Created by Sarah Dooley & Amanda Foster Edited and presented by Caroline Hallam September 9, 2014.
Designing Web Pages Getting to know HTML... What is HTML? Hyper Text Markup Language HTML is the major language of the Internet’s World Wide Web. Web.
Using Cascading Style Sheets (CSS) Dept. of Computer Science and Computer Information CSCI N-100.
HTML. Goals How to use the Komodo editor HTML coding and testing – List and Images – Tables and Links – At least 2 pages and navigation –
Introduction to Web Development in HTML Web module day 1 IS 201.
HTML. We’ll learn … What HTML is What tags are What a basic web page looks like What 3 HTML tags are required What HTML comments look like How to title.
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.
Learning HTML. HTML Attributes HTML elements can have attributes Attributes provide additional information about an element Class – specifies a class.
HTML (HyperText Markup Language)
E-Commerce: Introduction to Web Development 1 Dr. Lawrence West, Management Dept., University of Central Florida Topics What is a Web.
 HTML stands for Hyper Text Mark-up Language. The coding language used to create documents for the World Wide Web  HTML is composed of tags. HTML tags.
CP2022 Multimedia Internet Communication1 HTML and Hypertext The workings of the web Lecture 7.
IDs versus Classes Naming Your Tags for Maximum Functionality.
 This presentation introduces the following: › 3 types of CSS › CSS syntax › CSS comments › CSS and color › The box model.
 A style sheet is a single page of formatting instructions that can control the appearance of many HTML pages at once.  If style sheets accomplished.
CSS My favourite ICT lesson By Federico Boschi Cascading Style Sheets.
Just A Few More Fun Objectives 1 Having Some Fun With Java Script 2 Using Style Sheets.
CSS CSS is short for C ascading S tyle S heets. It is a new web page layout method that has been added to HTML to give web developers more control over.
 cascade Style Sheets (CSS) is a mark-up language that was first proposed in 1994 by Håkon Wium Lie. CSS works in conjunction with HTML to greatly increase.
IS1825: Developing Multimedia Applications for Business Lecture 1: Introduction to CSS Rob Gleasure
Cascading Style Sheets Part 1. CSS vs HTML HTML: Originally intended to markup structure of a document (,...,,,,,...) CSS Developing technology, CSS1,
Introduction to web development and HTML MGMT 230 LAB.
ECA 228 Internet/Intranet Design I Intro to Markup.
1 Web Application Programming Presented by: Mehwish Shafiq.
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.
HTML Basics Computers. What is an HTML file? *HTML is a format that tells a computer how to display a web page. The documents themselves are plain text.
Cascading Style Sheets (CSS). A style sheet is a document which describes the presentation semantics of a document written in a mark-up language such.
XHTML Formatting font with a style declaration. Formatting Font HTML uses the font tag to change size and family of font But… the font tag is being deprecated.
Web Design (12) CSS Introduction. Cascading Style Sheets - Defined CSS is the W3C standard for defining the presentation of documents written in HTML.
Web Authoring with Dreamweaver. Unit Objectives  Be able to define keywords: HTML, HTTP (protocol), browser, web server, client/server, tag, attribute,
Spiderman ©Marvel Comics Creating Web Pages (part 1)
CSS Hadas Kahsay. Overview  What is CSS  Basic syntax of CSS Rules  How to link CSS style to html documents  Browsers and CSS  Advantages of CSS.
Web Technologies Beginning Cascading Style Sheets (CSS) 1Copyright © Texas Education Agency, All rights reserved.
Getting Started with HTML. HTML  Hyper Text Markup Language  HTML isn’t a program language, its known as a markup language  A Markup language has tags.
Cascading Style Sheets (CSS) EXPLORING COMPUTER SCIENCE – LESSON 3-5.
Chapter 5 BIE2313 | Web design. ALL RIGHTS RESERVED No part of this document may be reproduced without written approval from Limkokwing University of.
CHAPTER TWO HTML TAGS. 1.Basic HTML Tags 1.1 HTML: Hypertext Markup Language  HTML stands for Hypertext Markup Language.  It is the markup language.
Your HTML website creating your first html file. Creating an HTML FIle Open note pad from accessories, programs. Write code. Save and view. In 3 Steps.
Writing Web Pages in HTML HTML.1 The Web  Lots of computers connected together in a collection of networks  HyperText Markup Language (HTML) is a common.
CSS Cascading Style Sheets *referenced from
CompSci 1 Lecture 2 HTML Webpages. Today’s Topics Basic HTML The basis for web pages “Almost” programming Upcoming Programming Java Reading Great Ideas.
Web Design – Week 2 Introduction to website basics Website basics: How the Web Works Client / server architecture Packet switching URL components.
Group 9: Through examples, explain how to build a css navigation bar. Presented by: Daniel Ku, Matt Iannacci & Iphia Henry.
HTML. Hyper Text Markup Language Markup your text document The markup is the tag Hyper text means you can jump from place to place Programming language.
1 HTML. 2 Full forms WWW – world Wide Web HTTP – Hyper Text Transfer Protocol HTML – Hyper Text Markup Language.
Source of website: “Text/css rel=“styles heet” This is an external style sheet link. This means that the.
1 Cascading Style Sheet (CSS). 2 Cascading Style Sheets (CSS)  a style defines the appearance of a document element. o E.g., font size, font color etc…
CSS Introductions. Objectives To take control of the appearance of a Web site by creating style sheets. To use a style sheet to give all the pages of.
Objectives At the end of this session students will: Define the following terms in two sentences or less Website Web page Browser Html URL Hyperlink Explain.
4.01 How Web Pages Work.
HTML LINKS
Web Programming and Design
Presentation transcript:

dbwebsites 1.1 Making Database backed Websites Session 1 Building a simple website by hand

dbwebsites 1.2 How does the web work? A web-server waits for requests from a browser (web-client) When you go to a site your browser sends a request to the web server It sends back the HTML for the page Your browser parses the page looking for other resources it needs (eg images) It requests and receives the additional resources

dbwebsites 1.3 HTML Originally designed as a Semantic Markup Language Consists of Head and Body Head contains information about the web page (eg title) Body contains the content of the page itself

dbwebsites 1.4 Tags HTML tags markup parts of the page as being head, body, a title, bold, etc. Tags look like…...some stuff… Some tags also have attributes Note, in HTML not all tags close

dbwebsites 1.5 A short page A short page Some content for our short page Note: The indenting is not important, but it makes it easier to see the structure of the document.

dbwebsites 1.6 The major tags

dbwebsites 1.7 Linking pages together Stuff Bother This page will be have links to a page called stuff.html and another called bother.html

dbwebsites 1.8 Blue Peter moment Here’s one I prepared earlier… Errr…why does it look awful? We need some style!

dbwebsites 1.9 Getting it to look good There are two broad approaches… Using HTML as a layout language (a Bad Thing) …or… Using Semantic Markup (a Good Thing)

dbwebsites 1.10 Non-Semantic Markup when used for layout Widely used (even by me), but considered a “Bad Thing”. Don’t do it…use semantic markup instead

dbwebsites 1.11 Semantic Markup Use markup to denote the meaning of parts of the document. i.e. Which part is the title, which parts are headings Then use style sheets to control the appearance.

dbwebsites 1.12 Style Sheets h1 { font-family: Helvetica; color: #008800; background-color: #ffffff; text-decoration: underline; } div.special { color: #bbbbbb; }

dbwebsites 1.13 Style Sheets Inline styles – the tag h1 { color: #ff0000; } External Style sheets tag External styles generally are generally better, unless you want to add one extra style to a specific page, that’s never going to be used elsewhere… Why?

dbwebsites 1.14 Colours Look like #ff6790 (which is a pinkish colour) Made up of Red, Green and Blue #RRGGBB Unfortunately in hexadecimal, (base 16).

dbwebsites 1.15 Regions here’s some text in a grey region Freaky The appearance of the regions is defined by style sheets.

dbwebsites 1.16 Site layout strategies Addressing types Absolute will work from anywhere. The only option for linking to pages on another site Relative assuming that the page with the link is in the same directory. Will stop working if you move either of the pages. Root Relative assuming the page with the link is on the same server. Will work so long as the target page is not moved. Since sites tend to have lots of links within the site Root Relative is very useful.

dbwebsites 1.17 Site layout strategies Use folders to group related pages within a site. The URL can be a useful navigation tool for experienced surfers. Put images that are used all over the site in one place – often in /images/ Site wide style sheets in one place – say /styles/ Resources that are only used for part of a site in subfolders.

dbwebsites 1.18 Why does site layout matter? If you’ve written 5 webpages, it probably doesn’t. If you’ve written 5000 and you decide you want to change something… bad layout will toast you. Bad separation of style from content will also toast you since you’ll have to update the style elements on every page.

dbwebsites 1.19 Forms! This is where it gets exciting… Some text

dbwebsites 1.20 So where does the data go? We’ll come to that in the final week!! For now just use the script “echo.php”

dbwebsites 1.21 Questions? Presentation online at… tech/howitworks/dbwebsites/