HTML. Goals How to use the Komodo editor HTML coding and testing – List and Images – Tables and Links – At least 2 pages and navigation –

Slides:



Advertisements
Similar presentations
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.
Advertisements

Use Tables for Layout Control Day 7. You will learn to: Understand Tables Create a Simple Table Modify Your Tables Appearance Create Page Layouts with.
Copyright © 2004 ProsoftTraining, All Rights Reserved. Lesson 6: HTML Tables.
Intro to HTML. HTML HTML = HyperText Markup Language Used to define the content of a webpage HTML is made up of tags and attributes Content.
HTML popo.
CREATED BY : VIRAL M.KORADIYA. Anchor elements are defined by the element. The element accepts several attributes, but either the Name or HREF attribute.
Chapter 2 HTML Basics Key Concepts
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.
Chapter 4 – Intermediate HTML 4 Outline 4.1 Unordered Lists 4.2 Nested and Ordered Lists 4.3 Basic HTML Tables 4.4 Intermediate HTML Tables and Formatting.
Tutorial 4: Designing a Web Page with Tables
 2008 Pearson Education, Inc. All rights reserved. 1 Introduction to HTML.
Using HTML Tables.
HTML Code. What we will cover Basic HTML Body Font Images Hyperlinks Tables Frames.
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
HTML. Creating a Table Attributes: border: indicates the border type of the table Value: 0 (no border), 1, 2, etc. cols: indicates the number of columns.
INTRODUCTION TO WEB DEVELOPMENT AND HTML Lecture 06: Tables - Spring 2011.
HTML Tables and Forms Creating Web Pages with HTML CIS 133 Web Programming Concepts 1.
HTML Essentials Tables and Table Tags. Overview Use of Tables goes beyond tabulating data Frequently used to format Web pages / control layout Especially.
Chapter 5 Working with Tables. Agenda Add a Table Assign a Table Border Adjust Cell Padding and Spacing Adjust Cell Width and Height Add Column Labels.
Identifies the Structure Table Row Column 1 Table Heading Column 2.
1 The Structure of a Web Table beginning of the table structure first row of three in the table end of the table structure table cells You do not need.
Creating Tables in a Web Site Using an External Style Sheet
CS105 Introduction to Computer Concepts HTML
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.
Learning HTML. HTML Attributes HTML elements can have attributes Attributes provide additional information about an element Class – specifies a class.
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.
225 City Avenue, Suite 106 Bala Cynwyd, PA , phone , fax presents… HTML Lists, Tables and Forms v2.0.
Dr. Nuha El-KhaliliInternet Programming ( ) HTML Hyper Text Markup Language The language of web pages Maintained by the W3C
Understanding HTML Code
Images (1) Three most popular formats – Graphics Interchange Format (GIF) – Joint Photographic Experts Group (JPEG) – Portable Network Graphics (PNG) –
Chapter 2 HTML Basics Key Concepts Copyright © 2013 Terry Ann Morris, Ed.D 1.
1 eVenzia Technologies Learning HTML, XHTML & CSS Chapter 2.
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.
 This presentation introduces the following: › 3 types of CSS › CSS syntax › CSS comments › CSS and color › The box model.
