1 More About HTML Tables and Images. 22 Objectives You will be able to Create tables in HTML. Include images in your HTML page. Create links to other.

Slides:



Advertisements
Similar presentations
Introduction to Web Design Lecture number:. Todays Aim: Introduction to Web-designing and how its done. Modelling websites in HTML.
Advertisements

© 2011 Delmar, Cengage Learning Chapter 1 Getting Started with Dreamweaver.
DREAMWEAVER Welcome to our website!
Chapter 3 – Web Design Tables & Page Layout
WEB DESIGN TABLES, PAGE LAYOUT AND FORMS. Page Layout Page Layout is an important part of web design Why do you think your page layout is important?
Introduction to HTML & CSS
CSS Cascading Style Sheets. Objectives Using Inline Styles Working with Selectors Using Embedded Styles Using an External Style Sheet Applying a Style.
CSS. CSS stands for Cascading Style Sheets Styles define how to display HTML elements Styles were added to HTML 4.0 to solve a problem External Style.
WeB application development
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.
กระบวนวิชา 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.
CPSC 203 Introduction to Computers Tutorial 59 & 64 By Jie (Jeff) Gao.
Information Technologies Anselm Spoerri PhD (MIT)
Tutorial 8 Designing a Web Site with Frames. XP Objectives Explore the uses of frames in a Web site Create a frameset consisting of rows and columns of.
Creating and Publishing Your own website
With Alex Conger – President of Webmajik.com FrontPage 2002 Level I (Intro & Training) FrontPage 2002 Level I (Intro & Training)
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.
Computer Sciences Department
Designing a Classroom Web Site Using NVU Beginning Level.
1 Deploying a Web Application. 2 Virtual Directories Web servers map URLs to directories in their file systems. Called virtual directories. Normally one.
Bayu Priyambadha, S.Kom. for long documents, you can even have links to other locations in that same document  … where ident is a variable for identifying.
Web Design HTML, Frontpage, DreamWeaver μέρος β ΠΡΥ019 - Πληροφορική Δρ.Βάσος Βασιλείου.
Copyright © Texas Education Agency, All rights reserved. 1 Web Technologies Website Development with Dreamweaver.
Using Dreamweaver. Slide 1 Dreamweaver has 2 screens that do different things The Document window where you create your WebPages The Site window where.
XP 1 Tutorial 5 Using Frames in a Web Site. XP 2 Tutorial Objectives  Describe the uses of frames in a Web site  Lay out frames within a browser window.
Links in HTML. Hyperlinks or links Millions of linked web pages make up the World Wide Web Used to connect a web page to another web page on the same.
HTML HTML stands for "Hyper Text Mark-up Language“. Technically, HTML is not a programming language, but rather a markup language. Used to create web pages.
Web Technologies Website Development Trade & Industrial Education
XP New Perspectives on Browser and Basics Tutorial 1 1 Browser and Basics Tutorial 1.
Amber Annett David Bell October 13 th, What will happen What is this business about personal web pages? Designated location of your own web page.
Using VNU. Getting Started Download and install KompoZer or NVU from the PortableApps web site onto your personal computer.PortableApps Versions for both.
WELCOME EF 105 Spring EF 105 Computer Methods in Engineering Problem Solving Week 2: FrontPage Introduction to Software Use to create Web Pages.
 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.
XHTML Louise Soe updated September 2009.
1 What is CSS?  CSS stands for Cascading Style Sheets  Styles define how to display HTML elements  Styles are normally stored in Style Sheets  Styles.
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.
Tutorial 8 Designing a Web Site with Frames. XP Objectives Explore the uses of frames in a Web site Create a frameset consisting of rows and columns of.
Domain 3 Understanding the Adobe Dreamweaver CS5 Interface.
Creating and Publishing Your own web site PC Version SEAS 001 Professor Ahmadi.
Unit 2, cont. September 12 More HTML. Attributes Some tags are modifiable with attributes This changes the way a tag behaves Modifying a tag requires.
IS1825: Developing Multimedia Applications for Business Lecture 1: Introduction to CSS Rob Gleasure
Moodle with Style Integrating new technologies to empower learning and transform leadership.
4 Chapter Four Introduction to HTML. 4 Chapter Objectives Learn basic HTML commands Discover how to display graphic image objects in Web pages Create.
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.
1 WWW. 2 World Wide Web Major application protocol used on the Internet Simple interface Two concepts –Point –Click.
IS-907 Java EE World Wide Web - Overview. World Wide Web - History Tim Berners-Lee, CERN, 1990 Enable researchers to share information: Remote Access.
HTML IMAGES. CONTENTS IMG Tag Alt Attribute Setting Width and Height Of An Image Summary Exercise.
HTML Basics. HTML Coding HTML Hypertext markup language The code used to create web pages.
HTML – The Basics COE 201- Computer Proficiency. The Internet The World Wide Web ▫Also known as the Web ▫Created in 1989  European Laboratory for Particle.
HTML CS 105. Page Structure HTML elements control the details of how a page gets displayed. Every HTML document has the following basic structure: … …
1 More About HTML Images and Links. 22 Objectives You will be able to Include images in your HTML page. Create links to other pages on your HTML page.
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 HTML Tables. 22 Objectives You will be able to Create tables in HTML.
Introduction to HTML C151 Multi-User Operating Systems.
Goal See below /tables, Html-2-1.pptx rev 01/19/2016.
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.
Department of Computer Science, Florida State University CGS 3066: Web Programming and Design Spring
Building a Website: Layout Fall Overall Structure: Home Page Title Section Title Frame Picture UNCP Math Menu Content Footer Contact Information.
XP New Perspectives on Macromedia Dreamweaver MX 2004 Tutorial 5 1 Adding Shared Site Elements.
Introduction to HTML Dave Edsall IAGenWeb County Coordinator’s Conference June 30, 2007.
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.
1 How to Publish Your HTML Page on the Web. Every USF Student has a website 2 Your Net ID You have a directory on the server.
HTML Basics.
Dreamweaver – Setting up a Site and Page Layouts
With Microsoft FrontPage 2000
What are Cascading Stylesheets (CSS)?
The Internet 10/27/11 XHTML Forms
4.00 Apply procedures to add content by using Dreamweaver. (22%)
Presentation transcript:

