XHTML/CSS Week 2. This Week  Quiz to revise last week (XHTML and DW)  Lists - & tags  Images tag  Hyperlinks tag  Using CSS to define the appearance.

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

HTML I. HTML Hypertext mark-up language. Uses tags to identify elements of a page so that a browser such as Internet explorer can render the page on a.
HTML Basics Customizing your site using the basics of HTML.
Computers: Tools for an Information Age Writing Your Own Web Page: Using HTML and Web Authoring Tools.
MIS 425 Lecture 2 – HTML Navigation, Colors, tables and Styles Instructor: Martin Neuhard
HTML – A Brief introduction Title of page This is my first homepage. This text is bold  The first tag in your HTML document is. This tag tells your browser.
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 Chapter 4 Key Concepts 1 Copyright © Terry Felke-Morris.
Tutorial 2: Formatting Text. Objectives Session 2.1 – Learn the functions of the Common toolbar – Change the size of text – Discern which fonts to use.
Introduction to HTML Lists, Images, and Links. Before We Begin Save another file in Notepad Save another file in Notepad Open your HTML, then do File>Save.
HTML for Beginners An IEEE/ACM Presentation given by Hamilton Turner.
Glencoe Digital Communication Tools Create a Web Page with HTML Chapter Contents Lesson 4.1Lesson 4.1 Get Started with HTML (85) Lesson 4.2Lesson 4.2 Format.
INSTRUCTIONAL SUPPORT SERVICES (ISS) SHORT COURSE, FALL 2012 UMSL Introduction to Web Page Design.
With Alex Conger – President of Webmajik.com FrontPage 2002 Level I (Intro & Training) FrontPage 2002 Level I (Intro & Training)
FINAL EXAM REVIEW WEB TECH. JUST CLICK… THE CORRECT ANSWER WILL APPEAR WHEN YOU CLICK. GOOD LUCK!
HTML Tags. Objectives Know the commonly used HTML tags Create a simple webpage using the HTML tags that will be discussed.
Creating and Editing a Web Page
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.
Unit E. Image Measurements The size of an image can be measured 2 ways: Dimensions: the height and width, measured in pixels. File Size: measured in Kilobytes.
Create Your Own Webpage. Fun with images Today we’ll cover –Working with images Including an image on your page Making the image a link Editing images.
HTML (HyperText Markup Language)
.  Entertain  Inform  Educate  Blogs  Sell  Date  Gamble  Religion.
IT Introduction to Website Development Welcome!
Programming in HTML.  Programming Language  Used to design/create web pages  Hyper Text Markup Language  Markup Language  Series of Markup tags 
INTRODUCTION TO HTML5 Styling Text. Change the Font Size  You can use the font-size property to change the font size for a document’s text.  Instead.
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)
CIT 256 Dreamweaver Intro. Dr. Beryl Hoffman. Start Dreamweaver Start from Start Menu/Adobe Master Collection CS6/ Adobe Dreamweaver CS6 Choose Create.
 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 (1) Three most popular formats – Graphics Interchange Format (GIF) – Joint Photographic Experts Group (JPEG) – Portable Network Graphics (PNG) –
McGraw-Hill/Irwin Copyright © 2013 by The McGraw-Hill Companies, Inc. All rights reserved. Extended Learning Module F Building a Web Page with HTML.
Section 4.1 Format HTML tags Identify HTML guidelines Section 4.2 Organize Web site files and folder Use a text editor Use HTML tags and attributes Create.
DHTML AND JAVASCRIPT Genetic Computer School LESSON 2 HTML TAGS G H E F.
HTML, Third Edition--Illustrated Introductory 1 HTML, Third Edition Illustrated Introductory Unit E Formatting with Cascading Style Sheets.
XP Mohammad Moizuddin Creating Web Pages with HTML Tutorial 1 1 New Perspectives on Creating Web Pages With HTML Tutorial 1: Developing a Basic Web Page.
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.
XHTML/CSS Week 3. This Week  Quiz to revise last week (XHTML and DW)  CSS - Part 2  Using HTML Tables.
CO1552 – Web Application Development Cascading Style Sheets.
1 Lesson 3 Power Techniques HTML and JavaScript BASICS, 4 th Edition Barksdale / Turner.
CSS Cascading Style Sheets. CSS Advantages Greater typography and page layout control Style is separate from structure Styles can be stored in a separate.
HTML: Hyptertext Markup Language Doman’s Sections.
Internet Applications Development Lecture 4 L. Obead Alhadreti.
4 HTML Basics Section 4.1 Format HTML tags Identify HTML guidelines Section 4.2 Organize Web site files and folder Use a text editor Use HTML tags and.
Paper 3 Unit 15 – Web Authoring Software Choices Graphics Exporting Graphics Creating CSS RGB Colour CSS – Body, Table and TD Border Collapse Tables -
HTML Basics. HTML Coding HTML Hypertext markup language The code used to create web pages.
Spiderman ©Marvel Comics Creating Web Pages (part 1)
Writing Your Own Web Page: Using HTML and FrontPage Chapter 10.
ECA 228 Internet/Intranet Design I HTML Tags. ECA 228 Internet/Intranet Design I anchor tags Adds a link to the web page Anything placed between the anchor.
Style Sheets. Coding Style Sheets  Style sheets use RULES to create the style  A selector (a tag or user-defined style name)  and then declarations.
REEM ALMOTIRI Information Technology Department Majmaah University.
WEB DESIGN PRINCIPLES Dale Blasingame School of Journalism & Mass Communication Texas State University.
Part 4 Text & Fonts © UNT in partnership with TEA1IT: Web Technologies - HTML Scripting.
Blended HTML and CSS Fundamentals 3 rd EDITION Tutorial 1 Using HTML to Create Web Pages.
Create a new stylesheet called Hotel Style
HTML Basics.
How to get the best results from your website and images.
Extended Learning Module F
Section 4.1 Section 4.2 Format HTML tags Identify HTML guidelines
Open the Nissan.html page in a suitable application and create the table shown below between Table 3 and 4. Set the appropriate sizes for each cell. A.
With Microsoft FrontPage 2000
Enhancing Your Web Site
USING DREAMWEAVER Contents: Assigning a Root Folder
HTML Images CS 1150 Spring 2017.
A computer display is made up of small squares, called pixels.
Web Development & Design Foundations with HTML5 7th Edition
USING DREAMWEAVER MX 2004 Contents: Assigning a Root Folder
Exploring the Internet
HTML Images CS 1150 Fall 2016.
Introduction to CSS.
Presentation transcript:

