Introduction to HTML M. Douglas Wray.

Slides:



Advertisements
Similar presentations
HTML Basic Lecture What is HTML? HTML (Hyper Text Markup Language) is a a standard markup language used for creating and publishing documents on.
Advertisements

Information Technology Quiz Questions with Answers Part 9
Introduction to HTML5. History of HTML HTML first published HTML 2.0 HTML 3.2 HTML 4.01 XHTML 1.0 XHTML 2.0 HTML
3.02D HTML Overview 3.02 Develop webpages.
Collections Management Museums XSLT – EMus New Page View Chris Fincham Operations Manager, North America KE Software.
Social Web Design 1 Darby Chang Social Web Design.
The University of Adelaide HTML Basics: Getting your code to work Peter Murdoch March 2014 PREPARING GOOD LOOKING DOCUMENTS.
XHTML Week Two Web Design. 2 What is XHTML? XHTML is the current standard for HTML Newest generation of HTML (post-HTML 4) but has many new features which.
Web Development & Design Foundations with XHTML
Intro to HTML Kin 260 Jackie Kiwata.
1 HTML Documents and JavaScript Tom Horton Alfred C. Weaver CS453 Electronic Commerce.
HTML / CSS – Basics Why the heck are we doing this?
Technologies for web publishing Ing. Vaclav Freylich Lecture 1.
1 eVenzia Technologies Learning HTML, XHTML & CSS Chapter 1.
HTML Codes 5/9/11 What is it? HTML stands for hyper text markup language, which is the building blocks for WebPages. The first publicly announced HTML.
HTML syntax By Ana Drinceanu. Definition: Syntax refers to the spelling and grammar of a programming language. Computers are inflexible machines that.
Creating your website Using Plain HTML. What is HTML? ► Web pages are authored in HyperText Markup Language (HTML) ► Plain text is marked up with tags,
Lecture 13. A Very Brief Introduction to HTML and XHTML, part II Instructor: Jie Yang Department of Computer Science University of Massachusetts Lowell.
© 2012 Adobe Systems Incorporated. All Rights Reserved. LEARNING THE LANGUAGE OF THE WEB INTRODUCTION TO HTML AND CSS.
Using HTML to Create a Basic Web Page… By Josh Gallagan.
CS 299 – Web Programming and Design Introduction to HTML.
HTML Structure & syntax
XHTML - Basics Teppo Räisänen LIIKE/OAMK Introduction XHTML = eXtensible Hypertext Markup Language Transitional ~ HTML 4.01 Goal: to replace HTML.
Web page - A Web page is a simple text file that contains a set of HTML tags (code) that describe (to the browser) what should go on a web page. It may.
All Web pages are written with some form of HTML (HyperText Markup Language). HTML documents are saved as Text Only files so virtually any computer can.
>> Introduction to HTML: Tags. Hyper - is the opposite of linear Text – words / sentences / paragraphs Mark-up – Marking the text Language – It is a language.
XHTML and CSS Session 1 Intro, (X)HTML, CSS, W3C, browsers, webpage, structure, tags, attributes, elements, web development process, basic XHTML elements.
Web software. Two types of web software Browser software – used to search for and view websites. Web development software – used to create webpages/websites.
HTML Structure & syntax. Introduction This presentation introduces the following: Doctype declaration HTML Tags, Elements and Attributes Sections of a.
HTML: Hyptertext Markup Language Doman’s Sections.
Web Design. How do web pages work? Webpages are written in a code called HTML. Programs like Internet Explorer read the code, and then show it as a web.
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.
Introduction to HTML Unit 3: E-business.
Introduction to HTML Year 8. What is HTML O Hyper Text Mark-up Language O The language that all the elements of a web page are written in. O It describes.
Web Terminology Intro to Web. North Lake College 2 by Sean Griffin HTML vs. XHTML HTML: Hypertext Markup Language XHTML: eXtensible Hypertext Markup Language.
HTML HyperText Markup Language. Text Files An array of bytes stored on disk Each element of the array is a text character A text editor is a user program.
Web programming Part 1: HTML 由 NordriDesign 提供
XHTML TUTORIAL Contact me Amin Sharifi Website: Mob:
INTRODUCTION JavaScript can make websites more interactive, interesting, and user-friendly.
University of South Asia Course Name: Web Application Prepared By: Md Rezaul Huda Reza
Invitation to Computer Science 6 th Edition Chapter 10 The Tower of Babel.
Notes Test #2 will be held one week from this Thursday Check to see if you have a Vision account –Launch Netscape –Point & Click to location and type vision.
PART 1: Introduction to HTML & CSS. Lecture 1: HTML 5 Basic Structure.
HTML. HTML: What is it? – HTML stands for Hyper Text Markup Language – An HTML file is a text file containing small markup tags – The markup tags tell.
INT222 – Internet Fundamentals
Learning Aim C.  Creating web pages involves many considerations.  In this section we will look at the different software tools you can use and how.
Web Design – Week 2 Introduction to website basics Website basics: How the Web Works Client / server architecture Packet switching URL components.
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.
Week-11 (Lecture-1) Introduction to HTML programming: A web based markup language for web. Ex.
Agenda9/11/13  Do Now  Display your name tag and log into your computer  Pre-Assessment Test  Info and Interests  Syllabus and Course Expectations.
INTRODUCTION ABOUT DIV Most websites have put their content in multiple columns. Multiple columns are created by using or elements. The div element is.
Objectives At the end of this session students will: Define the following terms in two sentences or less Website Web page Browser Html URL Hyperlink Explain.
HTML Structure & syntax
Basic HTML Introduction to HTML.
Web Basics: HTML/CSS/JavaScript What are they?
Introduction to HTML.
INTRODUCTION TO HTML AND CSS
Lecture 8. HTML. Author: Aleksey Semyonov
Markup Languages -Use codes, called tags, to provide instructions about formatting and structure of a website HTML (Hypertext Markup Language) Must be.
Creating Web Page.
HTML HYPERTEXT MARKUP LANGUAGE.
HTML 12/27/2018.
Intro to Web Development Links
Mozafar Bag-Mohammadi
INTRODUCTION TO HTML AND CSS
What is HTML?.
HTML 5 SEMANTIC ELEMENTS.
WEB DESIGNING THROUGH HTML
HTML Structure & syntax
Markup Languages -Use codes, called tags, to provide instructions about formatting and structure of a website HTML (Hypertext Markup Language) Must be.
Presentation transcript:

Introduction to HTML M. Douglas Wray

Covered in this class: HTML 4 vs XHTML The DOCTYPE and why it's crucial Elements, the basic building blocks of a web page CSS and how it relates to HTML How to write clean, standards-compliant code What NOT to do

But first, tell me about YOU Tell us who you are and why you’re here.

About Doug Wray Web developer since 1999, worked for StorageTek, EDS and the University of Colorado Teach Intro to Web Design and Intro to HTML Avid WordPress user and consultant Personal website: macwebguru.com Personal email: macguiguru@spamcop.net

Source materials for this class Much of the material discussed comes from: http://dev.opera.com/articles/view/12-the-basics-of- html/ - open-source web curriculum. W3Schools.com HTML Tutorial: http://www.w3schools.com/html/ as well as links here: http://www.macwebguru.com/links/css-links/

What is HTML HyperText Markup Language Markers around text (elements) instruct browser on how to deal with text. HTML 4.01 / XHMTL Reference http://www.w3schools.com/tags/ Note: this list is extensive, here’s the ones you’re going to use the most:

FAH – Frequently-Accessed HTML Elements you’ll use routinely <a href=“”> </a> start and end hypertext anchors <b> </b> start/end bold text (also <strong> </strong) <blockquote> - indented text <body> - defines the document’s body <br /> - defines a single line break <div> - defines a section in a document <!DOCTYPE> - defines browser rending ruleset <h1> to <h6> - defines HTML headings <head> - defines information about the document <hr /> - horizontal rule (line) <html> - start of html <i> </i> - start/end italic text (also <em> </em) <li> - list item <link> - reference external files like CSS & JavaScript <meta /> - defines metadata in an HTML document <ol> - ordered (numbered) list <p> - paragraph <span> - select pieces of text <table> - tabulated data <td> - table data cell <th> - table headers <title> - html document title in browser bar <tr> - table row <ul> - unordered (bulleted) list Others you’ll use less often <code> - for displaying programming code <fieldset> - broder around form <form> - input forms <input /> - form fields <option> - items in a selector <map> - image map – clickable areas in images <pre> - preformatted text – honors spaces <select> - drop-down list in form

Headfirst into the Web The <head> is where basic assumptions and linkages are defined. <!DOCTYPE> - defines browser rending ruleset – W3C Doctypes <title> - html document title in browser bar <meta> - defines metadata in an HTML document – keywords and description <link> - references external documents such as stylesheet and JavaScript Much more detail about the <head> element

Typical Text <h1> First header </h1> <p> This is a paragraph. <span style=“color:red;>It can have color text</span>. It can have <b>bold text in it</b> as well as <i>italic<i>. You don’t nest lists inside it, they’re a separate element. You can also break<br />lines. <ul> <li>List item</li> <h2> Second header </h2> <table> <tr> <td>Table Data Cell</td><td>Table Data Cell</td><td>Table Data Cell</td> </tr> </table> <blockquote> This is indented text. It can be many words. It can have <b>bold text in it</b> as well as <i>italic<i>. You don’t nest tables inside it, they’re a separate element. Marking up text and Lesser-known semantic elements. </blockquote>

Arr!!! Drop Anchor! <a href=“url”>Linked text</a> <a id=“subject” name=“subject”></a> <a href=“#subject”>Go to subject section in page</a> <a href=“url” target=“_blank”>New Veender</a> Even more detail on linking

Intrapage Links <a href=“#one”>Widgets</a> <a href=“#two”>Gidgits</a> <a href=“#three”>Digits</a> <a href=“#four”>Midgets</a> More details Luna Beach Resort FAQ <a id=“one”></a> <h1>Section One</h1> <p>All about widgets</p> <a id=“two”></a> <h1>Section Two</h1> <p>All about gidgits</p> <a id=“three”></a> <h1>Section Three</h1> <p>All about digits</p> <a id=“four”></a> <h1>Section Four</h1> <p>All about midgets</p>

Links and images Basic link-on-image: <a href=“url”><img src=“path/to/image.jpg” /></a> ‘image.jpg’ can be a button or a picture. Note, button- based navigation is tedious to maintain. Google ‘sliding doors of CSS’ for details on reusable button menu. <a href=“url”><img src=“path/to/image” style=“border:none;” /></a> If don’t WANT an underline/border on rollover.

Lists <ul> <li>First list item</li> <li>Second list item</li> <li>And so on...</li> </ul>

List o’ links – bulleted (default) <ul> <li><a href=“url”>First linked item</a></li> <li><a href=“url”>Second linked item</a></li> <li><a href=“http://google.com”>Google</a></li> </ul>

List o’ links – ordered (numbered) <ol> <li><a href=“url”>First linked item</a></li> <li><a href=“url”>Second linked item</a></li> <li><a href=“http://google.com”>Google</a></li> </ol> <ol style=“list-style:upper-roman;”> More list examples

List styles none No marker circle The marker is a circle disc The marker is a filled circle. This is default square The marker is a square armenian The marker is traditional Armenian numbering decimal The marker is a number decimal-leading-zero The marker is a number padded by initial zeros (01, 02, 03, etc.) georgian The marker is traditional Georgian numbering (an, ban, gan, etc.) lower-alpha The marker is lower-alpha (a, b, c, d, e, etc.) lower-greek The marker is lower-greek (alpha, beta, gamma, etc.) lower-latin The marker is lower-latin (a, b, c, d, e, etc.) lower-roman The marker is lower-roman (i, ii, iii, iv, v, etc.) upper-alpha The marker is upper-alpha (A, B, C, D, E, etc.)  upper-latin The marker is upper-latin (A, B, C, D, E, etc.) upper-roman The marker is upper-roman (I, II, III, IV, V, etc.) http://www.w3schools.com/CSS/tryit.asp?filename=trycss_list-style-type_all

Table elements <table> - tabulated data <th> - table headers <tr> - table row <td> - table data cell Basic table by Jenifer Hanen at Dev.Opera.Com

Forms <fieldset> - broder around form <legend> - title above form <label> - titles for fields <form> - input forms <input> - form fields <option> - items in a selector <select> - drop-down list in form HTML forms—the basics

DIV-ide and conquer DIV = division of page – ‘block’ element DOM – Document Object Model Generic containers – the div and span elements The CSS layout model - boxes, borders, margins, padding Divitis CSS Zen Garden

HTML Image Maps Clickable areas on images <img> <map> <area> Example code and demo Luna Beach Resort dive site map

CSS Styles – made of Rules and Selectors Inline and External - <link> command – Examples Divs and the Box Model Floated elements and clearing floats – Floatin’ Away Styling text W3 Schools CSS Tutorial

CSS in use <p style=“color:red;”>This is a styled paragraph</p> <style> p {color:red;} </style> <p>This is a styled paragraph</p> <p>So is this</p> <p>In fact, they ALL are</p>

Class act <style> .warning { color:red; font-style:italic; font-weight:900; } </style> <p class=“warning”>Danger Will Robinson!</p> Defining style rules My list of CSS Links

I welcome your questions! ? I welcome your questions!