Introduction to HTML UWWD. Agenda What do you need? What do you need? What are HTML, CSS, and tags? What are HTML, CSS, and tags? html, head, and body.

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 Basics Customizing your site using the basics of HTML.
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.
Learning HTML. > Title of page This is my first homepage. Tells Browser This is an HTML page Basic Tags Tells Browser End of HTML page Header information.
HyperText Markup Language (HTML). Introduction to HTML Hyper Text Markup Language HTML Example The structure of an HTML document Agenda.
Hyper Text Markup Language.  HTML is a language for describing web pages.  HTML stands for Hyper Text Markup Language  HTML is not a programming language,
WeB application development
Made by: Dan Ye. Introduction Basic Last Page ☆ HTML stands for Hyper Text Markup Language; ☆ HTML is not a programming language, it is a markup language;
Computer Science 1611 Internet & Web Creating Webpages Hypertext and the HTML Markup Language.
 2003 Prentice Hall, Inc. All rights reserved. Chapter 4 - Introduction to XHTML: Part 1 Outline 4.1 Introduction 4.2 Editing XHTML 4.3 First XHTML Example.
CM143 - Web Week 2 Basic HTML. Links and Image Tags.
 2008 Pearson Education, Inc. All rights reserved. 1 Introduction to HTML.
 2004 Prentice Hall, Inc. All rights reserved. Introduction to XHTML: Part 1.
Web Program Development1 February 23, 2011 HTML Web Page Development Debbie Bartlett February 23, 2011.
Basic HTML Workshop LIS Web Team Fall What is HTML? Stands for Hyper Text Markup Language Computer language used to create web pages HTML file =
 2003 Prentice Hall, Inc. All rights reserved. Chapter 4 - Introduction to XHTML: Part 1 Outline 4.1 Introduction 4.2 Editing XHTML 4.3 First XHTML Example.
Chapter 2 Introduction to HTML5 Internet & World Wide Web How to Program, 5/e Copyright © Pearson, Inc All Rights Reserved.
Chapter 14 Introduction to HTML
Tags through Forms. This element is required for all HTML pages It must be at the top of every page of every website We’ll see later on why it is important.
Basics of HTML.
Presenting Information on WWW using HTML. Presenting Information on the Web with HTML How Web sites are organized and implemented A brief introduction.
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.
Today’s Topic Language of web page - HTML (Hypertext Markup Language)
Learning HTML. HTML Attributes HTML elements can have attributes Attributes provide additional information about an element Class – specifies a class.
.  Entertain  Inform  Educate  Blogs  Sell  Date  Gamble  Religion.
 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.
>> Introduction to HTML: Tags. Hyper - is the opposite of linear Text – words / sentences / paragraphs Mark-up – Marking the text Language – It is a language.
HTML. WHAT IS HTML HTML stands for Hyper Text Markup Language HTML is not a programming language, it is a markup language A markup language is a set of.
Getting Started with HTML Please use speaker notes for additional information!
 2008 Pearson Education, Inc. All rights reserved Introduction to XHTML.
Introduction to HTML. What is HTML? Hyper Text Markup Language (HTML) is a language for describing web pages. HTML is not a programming language, it is.
Computer Information Technology – Section 3-4. HTML – The Language of the Internet Objectives: The Student will: 1. Look at HTML 2. Understand the basic.
Hypertext Mark-Up Language Web Page Creation HTML.
Copyright 2007, Information Builders. Slide 1 Understanding Basic HTML Amanda Regan Technical Director June, 2008.
 2008 Pearson Education, Inc. All rights reserved Introduction to XHTML.