Getting Started with HTML Please use speaker notes for additional information!
CS105 INTRODUCTION TO COMPUTER CONCEPTS HTML Instructor: Cuong (Charlie) Pham.
Designing a Web Page with Tables. A text table: contains only text, evenly spaced on the Web page in rows and columns uses only standard word processing.
Essentials of HTML Class 4 Instructor: Jeanne Hart
Introduction HTML (Hypertext Markup Language) is used to create document on the World Wide Web. HTML is not a programming language, it is a markup language.
HTML tags Some popular ones. Paragraph: separated by a single line of white space Line break NOTE: no end tag is used for this tag Headlines ( through.
Introduction to HTML Xiangming Mu 9/23/ Learning Objectives Understand basic HTML tags and their attributes Learn to create a simple HTML page.
Computer Science 101 Lists and Tables. Lists Unordered lists - use a bullet Ordered lists - use a number, Roman numeral, or letter.
Copyright (c) 2004 Prentice-Hall. All rights reserved. 1 Committed to Shaping the Next Generation of IT Experts. Project 5: Working with Tables Kelly L.
CIS234A Lecture 8 Instructor Greg D’Andrea. Review Text Table contains only text, evenly spaced on the Web page in rows and columns uses only standard.
Unit 4 Create and Use Tables. TITLE CORNELL NOTES TOPIC: NOTES: Name: Date: 09/08/2009 Period : Summary: Reasons for using tables Unit 4 Page 1 Display.
CSE 409 – Advanced Internet Technology 1 DISCUSSION OF BASIC HTML TAGS.
HTML Basics. HTML Coding HTML Hypertext markup language The code used to create web pages.
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.
What is HTML? HTML is a language for describing web pages. HTML stands for Hyper Text Markup Language HTML is not a programming language, it is a markup.
Department of Computer Science, Florida State University CGS 3066: Web Programming and Design Spring
Introduction to Web Authoring Ellen Cushman /wra210.htm Class mtg. #2.
CS134 Web Design & Development Attributes, Lists, Tables, Links, and Images Mehmud Abliz.
Department of Computer Science, Florida State University CGS 3066: Web Programming and Design Spring
©SoftMoore ConsultingSlide 1 Introduction to HTML: Block-Level Elements.
1 HTML. 2 Full forms WWW – world Wide Web HTTP – Hyper Text Transfer Protocol HTML – Hyper Text Markup Language.
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.
INTRO TO WEB DEVELOPMENT html
HTML Basics.
CIIT-Human Computer Interaction-CSC456-Fall-2015-Mr
>> HTML: Tables.
LAB Work 02 MBA 61062: E-Commerce
Computers and Scientific Thinking David Reed, Creighton University
Using HTML Tables SWBAT: - create tables using HTML
Web Development & Design Foundations with H T M L 5
COMS 161 Introduction to Computing
Introduction to HTML.
Presentation transcript:

HTML

Goals How to use the Komodo editor HTML coding and testing – List and Images – Tables and Links – At least 2 pages and navigation –

Browser and Web Server

Basic Syntax of HTML <> denotes tags For example: – indicates the following text will be bold Most tags require and opening and closing tags to stop – indicates the closing tag – Example: Bold me! but not me! The result of the above will be: Bold me! but not me!

Important note on style tags HTML used to have style tags:,, etc… *These tags have been deprecated* -meaning: WE DON’T USE THEM ANYMORE HTML was never meant to be about styles, that’s why we have CSS. Instead lets use phrase tags: – ; ; etc. These tags describe the text that surrounds it We can use CSS to style these elements even further.

Example of phrase tags This is an example Phrase tags are better suited to be used with HTML

HTML Tag Rules Whitespace are ignored Attribute values are enclosed in single or double quotes Beware: HTML does no checking for syntax errors – it interprets what it can and ignores the rest. You will need to be the error checker for yourself

Start and End of HTML Start and end of HTML Start and end of head section Start and end of body

Basic Structure of HTML Page The Title Test Page with text

Syntax Headers Header 1 - largest Header 2 Header 3 Header 3 - smallest Paragraphs Paragraph

More Syntax Next Line Changing text underline ** use CSS to do this now Comment

Linking Web Pages Link Text The URL can be: – a page you created or – an external link (MUST HAVE HTTP) About Me MTSU

Useful Attributes for Links target=“_blank” – opens the link in a new window title=“example the link here” – the alt text of the link Can anchor pages: – Add id=“linkName” to any tag – Then add, here to go to the anchor.

More Syntax! one space Text scrolling – **Again, this is HTML 4 and should really be done with CSS**

Styling

Styling Three ways to style HTML 1.Inline* This is a blue paragraph. 2.Internal Style sheet All styling is done in the tags of the HTML code 3.External Style sheet* This is done with CSS *What we’re using in this class

Inline styling Appropriate when you want a unique style to be applied to one single occurrence of an element. Use the style attribute in the relevant tag. It can contain any CSS property. – Example: This is a paragraph.

What if I want to just style one word in a Sentence? Since the style attribute allows us to style an element. What’s the best way to style just one word in an element? tags can go around one or more words! – Example My favorite font is Futura !

Lists

Lists Two types of lists – Ordered: 1.First entry 2.Second entry 3.Third entry – Unordered Entry

Ordered Lists First Entry Second Entry Third Entry

Order List Attributes Compact – less space between lines and indentation – Start – specifies the start number – Type – specifies the type of order (1, A, a, I, i) –

Unordered Lists Entry

Unordered Lists Attributes Compact – Type (disc, square, circle) –

Lists Within Lists 1.First Entry – Sub Entry 2.Second Entry – Sub Entry 3.Third Entry First Entry Sub Entry Second Entry Sub Entry Third Entry

Images

Inserting Images Two ways to insert: – Use an Internet link – Copy the image to your account, then link it –

What is the Difference? Link: You just include the URL – Taking up the resources of whatever site you got the link from Copying: have to download the image – Include the location and image name.

Attributes of Inserting Images Alt – the alternative text of the picture this shows up when you scroll over an image Width – specifies the width of the image Height – specifies the height of the image Align – specifies the alignment (top, bottom, middle, left, right) (Going to use CSS for this)

Making an Image Your Background For color: For background image:

Making a Picture a Link

Tables

Tables : Start and end of the table : Start and end of a header cell : Start and end of a row : Start and end of a table data cell

Tables Header 1 Header 2 Data 1 Data 2 Header 1Header 2 Data 1Data 2

Attributes of Tables table: align, bgcolor, border, cell padding, cell spacing, frame, rules, summary, width tr: align, bgcolor, charoff, valign th & td: abbr, align, axis, bgcolor, char, charoff, colspan, height, nowrap, rowspan, scope, valign, width

Changing your Webpage Layout Div: