Week 2: Building a Simple Website IMC 320 Web Publishing Spring 2011.

Slides:



Advertisements
Similar presentations
Table, List, Blocks, Inline Style
Advertisements

WeB application development
Cascading Style Sheets
Today CSS HTML A project.
Cascading Style Sheets. CSS stands for Cascading Style Sheets and is a simple styling language which allows attaching style to HTML elements. CSS is a.
Advanced Web Design Using Dreamweaver Robby Seitz 121 Powers Hall
SM5312 week 11: CSS Menus & Navigation Bars1 An Introduction to Cascading Style Sheets CSS Menus and Navigation Bars Nick Foxall.
Advance CSS (Menu and Layout) Miftahul Huda. CSS Navigation MENU It's truly remarkable what can be achieved through CSS, especially with navigation menus.
Building a Website: Cascading Style Sheets (CSS) Fall 2013.
CIS 1310 – HTML & CSS 6 Layout. CIS 1310 – HTML & CSS Learning Outcomes  Describe & Apply the CSS Box Model  Configure Float with CSS  Designate Positioning.
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.
Chapter 3 Tables and Page Layout
MR.Mohammed Sharaf al Shareef
XHTML II DIGITAL MEDIA: COMMUNICATION AND DESIGN F2007.
 2003 Prentice Hall, Inc. All rights reserved. Chapter 4 - Introduction to XHTML: Part 1 Outline 4.1 Introduction 4.2 Editing XHTML 4.3 First XHTML Example.
 2003 Prentice Hall, Inc. All rights reserved. Chapter 4 - Introduction to XHTML: Part 1 Outline 4.1 Introduction 4.2 Editing XHTML 4.3 First XHTML Example.
Tutorial 3: Adding and Formatting Text. 2 Objectives Session 3.1 Type text into a page Copy text from a document and paste it into a page Check for spelling.
Chapter 14 Introduction to HTML
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.
CpSc 462/662: Database Management Systems (DBMS) (TEXNH Approach) HTML Basics James Wang.
Organizing Content by Using Dreamweaver CS5 Domain 5.
DAT602 Database Application Development Lecture 14 HTML.
HTML (HyperText Markup Language)
 2008 Pearson Education, Inc. All rights reserved Introduction to XHTML Pt. 2.
