© Anselm SpoerriInfo + Web Tech Course Information Technologies Info + Web Tech Course Anselm Spoerri PhD (MIT) Rutgers University

Slides:



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

Chapter 3 – Web Design Tables & Page Layout
CREATED BY : VIRAL M.KORADIYA. Anchor elements are defined by the element. The element accepts several attributes, but either the Name or HREF attribute.
2.744 Dreamweaver Tutorial Sangmok Han Feb 24, 2010.
Cascading Style Sheets
Creating Pages in XHTML
INTRODUCTION TO HYPERTEXT MARKUP LANGUAGE 1. Outline  Introduction  Markup Languages  Editing HTML  Common Tags  Headers  Text Styling  Linking.
HTML Creating Web pages. HTML Hyper Text Markup Language Not programming, but a markup language using tags to format text in Web browsers.
ITEC 745 Instructional Web Authoring I Instructor: Ray Cole Week 6.
Web Design HTML Basic Robertus Setiawan Aji Nugroho References: w3schools.com.
Web-based Application Development Lecture 9 February 7, 2006 Anita Raja.
© Anselm SpoerriInfo + Web Tech Course Information Technologies Info + Web Tech Course Anselm Spoerri PhD (MIT) Rutgers University
© Anselm SpoerriInfo + Web Tech Course Information Technologies Info + Web Tech Course Anselm Spoerri PhD (MIT) Rutgers University
 2008 Pearson Education, Inc. All rights reserved. 1 Introduction to HTML.
© Anselm SpoerriInfo + Web Tech Course Information Technologies Info + Web Tech Course Anselm Spoerri PhD (MIT) Rutgers University
Information Technologies Anselm Spoerri PhD (MIT)
INSTRUCTIONAL SUPPORT SERVICES (ISS) SHORT COURSE, FALL 2012 UMSL Introduction to Web Page Design.
HTML. Goals How to use the Komodo editor HTML coding and testing Basic HTML tags List and Images Tables and Links At least 2 pages and navigation
Images and Tables. Displaying Image Attributes: SRC= " mypic.gif " – Name of the picture file SRC= " pic/mygif.jpg " – Name of file found in pic directory.
HTML Tags. Objectives Know the commonly used HTML tags Create a simple webpage using the HTML tags that will be discussed.
HTML. Goals How to use the Komodo editor HTML coding and testing – List and Images – Tables and Links – At least 2 pages and navigation –
CS105 Introduction to Computer Concepts HTML
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.
Copyright © Texas Education Agency, All rights reserved. 1 Web Technologies Website Development with Dreamweaver.
Web Technologies Website Development Trade & Industrial Education
Learning HTML. HTML Attributes HTML elements can have attributes Attributes provide additional information about an element Class – specifies a class.
Programming in HTML.  Programming Language  Used to design/create web pages  Hyper Text Markup Language  Markup Language  Series of Markup tags 
Enhancing Your Web Site. More Basic HTML Tags Today you will learn these tags: & add-on (alt, height, width & align) and “href” add-on Add a text link.
1 Essential HTML coding By Fadi Safieddine (Week 2)
Understanding HTML Code
 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.
