CMT111-01/-M1: HTML & Dreamweaver. Creating an HTML Document (Continued)

Size: px
Start display at page:

Download "CMT111-01/-M1: HTML & Dreamweaver. Creating an HTML Document (Continued)"

Transcription

1 CMT111-01/-M1: HTML & Dreamweaver Bunker Hill Community College Spring 2011 Instructor: Lawrence G. Piper Creating an HTML Document (Continued) 31 January to 3 February 2011

2 Where You Should Be Everyone should have a USB stick (aka thumb drive) CMT111-01/M1 44Jan11 2 Everyone should have some portable apps loaded on USB stick Notepad++ at least two browsers Google Chrome Opera FireFox Everyone should have sexyfilemanager Account working we made a starter web page [I want to see them] Who is missing what? We ll fix first thing, then go on

3 Portable Apps on USB Memory Sticks or Thumb Drives In case you missed it last time, here are the instructions CMT111-01/M1 44Jan11 3 Install in USB port in computer (1 GB stick likely large enough) Will probably get a pop-up with a list of choices Choose open folder to view file Click OK Create a folder called portableapps Right click in Explorer and choose New/Folder Rename folder portableapps In browser, download installation file to portableapps folder can find all necessary links on docpiper.com Back in portableapps folder, double click the installation file Follow prompts to install Opera-USB is slightly different Extract to a sub-folder in portableapps folder Run portable app by double clicking program icon in Explorer

4 Why Do We Learn to Code? CMT111-01/M1 44Jan11 4 Coding is the only 100% reliable way to make web pages Dreamweaver is easy to implement BUT also much easier to screw up the only 100% reliable way to fix DW bugs is to delve into code You might find yourself w/o access to DW, but needing to fix something on the road; client calls in a panic; portable Notepad++ to rescue! Learning to code provides necessary background to success in later classes JavaScript, XML, PHP/MySQL are all code classes

5 Summary from Last Time Web page is plain text file all content in file is labeled with tags, e.g. paragraphs, headers, etc Tag is enclosed in brackets: <tag> CMT111-01/M1 44Jan11 5 Most tags come in pairs, an opening and closing tag surrounds each part of the content closing tag denoted by slash, / e.g. <p> sundry paragraph text </p> Some tags have attributes: adds information to specific tag <tag attribute-property= attribute-value > e.g. <div id= navigation > sundry content </div> Three essential tag pairs every page needs <html> </html> [First and Last tags on page; identifies the document as being html] <head> </head> [contains title, information about page and processing instructions] <body> </body> [contains visible page content] [but also need DOCTYPE for completeness/safety] We logged into sexyfilemanager accounts used the text editor in sfm to create a simple projects page

6 The Basic Web Page CMT111-01/M1 44Jan11 6 The code on the left produces the web page below <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" " <html xmlns=" lang="en"> <head> <title>welcome to Bianca's Page</title> <link rel="stylesheet" href="style.css" type="text/css" /> </head> <body> <h1>bianca's CMT Web Pages</h1> <p>welcome to Bianca's page of student projects. I hope you're as edified in viewing these as I was in making them</p> </body> </html>

7 Basic Instructions for Text Editor and Browser Text editor We will be using Notepad++ on our thumb drives File/New to create a new file SaveAs All Files so you can ensure.html extension Indent lines for clarity browsers ignore white space, so ok to have in your code CMT111-01/M1 44Jan11 7 Browsers Windows Internet Explorer is on computer; Opera, FireFox or Chrome on our thumb drives View files in browser File/Open/Browse/Open [use ctrl^o in Chrome] Refresh after editing text file click double-green-arrow button, View/Refresh or hit F5

8 Why We Check in Multiple Browsers CMT111-01/M1 44Jan11 8 Different browsers interpret HTML differently More of a problem in the past today, most browsers follow web standards >90% of browsers in use Only IE6 defies web standards ~8% share of browser market Last semester, we changed text books because former textbook coded to IE6 and was broken in all other, standards-compliant browsers Internet Explorer 6 IE 8 and everyone else

9 Activities for Today Make sure we re ready to go text editor browsers CMT111-01/M1 44Jan11 9 NB: when you read, old browsers in a book, they mean IE6 sexyfilemanager Extract tutorial files to thumb drive Beginning today, we re going to start to zoom. Make sure you re ready!

10 The <head> </head> Element CMT111-01/M1 44Jan11 10 the <head> </head> element contains info not visible on the web page It provides information about the page title (shows up in browser bar) character encoding meta information author, key words, description linked info css file, external scripts, favicon can have embedded css info (avoid if possible) <head> <title>doc Piper's CMT Lectures and Assignments</title> <meta http-equiv="content-type" content="text/html; charset=iso " /> <meta name="author" content="larry Piper" /> <meta name="keywords" content="docpiper, web-site design, Bunker Hill Community College, CMT 111" /> <meta name="description" content="contains resources for CMT 111 students at BHCC" /> <link rel="stylesheet" href="../css/docp.css" type="text/css" /> </head> <script src="../js/docp.js" type="text/javascript" > </script>

11 Basics of an HTML Tag [reminder] A tag is a label contained in angle brackets <p> labels paragraphs </p> <h1> labels major headlines</h1> <img where to find picture /> labels pictures etc. All tags must be well formed lower case [I will mark down your using upper case tags] closed [every tag must be closed no exceptions!] attributes quoted [again no exceptions!] properly nested Good tags label the function of what they are labeling CMT111-01/M1 44Jan11 11 labeling the function is known as semantic mark up In olden tymes, some people used tags for presentation. Doing so now dooms you to obsolescence and unemployment.