1 More About HTML Tables and Images

22 Objectives You will be able to Create tables in HTML. Include images in your HTML page. Create links to other pages on a web page.

33 Tables HTML tables permit you to have some control over layout while leaving some decisions to the browser.... Define rows inside a table... defines a row Define cells inside a row... defines a cell within a row... defines a “table heading” cell Put text or other HTML element into a cell Including another table

4 Example: Eyeglass Prescription

55 HTML Table Example: Eyeglass Prescription <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" " Eyeglass Prescription Table Definition Here

66 Eyeglass Prescription: Heading Eye Sphere Cyl Axis Prism Base PD

77 Eyeglass Prescription: Rows 2 and 3 OD BI OS BI 28.00

8 Stylesheet table { font-family: Arial, Sans-Serif; border:solid 1px }

99 The Table in Chrome

10 Borders The “border” style in the tag only puts a border around the entire table. If we want borders around the cells we have to add a style spec for and

11 Borders for Cells

12 Table with Borders on Cells

13 Cell Spacing But I really want just one line between each pair of cells. The CSS property border-collapse controls this.

14 Table with No Cell Border Spacing

15 Cell Padding But the cells seem crowded now. To provide some margin inside each cell use the padding property on and

16 Table with Cell Padding

17 Alignment By default anything in a cell is aligned to the left and vertically centered. To specify alignment use text-align(horizontal alignment)

18 Table with Cell Text Alignment

19 Alignment All cells are now right aligned. The alphabetic cells should be centered. We can define a class for this.

20 Alphabetic

21 Alignment for Alphabetic

22 Page in Chrome Alphabetic cells are now centered. End of Section

23 How to Center the Table on the Page By default the table is in the upper left corner of the page. I would like to have it centered on the page. text-align:center doesn’t do this. margin:auto will make the margins on each side of the table equal. Center the table horizontally.

24 RxStyles.css table { font-family: Arial, Sans-Serif; border:solid 1px; border-collapse: collapse; margin:auto; }

25 Table in Chrome End of Section

26 Deploy Page to Server To deploy the page, just copy it into your public.html directory on grad. Both the.html file and the.css file Use an SSH client program WinSCP Connect to grad.cse.usf.edu

27 SSH Secure File Transfer Click here

28 Create Directory public.html Click here If public.html already exists, just double click on its icon to make it your current directory.

29 Create Directory public.html Note permissions.

30 Open public.html You may get an error message saying that the directory is empty. That is OK.

31 Copy Page Files into public.html

32 public.html

33 It’s on the Internet Now End of Section

34 Images in HTML Use the tag to display an image in an HTML page..gif.jpg.png The image is a separate file stored within the web site’s virtual directory. Typically in /images directory

35 The Tag filename is path to image file Normally a relative address e.g. "images/xxx.jpg“ alt is text to be displayed if the image file cannot be found or cannot be displayed. Also used by page readers.

36 Image Example Create a folder called images on your desktop. Download file USF_Bull.gif from the Downloads area of the class web site into images folder: In Visual Studio, create a new html file and save on desktop as image_example.html

37 Image Example Save on desktop and double click to display file in browser.

38 image_example in Chrome

39 Deploy image_example to Server Copy both the images folder and file image_example from the desktop to your public.html directory on grad. View image example on the web Replace turnerr with your own username on grad.

40 Image Example on the Web End of Section

41 Creating Links Links allow a user to jump to other places by simply clicking on them. This is the hyper in hypertext! A link can go to another point in the same document or to a completely different page Anywhere in the Internet. Clicking on the link is like typing the URL into the browser’s address box.

42 A link to a page on a different site must include the full URL Back to CSE Home Page Links to Other Pages Where to go This is what the user sees as “the link”.

43 A Simple Page with a Link Click on the link below to go to the Computer Science and Engineering Home page. Back to CSE Home Page 43 File simple_link.html

44 simple_link.html in Chrome

45 Links to Other Pages A link to another page on the same site can use a relative URL Specification in the link will be appended to the current directory. This is usually the preferred way to write a link. Pages can be moved to a different site, or different directory, without updating the links.

46 Link to Page on the Same Site

47 Link to Page on the Same Site

48 After Clicking Second Link End of Presentation