XHTML/CSS Week 2

This Week  Quiz to revise last week (XHTML and DW)  Lists - & tags  Images tag  Hyperlinks tag  Using CSS to define the appearance of XHTML tags.

Quiz - 1  What do the following XHTML tags do,,,,,,,,,,,,,,,, ?,,,, ?  What can you say about the difference between the and tags?  Which font does the tag appear in? Why?  Why ?  Why are all the above tags in lowercase letters?  What filename suffix should a file containing XHTML have?  What filename should exist in every website? What happens if it is missing?

Quiz - 2  How many errors can you find in the following code? <html><body> My Web Page My Web Page </body><head> About my web page About my web page This is my web page This is my web page</html>

Lists  Two main flavours Ordered (numbered lists) … Ordered (numbered lists) … Unordered (bulleted lists … Unordered (bulleted lists … Each list item is surrounded by … Each list item is surrounded by …

An Unordered List Type this into notepad, save as ul.htm and preview in a browser <html><head> XHTML Unordered List XHTML Unordered List </head><body> Fruit Favourites Fruit Favourites <ul> Apples Apples Pears Pears Bananas Bananas </ul></body></html>

An Ordered List Type this into notepad, save as ol.htm and preview in a browser <html><head> XHTML Ordered List XHTML Ordered List </head><body> Popular Web Browsers Popular Web Browsers <ol> Internet Explorer Internet Explorer Firefox Firefox Safari Safari </ol></body></html>

Images  Unlike programs like Microsoft Word - where images become part of the.doc file - XHTML files simply reference the file name of the external image file to be inserted at that point in the web page. For example: The image file must be in JPEG, GIF or PNG formats.

30 Seconds on Images (You will cover this in more detail in the Photoshop module)  JPG images can be made up of millions of colours – so they are good for photographs but they need careful editing so as not to lose quality  GIF images can only contain 256 colours. They are good for line art and coloured blocks.  PNG offers the best of both worlds but are usually ignored by web designers!  It’s a good idea to get images prepared to the correct size and image quality before using them in a web page.

The tag  The image tag has many options. Here’s an example listing the commonest of these: src = image file to display alt = alternate text (used when image cannot be seen) width, height = size of image (overrides the image file dimensions) border = draws a border around the image. Here it’s three pixels wide align = left, right on page. There are lots more of these that we won’t use as we have better ways of aligning images.

Hyperlinks  Can be pieces of text or images  Click them to go somewhere else: A web page in the same web site A web page in the same web site A web page in another site A web page in another site Somewhere else in the same web page Somewhere else in the same web page  The XTHML tag for a hyperlink is  The XTHML tag for a hyperlink is

Hyperlinks in Action About me About me  Load the webpage ‘aboutme.htm’ from the same directory as the current page. The clickable text reads ‘About me’ RACC RACC  Load the home page of the RACC web site Jobs Jobs  Load the RACC jobs page

Practise your XHTML skills  Create two simple web pages using XHTML tags of your choice – save these pages as page1.htm and page2.htm.  Edit each page to add a hyperlink to the other, that is page1.htm has a hyperlink to page2.htm and page2.htm has a hyperlink to page1.htm  Check these work in a browser.

CSS Part the First

Old Style HTML Can you think of some reasons why this wasn't a good way forward? A Simple Web Page…

…In Old-School HTML (Content highlighted in yellow) Old Style HTML Old Style HTML Can you think of some reasons why this wasn't a good way forward? Can you think of some reasons why this wasn't a good way forward?

What’s the problem? HTML and the dreaded tag caused problems for:  Blind People  Web Designers  Search Engines  Everyone else!

XHTML and CSS So much better! A Simple Web Page…

A Similar Page using CSS (edited to fit this screen) h1 { font-family: Arial, Helvetica, sans-serif; font-size: 14pt; font-style: italic; font-weight: 700; color: #0000FF; } p { font-family: "Times New Roman", Times, serif; font-size: 12pt; color: #000000; }</style> XHTML and CSS XHTML and CSS So much better! So much better! Note the: Style section in the area CSS definitions for the appearance of the and tags