12 Three Kinds of Tags CMT111-01/M1 44Jan11 12 Block-level tags are paired around content and define a box of some sort block-level tags begin on a new line some block-level tags can be nested inside other block-level tags <p> this is a paragraph with some text!</p> the box can be styled and positioned as one sees fit e.g. you can style the font, colors, etc inside the box you can add borders or not around the box you can position the box as you see fit all this positioning and styling should be done via CSS [will cover soon] In-line tags are pared around content, but do not define a box, they only label something inside a containing box content inside in-line tags follow immediately after what preceeded it, i.e. same line <a href= docpiper.com >My website</a> let me <em>emphasize</em> one thing This is a paragraph with some text! let me emphasize one thing Empty tags are single tags that don t themselves contain content. They must, however, still be closed <br />: a line break <hr />: a horizontal rule <img src= pics/somepic.jpg />

13 More on Tags Most tags have an opening and a closing <p> opening paragraph tag </p> closing paragraph tag NOTE the slash, / the slash is the tag closer CMT111-01/M1 44Jan11 13 Some tags have attributes an attribute is like an internal label on a tag In ancient times, attributes gave information about formatting the tag We don t do this if we can avoid it, which is / 100 % of the time An attribute has a property and a value <div id= content > id is property content is the value of the property the value must be enclosed in quotation marks

14 Character Entities or References CMT111-01/M1 44Jan11 14 How do you put non-keyboard characters on your page? things like [copyright], [registered trade mark], [degree sign] use character entities or references Two kinds of character references HTML references: &name; must begin with & and end with ; makes a bullet: makes copyright: numerical references: &#nnnn; must begin with &# and end with ; much more extensive can add Kanji, Sanskrit, etc makes a bullet: makes copyright: Partial list: More extensive discussions: Jukka Korpela: Alan Wood: Simple chart on Evolt.org:

15 Special Tags <div> and <span> <div> is the block-level generic tag it doesn t have semantic meaning itself it is used for page structure wrap around related elements very helpful with positioning and formatting <span> is the in-line generic tag it doesn t have semantic meaning itself it is used for formatting duties CMT111-01/M1 44Jan11 15 mostly not needed in olden days, people used it copiously, thereby showing that they were hacks occasionally can be useful only on rare occasion generally give <div> and <span> id or class attributes for formatting <div id= content > all your page content </div> We want this text colored, but not this. We want this <span class= somecolor >text colored</span>, but not this.

16 Core Attributes Attributes that can be used with almost all tags id gives an element a unique identifyer an id can be used only once on a given page use for primary or unique structures class CMT111-01/M1 44Jan11 16 can be used multiple times most often used if several elements on a page need a common formatting often abused by developers title provides pop-up tool tip describing an element <div id= header > <img class= right title= picture of brewster />

17 The Basics of Hyperlinks There are four basic kinds of hyperlinks CMT111-01/M1 44Jan11 17 internal: takes you from page to page within a web site External: takes you away from your web site to another one Jump (or named anchor): takes you to another spot on a given page mail: allegedly opens up your program with the link target s e- mail address in the To: field mail links often don t work, either because you haven t set up your browser and program correctly (like my brother) or because you are using someone else s computer (library, internet café, school, friend s house, etc.) The basic link syntax is the same for all <a href= url >text you click</a> url means where you re going text you click url = universal resource locator It is the address where you find the linked material

18 Creating Links CMT111-01/M1 44Jan11 18 An anchor tag or link tag surrounds information that users click to navigate to another location try to use semantic links, i.e. ones that say where you re going The New York Times said today, Attributes and values specify the tag s behavior or function href [required: address of hyperlink] target [optional: window or frame in which to open link] title [optional: tells where and why you are linking the text (tool tip)] a stands for anchor Tag pattern: href stands for Hypertext Reference <a href= url >text related to url</a> url must be enclosed in quotation marks url is link to another page another part of the page another website program (e.g. Thunderbird, Outlook, etc.)

19 External Links Link to an external web page CMT111-01/M1 44Jan11 19 href will be url or address of that page protocol subdomain or server domain directory or path file name id of specific element on page only protocol and domain name are essential if no file name given, index.html (or index.php) is assumed also true with subdirectories, e.g. will search for a file named index.html in the lgpiper if index.html is not found, get an error page

20 Internal Links Links to one of the other pages on the web site CMT111-01/M1 44Jan11 20 These are links to other files or directories on the server, so put in the directory path name To move to a file in same directory as the one you re linking from, just put the name of the file To move to a file in a different directory, need to add the directory path See next slides for summary of relative path naming

21 Directory Structure To Design web site Navigation Must understand directory structure which files are in which directory Top directory of site called root Subdirectories are children of directory above them Directories above where you are are called parent Directories on same level called siblings CMT111-01/M1 44Jan11 21 root directory Home parent of Projects, Songs and Shows children of Home (or root) Siblings Projects Songs Shows parent of Music and Art Siblings Music Art children of Shows

22 Paths to Directories Going Down the Chain root directory Home parent of Projects, Songs and Shows CMT111-01/M1 44Jan11 22 children of Home (or root) Siblings Projects Songs Shows parent of Music and Art Siblings Music Art children of Shows From home Projects/fileName or Projects/ Shows/Music/fileName or Shows/Music/ second option is when filename=index.html From Shows Music/fileName or Music/ second option is when filename=index.html

23 Paths to Directories Going Up the Chain root directory Home parent of Projects, Songs and Shows CMT111-01/M1 44Jan11 23 children of Home (or root) Siblings Projects Songs Shows parent of Music and Art Siblings Music Art children of Shows From Art../fileName or../ [Projects, Songs, Shows]../../fileName or../../ [Home] second option is when filename=index.html From Shows../fileName or../ [Home] second option is when filename=index.html Yes, it s confusing. You need to name directory going down, but just do../ going up. Essentially../ means parent directory../../ means parent of your parent

24 Lists CMT111-01/M1 44Jan11 24 Three kinds of lists ordered list list items in numerical order unordered list bullet list definition list a definition term followed by one or several definitions Ordered list <ol> <li>item one</li> <li>item two</li> <li>item three</li> </ol> Un-ordered list <ul> <li>item one</li> <li>item two</li> <li>item three</li> </ul> 1. item one 2. item two 3. item three item one item two item three