Images in HTML PowerPoint How images are used in HTML.
Website Development with Dreamweaver
ITEC 745 Instructional Web Authoring I Instructor: Ray Cole Week 8.
Chapter 2 HTML Basics Key Concepts Copyright © 2013 Terry Ann Morris, Ed.D 1.
1 CSC 121 Computers and Scientific Thinking David Reed Creighton University HTML and Web Pages.
Programming in HTML.  Programming Language  Used to design/create web pages  Hyper Text Markup Language  Markup Language  Series of Markup tags 
Just A Few More Fun Objectives 1 Having Some Fun With Java Script 2 Using Style Sheets.
Going Live with a Basic Web Page Bill Hart-Davidson AIM: billhd30 pfworkshop.
CS105 INTRODUCTION TO COMPUTER CONCEPTS HTML Instructor: Cuong (Charlie) Pham.
INTRODUCTORY Tutorial 1 Using HTML Tags to Create Web Pages.
HTML: Hyptertext Markup Language Doman’s Sections.
Georgia Institute of Technology Making Text for the Web Barb Ericson Georgia Institute of Technology March 2006.
© Anselm SpoerriInfo + Web Tech Course Information Technologies Info + Web Tech Course Anselm Spoerri PhD (MIT) Rutgers University
CITY UNIVERSITY / Vysoká Škola Manažmentu.:MG Information Systems :. © Martina Cesalova, 2005 MS FRONTPAGE 2 1.Create a new document 2.Save as L/bsba/IS330/yourfolder,
HTML Concepts and Techniques Fifth Edition Chapter 4 Creating Tables in a Web Site.
HTML Basics. HTML Coding HTML Hypertext markup language The code used to create web pages.
Spiderman ©Marvel Comics Creating Web Pages (part 1)
HTML CS 105. Page Structure HTML elements control the details of how a page gets displayed. Every HTML document has the following basic structure: … …
Building a Web Page. Create A New Folder  Right click on the desktop and select New / Folder  Name the folder playpen.
1 Creating Links Lesson 2. 2 In the center column type : Home | Order Now | Contact Us This is the navigation button which will link to the other pages.
1 Preparation for site Create a folder in MyDocuments: beavercheese. Create a subfolder, images Classes, career, DW beginner Download.
REEM ALMOTIRI Information Technology Department Majmaah University.
Introduction to Web Authoring Ellen Cushman /wra210.htm Class mtg. #2.
HTML. INDEX Introduction to HTML Creating Web Pages Commands And Tags Web Page.
Creating Web Pages with Links, Images, and Embedded Style Sheets
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.
1 HTML. 2 Full forms WWW – world Wide Web HTTP – Hyper Text Transfer Protocol HTML – Hyper Text Markup Language.
Introduction to HTML Hypertext Mark-up Language. HTML HTML = Hypertext Mark-up Language Is just plain simple text marked up by “tags” You can create a.
HTML And the Internet. HTML and the Internet ► HTML: HyperText Markup Language  Language in which all pages on the web are written  Not Really a Programming.
HTML Help book. HTML HTML is the programming language used to make web pages for the Internet. HTML stands for Hyper Text Markup Language. HTML is made.
Introduction to Web Authoring Bill Hart-Davidson AIM: billhd30 Session 2
HTML.
HTML Basics.
HTML Images CS 1150 Spring 2017.
Computers and Scientific Thinking David Reed, Creighton University
Basic HTML and Embed Codes
HTML Images CS 1150 Fall 2016.
Introduction to HTML.
Information Technologies Anselm Spoerri PhD (MIT)
Presentation transcript:

© Anselm SpoerriInfo + Web Tech Course Information Technologies Info + Web Tech Course Anselm Spoerri PhD (MIT) Rutgers University

© Anselm SpoerriInfo + Web Tech Course Lecture 4 – Overview Basic HTML –Transition to HTML5 and Key Rules –Doctype, encoding (XHTML, HTML5) –Tables, Links, Images (XHTML, HTML5) Demo of Exercise 2 –Transition from XTHML to HTML5 Web Services Google Analytics Demo Lectures – Week 4 Content

© Anselm SpoerriInfo + Web Tech Course HTML – Big Picture Page Design  Progressive Enhancement –Create HTML structure  Add CSS  Add JavaScript Transition to HTML5  Markup with Meaning –HTML 4, XHTML : use tags to structure the content –HTML5 : use tags to structure and describe meaning of content –New semantic elements:,,,,,,, –Redefines existing tags or eliminates others –More forgiving than XHTML: /> optional and and are back –Still true and necessary –HTML elements must be properly nested –HTML elements should have closing tag

© Anselm SpoerriInfo + Web Tech Course HTML – Examples HTML elements must be properly nested Content  Content HTML elements must close Content  Content and acceptable HTML elements best be lowercase 

© Anselm SpoerriInfo + Web Tech Course HTML – Examples Semantic Meaning emphasis Content important Content Visual Appearance Content

© Anselm SpoerriInfo + Web Tech Course HTML – Page Layout Two methods for creating Web Page Layout ‒ Tables (this lecture) ‒ HTML5, DIVs and CSS (next lecture) Table ‒ table ‒ row ‒ header ‒ cell ‒

© Anselm SpoerriInfo + Web Tech Course Table Example

© Anselm SpoerriInfo + Web Tech Course Basic XHTML – Essential Elements to Include – – My Page –Headers: –Paragraphs: –Tables: –Lists:, (can be nested) –Adding visual emphasis to text :, Font specification: Text

© Anselm SpoerriInfo + Web Tech Course Basic HTML5 – Essential Elements to Include – – My Page – –Headers: –Paragraphs: –Tables: –Lists:, (can be nested) –Adding semantic emphasis to text :,., Font specification: use CSS

© Anselm SpoerriInfo + Web Tech Course Hyperlinks hyperlink tag Use Attributes and Values Text of Hyperlink Create Anchor: Link to Anchor:

© Anselm SpoerriInfo + Web Tech Course Images image tag Use Attributes and Values (src and alt are required to be valid HTML) <img src="pathname" alt="my image" [text to appear if image does not show] height="100" width="100" [improves time to load page] align="left" [image floats on left, text flows on right … deprecated in HTML5 for CSS] hspace="5" [deprecated in HTML5 for CSS] vspace="5" [deprecated in HTML5 for CSS] /> [XHTML requires />] Floating image needs to be placed right before text that needs to flow or wrap around it.