Chapter 2 HTML Basics Key Concepts Copyright © 2013 Terry Ann Morris, Ed.D 1.
HTML Hyper-Text Markup Language or tags. HTML is a “tag” language Open and close tags Tags identified with angle brackets Basic format content (shorthand.
CHAPTER 1 HTML & HTML5 I อ. ยืนยง กันทะเนตร คณะเทคโนโลยีสารสนเทศและการสื่อสาร มหาวิทยาลัยพะเยา 1.
Copyright © 2013 MyGraphicsLab / Pearson Education STRUCTURE AND HTML TAGS MyGraphicsLab: Adobe Dreamweaver CS6 ACA Certification Preparation for Web Communication.
Introduction to HTML. What is a HTML File?  HTML stands for Hyper Text Markup Language  An HTML file is a text file containing small markup tags  The.
 2008 Pearson Education, Inc. All rights reserved Introduction to XHTML.
Introduction to HTML. What is HTML? Hyper Text Markup Language (HTML) is a language for describing web pages. HTML is not a programming language, it is.
Going Live with a Basic Web Page Bill Hart-Davidson AIM: billhd30 pfworkshop.
Bare bones slide show. The format is text files, with.htm or.html extension. Hard returns, tabs, and extra spaces are ignored. DO NOT use spaces in file.
 2008 Pearson Education, Inc. All rights reserved Introduction to XHTML.
HTML Basics BCIS 3680 Enterprise Programming. Web Client/Server Architecture 2  Your browser (the client) requests a Web page from a remote computer.
Ali Alshowaish. What is HTML? HTML stands for Hyper Text Markup Language Specifically created to make World Wide Web pages Web authoring software language.
CIS133: Internet Development Week 2. Agenda  Homework Review  MYSCC  FTP  HTML Code  In-class  Lab / Homework.
WEB DESIGN AND PROGRAMMING Introduction to XHTML.
HTML HyperText Markup Language ©Richard L. Goldman July 15, 2003.
Department of Computer Science, Florida State University CGS 3066: Web Programming and Design Spring
XP 2 HTML Tutorial 1: Developing a Basic Web Page.
1999, COMPUTER SCIENCE, BUU Introduction to HTML Seree Chinodom
INT222 – Internet Fundamentals
Tutorial #1 Using HTML to Create Web Pages. HTML, XHTML, and CSS HTML – HyperText Markup Language The tags the browser uses to define the content of the.
HTML Tutorial. What is HTML HTML is a markup language for describing web documents (web pages) HTML documents are described by HTML tags Each HTML tag.
Chapter 4 and 5. Objectives Introduce markup: elements and attributes How browsers interpret HTML documents Basic structure of HTML document What do style.
Elements & Attributes. There are different types of elements, but the 2 most important ones are BLOCK and INLINE. Block elements flow from top to bottom.
Blended HTML and CSS Fundamentals 3 rd EDITION Tutorial 1 Using HTML to Create Web Pages.
HTML.
Introduction to HTML.
Marking Up with XHTML Tags describe how a web page should look
Bare boned notes.
Semester - Review.
Elements of HTML Web Design – Sec 3-2
HTML: HyperText Markup Language
Elements of HTML Web Design – Sec 3-2
Coding, Testing and Valdating a Web Page
Elements of HTML Web Design – Sec 3-2
Chapter 4 - Introduction to XHTML: Part 1
Marking Up with XHTML Tags describe how a web page should look
Marking Up with XHTML Tags describe how a web page should look
Introduction to HTML- Basics
Introduction to XHTML Cont:.
Marking Up with XHTML Tags describe how a web page should look
Marking Up with XHTML Tags describe how a web page should look
Lesson 2: HTML5 Coding.
Marking Up with XHTML Tags describe how a web page should look
Presentation transcript:

Week 2: Building a Simple Website IMC 320 Web Publishing Spring 2011

HTML elements The things that make up an HTML document Element/attribute syntax (from w3schools.com)w3schools.com An HTML element starts with a start tag / opening tag An HTML element ends with an end tag / closing tag The element content is everything between the start and the end tag Some HTML elements have empty content Empty elements are closed in the start tag Most HTML elements can have attributes Can be nested; not case-sensitive

Key HTML elements Document: html Page head: head Contains style, meta tags, scripts, and links to files containing these thing Not visible to page viewer Page body: body Contains content of page Visible

Key HTML elements Paragraph: p Headings: h1, h2, h3, etc. Link: a Link text Image: img

Key HTML elements Lists Ordered list: ol (has numbers) Unordered list: ul (has no numbers, can have bullets or images or...) List item: li (the things in the list) Can be nested

Key HTML elements Line break: br Rule: hr Comment:

Key HTML elements Tables table tbody tr (table row) th (table head) td (table... data?)

Key HTML tags Bold: strong Italics: em Underline: u Strikethrough: s Block quotation: blockquote Code: code

Attributes Provide additional information about HTML elements Specified in the start tag Come in name/value pairs: name=“value” First Post! Enclose values in quotes Not case-sensitive (but use lowercase)

Attributes: IDs and classes ID Only one of each per page h1#site-name or #site-name Class Can have many of same per page h2.entry-title or.entry-title

Inline styling Hard to maintain -> not recommended

Spacing and position Width Margin Padding Div -> a block of elements

Cascading Style Sheets(CSS) In page head:... As separate file:

FTP with Dreamweaver Local folder Site name (DW) FTP host (A Small Orange server) your domain name (not subdomain) Host directory (remote folder) public_html/[subdomain directory] Login & password Passive FTP

Lab part 1 1. Create subdomain 2. Set up Dreamweaver site 3. Download files & unzip 4. Create index.html 5. Insert text 6. Set up folders 7. Style document 8. Upload and view 9. Style some more Files:

Site menus/navigation Make a bunch of links Use an unordered list Get rid of bullets Make the list items display as blocks Float the list items Style the hovers and visited links

Consistency across pages Included files Various methods depending on server settings and type PHP: create file with repeated elements change filename extension to.php

Consistency across pages Dreamweaver templates Select what’s editable and what’s fixed Can have multiple templates per site Use conditions to determine what’s included Reduces processing on server Need to check out and reapply templates to all files to which it applies

List => Flexible photo gallery Remove list styling Reset margin and padding Set width and height of list element Float list element Optional: Set image width and height Style borders style captions

Lab part 2 Create a navigation menu Create a template from the repeatable parts of your page, including menu Create photo gallery page Create contact page Link it all together

Resources HTML 4.01 / XHTML 1.0 Reference: List of CSS properties: Smashing Magazine: /18/time-saving-and-educational- resources-for-web-designers/