25 How to Add Images to Web Page Use the <img /> tag A single tag, so must be closed at back end One required attribute The file source (src) In images we use src In links we use href In css, we use url One semi-required attribute alt: it provides a description for screen readers CMT111-01/M1 44Jan11 25 Several useful attributes height=, width= : dimensions of figure (in px); use improves load times vspace=, hspace= : add space (in px) around the picture align= : describe how text flows around picture Whether or not there is a border around the picture This useful to keep image links from having ugly blue borders title= some title text provides a tool-tip caption for the figure [alt no longer works for this]

26 More about Image Tags and their Attributes CMT111-01/M1 44Jan11 26 Because pictures differ one from another, often need to specify attributes for each img tag Could make up standard sizing and then use css for all images Can still use css for some attributes, like space around the figure Attributes in a tag use old-style coding property= value don t need to separate property/value pairs with commas don t need to specify px for attributes with units, pixels are assumed Basic format <img src= images/brewster.jpg width= 350 height= 263 alt= Picture of Brewster, the mighty frog hunter />

27 Essential Parts of a Visible Web Page Header logo page title do not confuse this with <head> element Navigation should be on every page always have a link to home Main Content text pictures etc Footer copyright contact info CMT111-01/M1 44Jan11 27

28 Standard Schematics of Visible Web Pages CMT111-01/M1 44Jan11 28 Header Header Nav. Main Content Navigation Main Content Footer Footer

29 Can Create Structure Using <div> Tags Nav. Header Main Content Footer CMT111-01/M1 44Jan11 29 <div id= header > Header </div> <div id= nav > Nav <div> <div id= content > Main Content </div> <div id= footer > Footer </div> mark up is simpler than for table Styling is simpler than table style everything in external style sheet with #id selectors Often wrap nav and main content in another <div> to make centering/symmetry easier

30 Creating a Web Page: Mike s Bait & Tackle Shop 1. Sketch out what you envision called storyboarding or wireframing 2. Identify the major structural components of the page header main content footer 3. Identify the various elements on the page headings <hn> paragraphs <p> address <address> lists <ul>, <ol>, <dl> <img /> etc 4. Make skeleton page DTD plus 3 essential tags easiest if begin with skeleton template 5. then add elements structural elements <div>s for major sections tags for content the content itself CMT111-01/M1 44Jan11 30

31 Creating a Web Page: Mike s Bait & Tackle Shop CMT111-01/M1 44Jan11 31 title <img /> <h1> Header <p> <h2> <p> <a> <ul> <address> Main Content Footer

32 First set up the Block-level Elements Block-level tags describe a box of some kind CMT111-01/M1 44Jan11 32 You will be subject to great ridicule if you use the ones I ve crossed out! We ll be using the starred ones in this tutorial

33 In-line Elements Describe Discrete Parts of a Block Use semantic (descriptive) tags CMT111-01/M1 44Jan11 33 use <strong> use <em> or <cite> use <del> use <ins>, or better, make up style rule

34 Empty Elements Stand Alone Formatting help <br /> for line break <hr /> for horizontal rule Insert objects into document CMT111-01/M1 44Jan11 34 <img /> to place an image on a page <input /> to place an input control on a page, e.g. radio button, text box, etc. Provide specific information <meta /> information about document in the <head> section <link /> links to supporting documents, like style sheets, also in <head> Empty elements must be closed place a space after the tag, then />

35 Looking Forward CMT111-01/M1 44Jan11 35 We ll begin our series of short quizes next week, at the end of class either on Monday or on Thursday. Some of these key points are bound to show up Will be at end of class Will take about 10 minutes Key points taken from the in-class presentations and homework exercises. (they re all on line)

36 CMT111-01/M1 44Jan11 36

CMT111-01/M1: HTML & Dreamweaver. Creating an HTML Document

CMT111-01/M1: HTML & Dreamweaver. Creating an HTML Document CMT111-01/M1: HTML & Dreamweaver Bunker Hill Community College Spring 2011 Instructor: Lawrence G. Piper Creating an HTML Document 24 January 2011 Goals for Today Be sure we have essential tools text editor

More information

HTML. Hypertext Markup Language. Code used to create web pages

HTML. Hypertext Markup Language. Code used to create web pages Chapter 4 Web 135 HTML Hypertext Markup Language Code used to create web pages HTML Tags Two angle brackets For example: calhoun High Tells web browser ho to display page contents Enter with

More information

Web Publishing Basics I

Web Publishing Basics I Web Publishing Basics I Jeff Pankin Information Services and Technology Contents Course Objectives... 2 Creating a Web Page with HTML... 3 What is Dreamweaver?... 3 What is HTML?... 3 What are the basic

More information

HTML Overview. With an emphasis on XHTML

HTML Overview. With an emphasis on XHTML HTML Overview With an emphasis on XHTML What is HTML? Stands for HyperText Markup Language A client-side technology (i.e. runs on a user s computer) HTML has a specific set of tags that allow: the structure

More information

Review of HTML. Chapter Pearson. Fundamentals of Web Development. Randy Connolly and Ricardo Hoar

Review of HTML. Chapter Pearson. Fundamentals of Web Development. Randy Connolly and Ricardo Hoar Review of HTML Chapter 3 Fundamentals of Web Development 2017 Pearson Fundamentals of Web Development http://www.funwebdev.com - 2 nd Ed. What Is HTML and Where Did It Come from? HTML HTML is defined as

More information

How the Internet Works

How the Internet Works How the Internet Works The Internet is a network of millions of computers. Every computer on the Internet is connected to every other computer on the Internet through Internet Service Providers (ISPs).

More information

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

Unit 5 Web Publishing Systems Page 1 of 13 Part 4 HTML Part 4 Unit 5 Web Publishing Systems Page 1 of 13 Part 4 HTML 4.01 Version: 4.01 Transitional Hypertext Markup Language is the coding behind web publishing. In this tutorial, basic knowledge of HTML will be covered

More information

HTML. Mohammed Alhessi M.Sc. Geomatics Engineering. Internet GIS Technologies كلية اآلداب - قسم الجغرافيا نظم المعلومات الجغرافية