© Anselm SpoerriInfo + Web Tech Course Exercise 2 Exercise 2: HTML – Create Information Resource ‒ Create at least 3 web pages. ‒ Use a table to structure the page so that it has: ‒ 3 columns: 50 | 500 | 100 pixels wide ‒ 4 rows: 50 | 50 | 500 | 50 pixels high ‒ Each page has one h1 tag and at least one h2 tag Sans-serif font is used at least one word is bolded and italized ‒ Simple navigation structure using relative hyperlinks. ‒ Include at least one absolute hyperlink per page. ‒ Edit images found on flickr.com using free online tool. Embed at least one image per page and text flows around it

© Anselm SpoerriInfo + Web Tech Course Exercise 2 Demo – Step 1 Create folder = “ex2” inside your “550” folder Open New File with Notepad++ / TextWrangler –Save as type – All files (otherwise saves it as.txt by default) –File name - ex2_page1.html –Add doctype, encoding and title and essential elements (make sure to have closing tags) Upload File to Eden, Set Permissions, Test in Browser

© Anselm SpoerriInfo + Web Tech Course Exercise 2 Demo – Step 2 Create Table –One row with three cells and height = 50 and widths as indicated in Ex2 –Add following text “1.1”, “1.2”, “1.3” to respective cells Add Font specification so that text in table is shown Arial and dark blue Save Page Upload File to Eden and Test in Browser

© Anselm SpoerriInfo + Web Tech Course Exercise 2 Demo – Step 3 Copy 1 st Row code Create 2 nd Row by pasting copied code and customize –Height = 50 and widths as indicated in Ex2 –Add following text “2.1”, “2.2”, “2.3” to respective cells Create 3 rd Row by pasting copied code and customize –Height = 500 and widths as indicated in Ex2 –Add following text “3.1”, “3.2”, “3.3” to respective cells Create 4 th Row by pasting copied code and customize –Height = 50 and widths as indicated in Ex2 –Add following text “4.1”, “4.2”, “4.3” to respective cells Save Page Upload File to Eden and Test in Browser

© Anselm SpoerriInfo + Web Tech Course Exercise 2 Demo – Step 4 Enter Following Content into 3 rd Row and 2 nd Column: Heading 1 tag “Heading1” Paragraph tag “Intro paragraph” Heading 2 tag “Heading2” Paragraph “Follow-up paragraph” Save Page Upload File to Eden and Test in Browser Make sure content in 3 rd row is top aligned

© Anselm SpoerriInfo + Web Tech Course Exercise 2 Demo – Step 5 Find Image and Save to Hard Disk Insert Image before “follow-up” paragraph Specify Height, Width, Alternate Text, Left Alignment Save Page Upload File to Eden and Test in Browser Make sure there is visual gap between image and text

© Anselm SpoerriInfo + Web Tech Course Exercise 2 Demo – Step 6 Enter Following Content into 1 st Row and 2 nd Column: “Page1 | Page2” Attach relative hyperlink to “Page1” so that it links to page “ex2_page1.html” Attach relative hyperlink to “Page2” so that it links to page “ex2_page2.html” Save Page Upload File to Eden and Test in Browser Create “ex2_page2.html” page using Save As Customize page Upload File to Eden, Set Permissions and Test in Browser

© Anselm SpoerriInfo + Web Tech Course Exercise 2 Demo – Step 7 Create “you are here” indicator in Navigation Structure Select “PageN” on “ex2_pageN” and remove hyperlink Select “PageN” and make it bold Select “PageN” and set font color to red ["#FF0000"] Save Page Upload File to Eden and Test in Browser You will need to Validate Your Pages using [instructor will let you know which errors you can ignore]

© Anselm SpoerriInfo + Web Tech Course Exercise 2 – Transition from XTHML to HTML5 What Changes ‒ DOCTYPE and encoding ‒ Font specification ‒ Width and Height of Table Cell specification ‒ Font color of “you are here” indicator specification  Need to use CSS ‒ body { font: 100%/1.4 Verdana, Arial, Helvetica, sans-serif; color: #000099;} ‒ td { width: 50px; height: 50px;} ‒.wide1 {width: 500px;} ‒.wide2 { width: 100px;} ‒.high1 { height: 500px;} ‒.here { color: #FF0000;}

© Anselm SpoerriInfo + Web Tech Course Web Services Google Analytics Demo ‒ Log into Your Google Account ‒ Add Analytics to your set of tools ‒ In Accounts bar, click on “Add New Account” or Use “Select an account” pull down menu in top right corner ‒ Analytics: New Account Signup dialog : Specify URL ‒ Track: Single Domain ‒ Copy Embed code (consult “common question” links) ‒ Paste at bottom of web page before

© Anselm SpoerriInfo + Web Tech Course Example of Google Analytics Tracking Code var gaJsHost = ((" == document.location.protocol) ? " : " document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E")); try { var pageTracker = _gat._getTracker("UA "); pageTracker._trackPageview(); } catch(err) {}