INTRODUCTORY Tutorial 1 Using HTML Tags to Create Web Pages.
HTML: Hyptertext Markup Language Doman’s Sections.
Introduction To HTML.  HTML stands for Hyper Text Markup Language.  HTML was developed by Tim Berners-Lee.  HTML is maintained by World Wide Web Consortium(W3C).
HTML Basics BCIS 3680 Enterprise Programming. Web Client/Server Architecture 2  Your browser (the client) requests a Web page from a remote computer.
LEARNING HTML PowerPoint #1 Cyrus Saadat, Webmaster.
1 Web Application Programming Presented by: Mehwish Shafiq.
HTML Basic. 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.
HTML Basics. HTML Coding HTML Hypertext markup language The code used to create web pages.
Basic HTML. So, what exactly is HTML? HTML stands for: HTML stands for: Hypertext Markup Language. It is a purpose built markup language for the delivery.
Spiderman ©Marvel Comics Creating Web Pages (part 1)
WEEK -1 ACM 262 ACM 262 Course Notes. HTML What is HTML? HTML is a language for describing web pages. HTML stands for Hyper Text Markup Language HTML.
Take Web Design Presurvey Username: First initial, last name For example, Omar Estrella -> oestrella Password: Same as.
CHAPTER TWO HTML TAGS. 1.Basic HTML Tags 1.1 HTML: Hypertext Markup Language  HTML stands for Hypertext Markup Language.  It is the markup language.
HyperText Markup Language (HTML) Developing a Web Page.
Creating Your 1 st Web Page. Tags Refers to anything between on a webpage Most appear in pairs surrounding content Some appear as empty tags (no closing.
HTML. INDEX Introduction to HTML Creating Web Pages Commands And Tags Web Page.
INT222 – Internet Fundamentals
HTML Tutorial. What is HTML HTML is a markup language for describing web documents (web pages) HTML documents are described by HTML tags Each HTML tag.
Chapter 4 HTML Tags. HTML is written in something called tags. Tags come in pairs, an opening one and a closing one. The first pair of tags we'll write.
Introduction to HTML Dave Edsall IAGenWeb County Coordinator’s Conference June 30, 2007.
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.
Source of website: “Text/css rel=“styles heet” This is an external style sheet link. This means that the.
Week 1: Introduction to HTML and Web Design
Web Basics: HTML/CSS/JavaScript What are they?
Introduction to basic HTML
Elements of HTML Web Design – Sec 3-2
Elements of HTML Web Design – Sec 3-2
Introduction to HTML- Basics
Introduction to HTML.
Understand basic HTML and CSS terminology, concepts, and basic operations. Objective 3.01.
Computer communications
Lesson 2: HTML5 Coding.
Web Programming and Design
Presentation transcript:

Introduction to HTML UWWD

Agenda What do you need? What do you need? What are HTML, CSS, and tags? What are HTML, CSS, and tags? html, head, and body (and title) html, head, and body (and title) Headers and paragraphs Headers and paragraphs Tables, anchor links, and images Tables, anchor links, and images Lists (no, we do not use cons) Lists (no, we do not use cons)

What do you need? Requirements: Requirements: – Computer – Text Editor (Notepad or gedit is fine) – A web browser (to test results) What you don't need: What you don't need: – A web server (can be done on computer) – Experience in C, C++, Java, Scheme, etc.

Sample HTML Code <html><head> Website Title Name Website Title Name </head><body> This is my real title This is my real title Paragraph goes here Paragraph goes here </body></html>

What is HTML? HyperText Markup Language HyperText Markup Language Defines structure of webpage Defines structure of webpage Is a markup language, not a programming language Is a markup language, not a programming language Markup languages use markup tags Markup languages use markup tags HTML uses markup tags to structure web pages HTML uses markup tags to structure web pages

What is CSS? Cascading Style Sheets Cascading Style Sheets Defines the style/layout of webpage Defines the style/layout of webpage CSS is stored in stylesheets, either internal or external CSS is stored in stylesheets, either internal or external Will be introduced next week Will be introduced next week

What is a tag? Lower-case keywords surrounded in angle brackets, ie. Lower-case keywords surrounded in angle brackets, ie. Come in pairs, ie. and Come in pairs, ie. and First tag opens, second closes, can be nested First tag opens, second closes, can be nested Some tags contain attributes, provides additional information, ie. Some tags contain attributes, provides additional information, ie. Elements are content between the tags Elements are content between the tags Example, Example, – This is text. – This is text.

html, head, body html tag defines whole document html tag defines whole document – opens and closes body tag is container for content of HTML body tag is container for content of HTML – opens and closes – Many tags will be nested inside head tag is container for head elements head tag is container for head elements – opens and closes – head elements include script, title, etc.

The title Tag UW Webdesigners Club UW Webdesigners Club It is used... It is used... – For the title on the top of your browser – As the title for your favourites – For the title search engines use upon indexing your site Required for all valid (standardized) xHTML and HTML coding standards Required for all valid (standardized) xHTML and HTML coding standards

Headers and paragraphs This is my header text, where This is my header text, where – X refers to numbers 1-6, one being most important – 1 refers to main header (used once), 2 refers to sub-header (used multiple times), etc. Used to display on-screen title pages Used to display on-screen title pages This is text that is part of a paragraph This is text that is part of a paragraph Used to display regular content Used to display regular content Both are key in good webdesign standards Both are key in good webdesign standards

Exercise 1 Create a basic webpage with the following. Create a basic webpage with the following. – Title of "Test Webpage" – Main header that says, "This is only a test." – Paragraph 1 that says, "I am currently on a computer." – Paragraph 2 that says, "I am thankful I am not doing math." Save the exercise as exercise1.html for a future exercise. Save the exercise as exercise1.html for a future exercise.

Anchor Links Link to Google Link to Google Used to hyperlink element to URL specified, as in example Used to hyperlink element to URL specified, as in example allows linking allows linking http (or https) required if linking to external page http (or https) required if linking to external page

Inserting Images Where stuff.jpg is the URL to image, "Text" displayed if image link dead (required) Where stuff.jpg is the URL to image, "Text" displayed if image link dead (required) Implicitly closed Implicitly closed Attribute border="X" defines border length X Attribute border="X" defines border length X You can hyperlink an image You can hyperlink an image – –

Tables <tr> row 1, cell 1 row 1, cell 1 row 1, cell 2 row 1, cell 2 </tr><tr> row 2, cell 1 row 2, cell 1 row 2, cell 2 row 2, cell 2 </tr></table>

Tables, define a new table, define a new table, define new row, define new row, define new column (elements of td are data), define new column (elements of td are data) rowspan="X", colspan="X" rowspan="X", colspan="X"

Inserting a list Example 1: <ul> This is an unordered list This is an unordered list I'm number 2! I'm number 2! </ul> Example 2: <ol> I have a number I have a number </ol>

Inserting a list, define unordered lists (bullets), define unordered lists (bullets), define ordered lists (numbers), define ordered lists (numbers), define an element on list, define an element on list Used to define lists Used to define lists

Exercise 2 Using Exercise 1, below the second paragraph, Using Exercise 1, below the second paragraph, – Create a subheader (h2) called "My Grocery List" – Create a list which contains apples, oranges, and grapes. – Create a 2x2 table with the following elements. CatDog FrogSheep

What comes next? Learn new tags! Learn new tags! – Play around with HTML Play around with HTML – Try learning how dd/dt, meta tags work Next Week: Introduction to CSS, more HTML tags Next Week: Introduction to CSS, more HTML tags