HTML. Mohammed Alhessi M.Sc. Geomatics Engineering. Internet GIS Technologies كلية اآلداب - قسم الجغرافيا نظم المعلومات الجغرافية HTML Mohammed Alhessi M.Sc. Geomatics Engineering Wednesday, February 18, 2015 Eng. Mohammed Alhessi 1 W3Schools Main Reference: http://www.w3schools.com/ 2 What is HTML? HTML is a markup language for

More information

introduction to XHTML

introduction to XHTML introduction to XHTML XHTML stands for Extensible HyperText Markup Language and is based on HTML 4.0, incorporating XML. Due to this fusion the mark up language will remain compatible with existing browsers

More information

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

Make a Website. A complex guide to building a website through continuing the fundamentals of HTML & CSS. Created by Michael Parekh 1 Make a Website A complex guide to building a website through continuing the fundamentals of HTML & CSS. Created by Michael Parekh 1 Overview Course outcome: You'll build four simple websites using web

More information

CHAPTER 2 MARKUP LANGUAGES: XHTML 1.0

CHAPTER 2 MARKUP LANGUAGES: XHTML 1.0 WEB TECHNOLOGIES A COMPUTER SCIENCE PERSPECTIVE CHAPTER 2 MARKUP LANGUAGES: XHTML 1.0 Modified by Ahmed Sallam Based on original slides by Jeffrey C. Jackson reserved. 0-13-185603-0 HTML HELLO WORLD! Document

More information

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

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

More information

Introduction to HTML & CSS. Instructor: Beck Johnson Week 2

Introduction to HTML & CSS. Instructor: Beck Johnson Week 2 Introduction to HTML & CSS Instructor: Beck Johnson Week 2 today Week One review and questions File organization CSS Box Model: margin and padding Background images and gradients with CSS Make a hero banner!

More information

Web Development & Design Foundations with XHTML. Chapter 2 Key Concepts

Web Development & Design Foundations with XHTML. Chapter 2 Key Concepts Web Development & Design Foundations with XHTML Chapter 2 Key Concepts Learning Outcomes In this chapter, you will learn about: XHTML syntax, tags, and document type definitions The anatomy of a web page

More information

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

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 Index Numbers & Symbols (angle brackets), in HTML, 47 : (colon), in CSS, 96 {} (curly brackets), in CSS, 75, 96. (dot), in CSS, 89, 102 # (hash mark), in CSS, 87 88, 99 % (percent) font size, in CSS,

More information

11. HTML5 and Future Web Application

11. HTML5 and Future Web Application 11. HTML5 and Future Web Application 1. Where to learn? http://www.w3schools.com/html/html5_intro.asp 2. Where to start: http://www.w3schools.com/html/html_intro.asp 3. easy to start with an example code

More information

Authoring World Wide Web Pages with Dreamweaver

Authoring World Wide Web Pages with Dreamweaver Authoring World Wide Web Pages with Dreamweaver Overview: Now that you have read a little bit about HTML in the textbook, we turn our attention to creating basic web pages using HTML and a WYSIWYG Web

More information

Programmazione Web a.a. 2017/2018 HTML5

Programmazione Web a.a. 2017/2018 HTML5 Programmazione Web a.a. 2017/2018 HTML5 PhD Ing.Antonino Raucea antonino.raucea@dieei.unict.it 1 Introduzione HTML HTML is the standard markup language for creating Web pages. HTML stands for Hyper Text

More information

Full file at New Perspectives on HTML and CSS 6 th Edition Instructor s Manual 1 of 13. HTML and CSS

Full file at   New Perspectives on HTML and CSS 6 th Edition Instructor s Manual 1 of 13. HTML and CSS New Perspectives on HTML and CSS 6 th Edition Instructor s Manual 1 of 13 HTML and CSS Tutorial One: Getting Started with HTML 5 A Guide to this Instructor s Manual: We have designed this Instructor s

More information

Modify cmp.htm, contactme.htm and create scheduleme.htm

Modify cmp.htm, contactme.htm and create scheduleme.htm GRC 175 Assignment 2 Modify cmp.htm, contactme.htm and create scheduleme.htm Tasks: 1. Setting up Dreamweaver and defining a site 2. Convert existing HTML pages into proper XHTML encoding 3. Add alt tags

More information

INTRODUCTION TO HTML5! HTML5 Page Structure!

INTRODUCTION TO HTML5! HTML5 Page Structure! INTRODUCTION TO HTML5! HTML5 Page Structure! What is HTML5? HTML5 will be the new standard for HTML, XHTML, and the HTML DOM. The previous version of HTML came in 1999. The web has changed a lot since

More information

CS134 Web Site Design & Development. Quiz1

CS134 Web Site Design & Development. Quiz1 CS134 Web Site Design & Development Quiz1 Name: Score: Email: I Multiple Choice Questions (2 points each, total 20 points) 1. Which of the following is an example of an IP address? a. www.whitehouse.gov

More information

Introduction to WEB PROGRAMMING

Introduction to WEB PROGRAMMING Introduction to WEB PROGRAMMING Web Languages: Overview HTML CSS JavaScript content structure look & feel transitions/animation s (CSS3) interaction animation server communication Full-Stack Web Frameworks

More information

Html basics Course Outline

Html basics Course Outline Html basics Course Outline Description Learn the essential skills you will need to create your web pages with HTML. Topics include: adding text any hyperlinks, images and backgrounds, lists, tables, and

More information

Dreamweaver CS3 Lab 2

Dreamweaver CS3 Lab 2 Dreamweaver CS3 Lab 2 Using an External Style Sheet in Dreamweaver Creating the site definition First, we'll set up the site and define it so that Dreamweaver understands the site structure for your project.

More information

Web Designing HTML5 NOTES

Web Designing HTML5 NOTES Web Designing HTML5 NOTES HTML Introduction What is HTML? HTML is the standard markup language for creating Web pages. HTML stands for Hyper Text Markup Language HTML describes the structure of Web pages

More information

Table Basics. The structure of an table

Table Basics. The structure of an table TABLE -FRAMESET Table Basics A table is a grid of rows and columns that intersect to form cells. Two different types of cells exist: Table cell that contains data, is created with the A cell that

More information

Using Dreamweaver CS6

Using Dreamweaver CS6 Using Dreamweaver CS6 7 Dynamic HTML Dynamic HTML (DHTML) is a term that refers to website that use a combination of HTML, scripting such as JavaScript, CSS and the Document Object Model (DOM). HTML and

More information

Perfect Student Midterm Exam March 20, 2007 Student ID: 9999 Exam: 7434 CS-081/Vickery Page 1 of 5

Perfect Student Midterm Exam March 20, 2007 Student ID: 9999 Exam: 7434 CS-081/Vickery Page 1 of 5 Perfect Student Midterm Exam March 20, 2007 Student ID: 9999 Exam: 7434 CS-081/Vickery Page 1 of 5 NOTE: It is my policy to give a failing grade in the course to any student who either gives or receives

More information

CSS worksheet. JMC 105 Drake University

CSS worksheet. JMC 105 Drake University CSS worksheet JMC 105 Drake University 1. Download the css-site.zip file from the class blog and expand the files. You ll notice that you have an images folder with three images inside and an index.html

More information

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

Web Design 101. What is HTML? HTML Tags. Web Browsers. <!DOCTYPE html> <html> <body> <h1>my First Heading</h1> <p>my first paragraph. What is HTML? Web Design 101 HTML is a language for describing web pages. HTML stands for Hyper Text Markup Language HTML is a markup language à A markup language is a set of markup tags The tags describe

More information

More about HTML. Digging in a little deeper

More about HTML. Digging in a little deeper More about HTML Digging in a little deeper Structural v. Semantic Markup Structural markup is using to encode information about the structure of a document. Examples: , , , and

More information

What is XHTML? XHTML is the language used to create and organize a web page:

What is XHTML? XHTML is the language used to create and organize a web page: XHTML Basics What is XHTML? XHTML is the language used to create and organize a web page: XHTML is newer than, but built upon, the original HTML (HyperText Markup Language) platform. XHTML has stricter

More information

Beginning Web Site Design

Beginning Web Site Design Beginning Web Site Design Stanford University Continuing Studies CS 03 (Summer CS 21) Mark Branom branom@alumni.stanford.edu http://web.stanford.edu/people/markb/ Course Web Site: http://web.stanford.edu/group/csp/cs03/

More information

HTML/CSS Lesson Plans

HTML/CSS Lesson Plans HTML/CSS Lesson Plans Course Outline 8 lessons x 1 hour Class size: 15-25 students Age: 10-12 years Requirements Computer for each student (or pair) and a classroom projector Pencil and paper Internet

More information

Introduction to HTML5

Introduction to HTML5 Introduction to HTML5 History of HTML 1991 HTML first published 1995 1997 1999 2000 HTML 2.0 HTML 3.2 HTML 4.01 XHTML 1.0 After HTML 4.01 was released, focus shifted to XHTML and its stricter standards.

More information

Web Programming Week 2 Semester Byron Fisher 2018

Web Programming Week 2 Semester Byron Fisher 2018 Web Programming Week 2 Semester 1-2018 Byron Fisher 2018 INTRODUCTION Welcome to Week 2! In the next 60 minutes you will be learning about basic Web Programming with a view to creating your own ecommerce

More information

Creating and Building Websites

Creating and Building Websites Creating and Building Websites Stanford University Continuing Studies CS 21 Mark Branom branom@alumni.stanford.edu Course Web Site: http://web.stanford.edu/group/csp/cs21/ Week 1 Slide 1 of 28 Course Description

More information

I-5 Internet Applications

I-5 Internet Applications I-5 Internet Applications After completion of this unit, you should be able to understand and code a webpage that includes pictures, sounds, color, a table, a cursor trail, hypertext, and hyperlinks. Assignments:

More information

HTML Hyper Text Markup Language

HTML Hyper Text Markup Language HTML Hyper Text Markup Language Home About Services index.html about.html services.html Homepage = index.html site root index.html about.html services.html images headshot.jpg charlie.jpg A webpage built

More information

Tutorial 1 Getting Started with HTML5. HTML, CSS, and Dynamic HTML 5 TH EDITION

Tutorial 1 Getting Started with HTML5. HTML, CSS, and Dynamic HTML 5 TH EDITION Tutorial 1 Getting Started with HTML5 HTML, CSS, and Dynamic HTML 5 TH EDITION Objectives Explore the history of the Internet, the Web, and HTML Compare the different versions of HTML Study the syntax

More information

Introduction to using HTML to design webpages

Introduction to using HTML to design webpages Introduction to using HTML to design webpages #HTML is the script that web pages are written in. It describes the content and structure of a web page so that a browser is able to interpret and render the

More information

As we design and build out our HTML pages, there are some basics that we may follow for each page, site, and application.

As we design and build out our HTML pages, there are some basics that we may follow for each page, site, and application. Extra notes - Client-side Design and Development Dr Nick Hayward HTML - Basics A brief introduction to some of the basics of HTML. Contents Intro element add some metadata define a base address

More information

Microsoft Expression Web Quickstart Guide

Microsoft Expression Web Quickstart Guide Microsoft Expression Web Quickstart Guide MS-Expression Web Quickstart Guide Page 1 of 24 Expression Web Quickstart Guide (20-Minute Training) Welcome to Expression Web. When you first launch the program,

More information

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

COPYRIGHTED MATERIAL. Contents. Chapter 1: Creating Structured Documents 1 59313ftoc.qxd:WroxPro 3/22/08 2:31 PM Page xi Introduction xxiii Chapter 1: Creating Structured Documents 1 A Web of Structured Documents 1 Introducing XHTML 2 Core Elements and Attributes 9 The

More information

Objective % Select and utilize tools to design and develop websites.

Objective % Select and utilize tools to design and develop websites. Objective 207.02 8% Select and utilize tools to design and develop websites. Hypertext Markup Language (HTML) Basic framework for all web design. Written using tags that a web browser uses to interpret

More information

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

CS 1124 Media computation. Lab 9.3 October 24, 2008 Steve Harrison CS 1124 Media computation Lab 9.3 October 24, 2008 Steve Harrison Today using strings to write HTML HTML From text to HTML to XML and beyond... 3 HTML is not a programming language Using HTML is called

More information

Creating HTML files using Notepad

Creating HTML files using Notepad Reference Materials 3.1 Creating HTML files using Notepad Inside notepad, select the file menu, and then Save As. This will allow you to set the file name, as well as the type of file. Next, select the

More information

Basics of Web Design, 3 rd Edition Instructor Materials Chapter 2 Test Bank

Basics of Web Design, 3 rd Edition Instructor Materials Chapter 2 Test Bank Multiple Choice. Choose the best answer. 1. What element is used to configure a new paragraph? a. new b. paragraph c. p d. div 2. What element is used to create the largest heading? a. h1 b. h9 c. head

More information

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

HTML TAG SUMMARY HTML REFERENCE 18 TAG/ATTRIBUTE DESCRIPTION PAGE REFERENCES TAG/ATTRIBUTE DESCRIPTION PAGE REFERENCES MOST TAGS MOST TAGS CLASS Divides tags into groups for applying styles 202 ID Identifies a specific tag 201 STYLE Applies a style locally 200 TITLE Adds tool tips to elements 181 Identifies the HTML version

More information

Introduction, Notepad++, File Structure, 9 Tags, Hyperlinks 1

Introduction, Notepad++, File Structure, 9 Tags, Hyperlinks 1 Introduction, Notepad++, File Structure, 9 Tags, Hyperlinks 1 Introduction to HTML HTML, which stands for Hypertext Markup Language, is the standard markup language used to create web pages. HTML consists

More information

Part 1: HTML Language HyperText Make-up Language

Part 1: HTML Language HyperText Make-up Language Part 1: HTML Language HyperText Make-up Language 09/08/2010 1 CHAPTER I Introduction about Web Design 2 Internet and World Wide Web The Internet is the world s largest computer network The Internet is

More information

COMSC-030 Web Site Development- Part 1. Part-Time Instructor: Joenil Mistal

COMSC-030 Web Site Development- Part 1. Part-Time Instructor: Joenil Mistal COMSC-030 Web Site Development- Part 1 Part-Time Instructor: Joenil Mistal Chapter 1 1 HTML and Web Page Basics Are you interested in building your own Web pages? This chapter introduces you to basic HTML

More information

CREATING A WEBSITE USING CSS. Mrs. Procopio CTEC6 MYP1

CREATING A WEBSITE USING CSS. Mrs. Procopio CTEC6 MYP1 CREATING A WEBSITE USING CSS Mrs. Procopio CTEC6 MYP1 HTML VS. CSS HTML Hypertext Markup Language CSS Cascading Style Sheet HTML VS. CSS HTML is used to define the structure and content of a webpage. CSS

More information

Certified HTML5 Developer VS-1029

Certified HTML5 Developer VS-1029 VS-1029 Certified HTML5 Developer Certification Code VS-1029 HTML5 Developer Certification enables candidates to develop websites and web based applications which are having an increased demand in the

More information

Implementing a chat button on TECHNICAL PAPER

Implementing a chat button on TECHNICAL PAPER Implementing a chat button on TECHNICAL PAPER Contents 1 Adding a Live Guide chat button to your Facebook page... 3 1.1 Make the chat button code accessible from your web server... 3 1.2 Create a Facebook

More information

CSI 3140 WWW Structures, Techniques and Standards. Markup Languages: XHTML 1.0

CSI 3140 WWW Structures, Techniques and Standards. Markup Languages: XHTML 1.0 CSI 3140 WWW Structures, Techniques and Standards Markup Languages: XHTML 1.0 HTML Hello World! Document Type Declaration Document Instance Guy-Vincent Jourdan :: CSI 3140 :: based on Jeffrey C. Jackson

More information

Downloads: Google Chrome Browser (Free) - Adobe Brackets (Free) -

Downloads: Google Chrome Browser (Free) -   Adobe Brackets (Free) - Week One Tools The Basics: Windows - Notepad Mac - Text Edit Downloads: Google Chrome Browser (Free) - www.google.com/chrome/ Adobe Brackets (Free) - www.brackets.io Our work over the next 6 weeks will

More information

What is a web site? Web editors Introduction to HTML (Hyper Text Markup Language)

What is a web site? Web editors Introduction to HTML (Hyper Text Markup Language) What is a web site? Web editors Introduction to HTML (Hyper Text Markup Language) What is a website? A website is a collection of web pages containing text and other information, such as images, sound

More information

Beginning HTML. The Nuts and Bolts of building Web pages.

Beginning HTML. The Nuts and Bolts of building Web pages. Beginning HTML The Nuts and Bolts of building Web pages. Overview Today we will cover: 1. what is HTML and what is it not? Building a simple webpage Getting that online. What is HTML? The language of the

More information

Dreamweaver: Portfolio Site

Dreamweaver: Portfolio Site Dreamweaver: Portfolio Site Part 3 - Dreamweaver: Developing the Portfolio Site (L043) Create a new Site in Dreamweaver: Site > New Site (name the site something like: Portfolio, or Portfolio_c7) Go to

More information

HTML CS 4640 Programming Languages for Web Applications

HTML CS 4640 Programming Languages for Web Applications HTML CS 4640 Programming Languages for Web Applications 1 Anatomy of (Basic) Website Your content + HTML + CSS = Your website structure presentation A website is a way to present your content to the world,

More information

Chapter 4. Introduction to XHTML: Part 1

Chapter 4. Introduction to XHTML: Part 1 Chapter 4. Introduction to XHTML: Part 1 XHTML is a markup language for identifying the elements of a page so a browser can render that page on a computer screen. Document presentation is generally separated

More information

1. The basic building block of an HTML document is called a(n) a. tag. b. element. c. attribute. d. container. Answer: b Page 5

1. The basic building block of an HTML document is called a(n) a. tag. b. element. c. attribute. d. container. Answer: b Page 5 Name Date Final Exam Prep Questions Worksheet #1 1. The basic building block of an HTML document is called a(n) a. tag. b. element. c. attribute. d. container. Answer: b Page 5 2. Which of the following

More information

HYPERTEXT MARKUP LANGUAGE ( HTML )

HYPERTEXT MARKUP LANGUAGE ( HTML ) 1 HTML BASICS MARK-UP LANGUAGES Traditionally used to provide typesetting information to printers where text should be indented, margin sizes, bold text, special font sizes and styles, etc. Word processors

More information

CSC 121 Computers and Scientific Thinking

CSC 121 Computers and Scientific Thinking CSC 121 Computers and Scientific Thinking Fall 2005 HTML and Web Pages 1 HTML & Web Pages recall: a Web page is a text document that contains additional formatting information in the HyperText Markup Language

More information

CHAPTER 1: GETTING STARTED WITH HTML CREATED BY L. ASMA RIKLI (ADAPTED FROM HTML, CSS, AND DYNAMIC HTML BY CAREY)

CHAPTER 1: GETTING STARTED WITH HTML CREATED BY L. ASMA RIKLI (ADAPTED FROM HTML, CSS, AND DYNAMIC HTML BY CAREY) CHAPTER 1: GETTING STARTED WITH HTML EXPLORING THE HISTORY OF THE WORLD WIDE WEB Network: a structure that allows devices known as nodes or hosts to be linked together to share information and services.

More information

c122jan2714.notebook January 27, 2014

c122jan2714.notebook January 27, 2014 Internet Developer 1 Start here! 2 3 Right click on screen and select View page source if you are in Firefox tells the browser you are using html. Next we have the tag and at the

More information

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

A HTML document has two sections 1) HEAD section and 2) BODY section A HTML file is saved with.html or.htm extension HTML Website is a collection of web pages on a particular topic, or of a organization, individual, etc. It is stored on a computer on Internet called Web Server, WWW stands for World Wide Web, also called

More information

Week 1 - Overview of HTML and Introduction to JavaScript

Week 1 - Overview of HTML and Introduction to JavaScript ITEC 136 Business Programming Concepts Week 1 Module 1: Overview of HTML and Course overview Agenda This week s expected outcomes This week s topics This week s homework Upcoming deadlines Questions and

More information

INTRODUCTION TO WEB USING HTML What is HTML?

INTRODUCTION TO WEB USING HTML What is HTML? Geoinformation and Sectoral Statistics Section (GiSS) INTRODUCTION TO WEB USING HTML What is HTML? HTML is the standard markup language for creating Web pages. HTML stands for Hyper Text Markup Language

More information

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

Using Dreamweaver CC. 6 Styles in Websites. Exercise 1 Linked Styles vs Embedded Styles Using Dreamweaver CC 6 So far we have used CSS to arrange the elements on our web page. We have also used CSS for some limited formatting. In this section we will take full advantage of using CSS to format

More information

HTML. HTML Evolution

HTML. HTML Evolution Overview stands for HyperText Markup Language. Structured text with explicit markup denoted within < and > delimiters. Not what-you-see-is-what-you-get (WYSIWYG) like MS word. Similar to other text markup

More information

Guidelines for doing the short exercises

Guidelines for doing the short exercises 1 Short exercises for Murach s HTML5 and CSS Guidelines for doing the short exercises Do the exercise steps in sequence. That way, you will work from the most important tasks to the least important. Feel

More information

Dreamweaver Basics. Planning your website Organize site structure Plan site design & navigation Gather your assets

Dreamweaver Basics. Planning your website Organize site structure Plan site design & navigation Gather your assets Dreamweaver Basics Planning your website Organize site structure Plan site design & navigation Gather your assets Creating your website Dreamweaver workspace Define a site Create a web page Linking Manually

More information

MP3 (W7,8,&9): HTML Validation (Debugging) Instruction

MP3 (W7,8,&9): HTML Validation (Debugging) Instruction MP3 (W7,8,&9): HTML Validation (Debugging) Instruction Objectives Required Readings Supplemental Reading Assignment In this project, you will learn about: - Explore accessibility issues and consider implications

More information

HTML Overview formerly a Quick Review

HTML Overview formerly a Quick Review HTML Overview formerly a Quick Review Outline HTML into Emergence of DHTML HTML History Evolution of Web 1.0 to Web 2.0 DHTML = HTML + JavaScript + CSS Key Set of HTML Tags Basic: a, html, head, body,

More information

Attributes & Images 1 Create a new webpage

Attributes & Images 1 Create a new webpage Attributes & Images 1 Create a new webpage Open your test page. Use the Save as instructions from the last activity to save your test page as 4Attributes.html and make the following changes:

More information

OU EDUCATE TRAINING MANUAL

OU EDUCATE TRAINING MANUAL OU EDUCATE TRAINING MANUAL OmniUpdate Web Content Management System El Camino College Staff Development 310-660-3868 Course Topics: Section 1: OU Educate Overview and Login Section 2: The OmniUpdate Interface

More information

NEW WEBMASTER HTML & CSS FOR BEGINNERS COURSE SYNOPSIS

NEW WEBMASTER HTML & CSS FOR BEGINNERS COURSE SYNOPSIS NEW WEBMASTER HTML & CSS FOR BEGINNERS COURSE SYNOPSIS LESSON 1 GETTING STARTED Before We Get Started; Pre requisites; The Notepad++ Text Editor; Download Chrome, Firefox, Opera, & Safari Browsers; The

More information

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

Creating A Web Page. Computer Concepts I and II. Sue Norris Creating A Web Page Computer Concepts I and II Sue Norris Agenda What is HTML HTML and XHTML Tags Required HTML and XHTML Tags Using Notepad to Create a Simple Web Page Viewing Your Web Page in a Browser

More information

DREAMWEAVER QUICK START TABLE OF CONTENT

DREAMWEAVER QUICK START TABLE OF CONTENT DREAMWEAVER QUICK START TABLE OF CONTENT Web Design Review 2 Understanding the World Wide Web... 2 Web Browsers... 2 How Browsers Display Web pages... 3 The Web Process at Sacramento State... 4 Web Server

More information

1.264 Lecture 12. HTML Introduction to FrontPage

1.264 Lecture 12. HTML Introduction to FrontPage 1.264 Lecture 12 HTML Introduction to FrontPage HTML Subset of Structured Generalized Markup Language (SGML), a document description language SGML is ISO standard Current version of HTML is version 4.01

More information

A Brief Introduction to HTML

A Brief Introduction to HTML A P P E N D I X HTML SuMMAry J A Brief Introduction to HTML A web page is written in a language called HTML (Hypertext Markup Language). Like Java code, HTML code is made up of text that follows certain

More information

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

recall: a Web page is a text document that contains additional formatting information in the HyperText Markup Language (HTML) HTML & Web Pages recall: a Web page is a text document that contains additional formatting information in the HyperText Markup Language (HTML) HTML specifies formatting within a page using tags in its

More information

Data Visualization (DSC 530/CIS )

Data Visualization (DSC 530/CIS ) Data Visualization (DSC 530/CIS 602-01) HTML, CSS, & SVG Dr. David Koop Data Visualization What is it? How does it differ from computer graphics? What types of data can we visualize? What tasks can we

More information

LAB 2 INTRODUCTION TO HTML

LAB 2 INTRODUCTION TO HTML LAB 2 INTRODUCTION TO HTML What You Will Learn How to create HTML documents Basic HTML structure How to creating hyperlinks How to add images to a web page HTML5 semantic tags Approximate Time The exercises

More information

BASICS OF WEB DESIGN CHAPTER 2 HTML BASICS KEY CONCEPTS

BASICS OF WEB DESIGN CHAPTER 2 HTML BASICS KEY CONCEPTS BASICS OF WEB DESIGN CHAPTER 2 HTML BASICS KEY CONCEPTS 1 LEARNING OUTCOMES Describe the anatomy of a web page Format the body of a web page with block-level elements including headings, paragraphs, lists,

More information

Wireframe :: tistory wireframe tistory.

Wireframe :: tistory wireframe tistory. Page 1 of 45 Wireframe :: tistory wireframe tistory Daum Tistory GO Home Location Tags Media Guestbook Admin 'XHTML+CSS' 7 1 2009/09/20 [ ] XHTML CSS - 6 (2) 2 2009/07/23 [ ] XHTML CSS - 5 (6) 3 2009/07/17

More information

Data Visualization (CIS/DSC 468)

Data Visualization (CIS/DSC 468) Data Visualization (CIS/DSC 468) Web Programming Dr. David Koop Definition of Visualization Computer-based visualization systems provide visual representations of datasets designed to help people carry

More information

Creating Web Pages Using HTML

Creating Web Pages Using HTML Creating Web Pages Using HTML HTML Commands Commands are called tags Each tag is surrounded by Some tags need ending tags containing / Tags are not case sensitive, but for future compatibility, use

More information

Tutorial 2 - HTML basics

Tutorial 2 - HTML basics Tutorial 2 - HTML basics Developing a Web Site The first phase in creating a new web site is planning. This involves determining the site s navigation structure, content, and page layout. It is only after

More information

Using Dreamweaver CS6

Using Dreamweaver CS6 Using Dreamweaver CS6 4 Creating a Template Now that the main page of our website is complete, we need to create the rest of the pages. Each of them will have a layout that follows the plan shown below.

More information

HTML & CSS. Rupayan Neogy

HTML & CSS. Rupayan Neogy HTML & CSS Rupayan Neogy But first My Take on Web Development There is always some tool that makes your life easier. Hypertext Markup Language The language your web browser uses to describe the content

More information

Dreamweaver Basics Workshop

Dreamweaver Basics Workshop Dreamweaver Basics Workshop Robert Rector idesign Lab - Fall 2013 What is Dreamweaver? o Dreamweaver is a web development tool o Dreamweaver is an HTML and CSS editor o Dreamweaver features a WYSIWIG (What

More information

1/6/ :28 AM Approved New Course (First Version) CS 50A Course Outline as of Fall 2014

1/6/ :28 AM Approved New Course (First Version) CS 50A Course Outline as of Fall 2014 1/6/2019 12:28 AM Approved New Course (First Version) CS 50A Course Outline as of Fall 2014 CATALOG INFORMATION Dept and Nbr: CS 50A Title: WEB DEVELOPMENT 1 Full Title: Web Development 1 Last Reviewed:

More information

Web Design and Development ACS Chapter 3. Document Setup

Web Design and Development ACS Chapter 3. Document Setup Web Design and Development ACS-1809 Chapter 3 Document Setup 1 Create an HTML file At their very core, HTML files are simply text files with two additional feature.htm or.html as file extension name They

More information

Hyper Text Markup Language

Hyper Text Markup Language Hyper Text Markup Language HTML is a markup language. It tells your browser how to structure the webpage. HTML consists of a series of elements, which you use to enclose, or mark up different parts of

More information

HTML Exercise 20 Linking Pictures To Other Documents Or Web Sites

HTML Exercise 20 Linking Pictures To Other Documents Or Web Sites HTML Exercise 20 Linking Pictures To Other Documents Or Web Sites Turning pictures into hyperlinks is nearly the same as what you learned in Exercises 4 and 5. If a picture is essential to a Web page,

More information

Bunker Hill Community College: HTML and Dreamweaver

Bunker Hill Community College: HTML and Dreamweaver Bunker Hill Community College: HTML and Dreamweaver Class Listing: CMT 111-01 Semester: Spring 2011 Class times: Tuesday/Thursday; 8:30 a.m. 9:45 a.m. Class Location: D115 Instructor: Lawrence G. Piper

More information