Thursday, July 9 Instructor: Craig Duckett Crash Course in HTML.

Slides:



Advertisements
Similar presentations
HTML Basics Customizing your site using the basics of HTML.
Advertisements

Chapter 3 – Web Design Tables & Page Layout
CREATED BY : VIRAL M.KORADIYA. Anchor elements are defined by the element. The element accepts several attributes, but either the Name or HREF attribute.
Internet Services and Web Authoring (CSET 226) Lecture # 5 HyperText Markup Language (HTML) 1.
HTML: HyperText Markup Language Hello World Welcome to the world!
Cascading Style Sheets
Chapter 2 HTML Basics Key Concepts
Presenter: James Huang Date: Sept. 26,  Introduction  Basics  Lists  Links  Forms  CSS 2.
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.
XHTML Basics.
MMDE5011 – INTERACTIVE MEDIA PRACTICE 1 WEEK 1: INTRODUCTION TO HTML5
1 Dreamweaver CS5 intermediate class by Cookie Setton Build a CSS website WITHOUT TABLES Just when you thought you were starting to understand HTML coding,
Web Pages and Style Sheets Bert Wachsmuth. HTML versus XHTML XHTML is a stricter version of HTML: HTML + stricter rules = XHTML. XHTML Rule violations:
Introducing Cascading Style Sheets  Cascading Style Sheet Basics  Creating Styles  Using Styles  Manipulating Styles  Text Formatting with CSS.
© Anselm SpoerriInfo + Web Tech Course Information Technologies Info + Web Tech Course Anselm Spoerri PhD (MIT) Rutgers University
 2008 Pearson Education, Inc. All rights reserved. 1 Introduction to HTML.
Using HTML Tables.
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
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.
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.
HTML. Goals How to use the Komodo editor HTML coding and testing – List and Images – Tables and Links – At least 2 pages and navigation –
Basics of HTML Shashanka Rao. Learning Objectives 1. HTML Overview 2. Head, Body, Title and Meta Elements 3.Heading, Paragraph Elements and Special Characters.
1 HTML/CSS Tutorial. 2 Definitions WWW -- a software infrastructure layered on top of the Internet HTTP -- HyperText Transport Protocol, layered on top.
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.
.  Entertain  Inform  Educate  Blogs  Sell  Date  Gamble  Religion.
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.
Essential Tags Web Design – Sec 3-3 Part or all of this lesson was adapted from the University of Washington’s “Web Design & Development I” Course materials.
1 Essential HTML coding By Fadi Safieddine (Week 2)
Essential Tags Web Design – Sec 3-3 Part or all of this lesson was adapted from the University of Washington’s “Web Design & Development I” Course materials.
Web Foundations MONDAY, SEPTEMBER 30, 2013 LECTURE 3: COMMON HTML TAGS, NEW HTML5 SECTIONS, USING FTP.
Dr. Nuha El-KhaliliInternet Programming ( ) HTML Hyper Text Markup Language The language of web pages Maintained by the W3C
 2002 Prentice Hall, Inc. All rights reserved.2 Chapter 2 — Introduction to HyperText Markup Language 4: Part I Outline 2.1Introduction 2.2Markup Languages.
Chapter 2 HTML Basics Key Concepts Copyright © 2013 Terry Ann Morris, Ed.D 1.
HTML. Basic HTML HTML document – HTML headings – to HTML paragraphs – HTML links – HTML images –
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.
XP Dreamweaver 8.0 Tutorial 3 1 Adding Text and Formatting Text with CSS Styles.
Programming in HTML.  Programming Language  Used to design/create web pages  Hyper Text Markup Language  Markup Language  Series of Markup tags 
Instructor: Mike Panitz HTML, Continued.
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.
HTML: Hyptertext Markup Language Doman’s Sections.
4 Chapter Four Introduction to HTML. 4 Chapter Objectives Learn basic HTML commands Discover how to display graphic image objects in Web pages Create.
Chapter 2 Web Page Design Mr. Gironda. Elements of a Web Page These are things that most web pages use.
Introducing Cascading Style Sheets. Cascading Style Sheet Basics  Cascading Style Sheet Basics  Creating Styles  Using Styles  Manipulating Styles.
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.
Tutorial 3 Adding and Formatting Text with CSS Styles.
Web Foundations THURSDAY, SEPTEMBER 26, 2013 LECTURE 2: WORKING WITH HTML FILES, HTML BASICS, LINKING.
HTML Basics. HTML Coding HTML Hypertext markup language The code used to create web pages.
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.
Objective: To describe the evolution of the Internet and the Web. Explain the need for web standards. Describe universal design. Identify benefits of accessible.
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.
REEM ALMOTIRI Information Technology Department Majmaah University.
Department of Computer Science, Florida State University CGS 3066: Web Programming and Design Spring
Department of Computer Science, Florida State University CGS 3066: Web Programming and Design Spring
HTML5 Introduction to Web Programming. Plan of the course HTML5 Structure of a document Main HTML Tags –Headings –Paragraphs –Links –Tables –Forms –Images.
Building a Website: Layout Fall Overall Structure: Home Page Title Section Title Frame Picture UNCP Math Menu Content Footer Contact Information.
Tutorial #1 Using HTML to Create Web Pages. HTML, XHTML, and CSS HTML – HyperText Markup Language The tags the browser uses to define the content of the.
1 HTML. 2 Full forms WWW – world Wide Web HTTP – Hyper Text Transfer Protocol HTML – Hyper Text Markup Language.
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 and 5. Objectives Introduce markup: elements and attributes How browsers interpret HTML documents Basic structure of HTML document What do style.
Blended HTML and CSS Fundamentals 3 rd EDITION Tutorial 1 Using HTML to Create Web Pages.
HTML Basics.
Section 4.1 Section 4.2 Format HTML tags Identify HTML guidelines
Essential Tags Web Design – Sec 3-3
BIT116: Scripting Lecture 02
Essential Tags Web Design – Sec 3-3
Styles and the Box Model
HTML5 Tags By Dr Derek Peacock
Presentation transcript:

Thursday, July 9 Instructor: Craig Duckett Crash Course in HTML

First Things First: First Things First: Opening & Working on Files (HTML, CS, JS) HTML files are associated with the default browser, so if you want to open them in the Komodo Edit text editor (or some other text editor like Notepad++), then you have to manually point to your text editor when opening the HTML file (or you can simply drag-and-drop the HTML file into the open text editor). In Windows, Komodo Edit is located under Start > All Programs > ActiveState Komodo Edit 8 To Open a File in Komodo Edit 1.Right-click on the file to bring up the Context Window 2.Select Open With 3.Select Komodo Edit If Komodo Edit does not appear in ‘Open With’ then you need to add it one time: 1.Right-click on the file to bring up the Context Window 2.Select Open With 3.Select Choose default program… 4.Uncheck (deselect) Always use the selected program to open this kind of file 5.Browse to the Komodo Edit location and select the executable file (komodo.exe) C:\Program Files (x86)\ActiveState Komodo Edit 8\komodo.exe 2

The Versions of HTML 3

HTML1 (1993) 4

HTML2 (1995) 5 RED = New Tags GRAY = Deprectated Tags

HTML3.2 (1997) 6 RED = New Tags GRAY = Deprectated Tags

HTML4 (1998) 7 RED = New Tags GRAY = Deprectated Tags

XHTML1 (2000) eXtensibleHTML The main difference between XHTML1 and HTML4 is that all tags, once opened, must be closed. There are also some restrictions about what tags can be nested inside each other. 8

XHTML1.1 (2001) 9 RED = New Tags

HTML5 (2008 Working Draft; ?) 10 RED = New Tags GRAY = Deprectated Tags

1. A statement or declaration which tells the browser what version of HTML our file is using and therefore how the code should be rendered by the browser at view time. 2. The DOCTYPE has to appear at the very top of the file, even before the opening HTML tag HTML3.2 DOCTYPE HTML4 DOCTYPE XHTML1 DOCTYPE HTML5 DOCTYPE  THIS WILL BE THE DOCTYPE USED IN THIS CLASS 11

A Groovy Page. The default character encoding in HTML-5 is UTF-8 Universal Character Set Transitional Format 8-Bit Meta Tags 12

Simplest HTML page Hello Everybody. What's happening? The browser uses this information "behind the scenes" The browser uses this information To display page content Demo 13

HTML Template Page Heading Page Content The browser uses this head information "behind the scenes“ Meta tags for “charset” and “author” The browser uses this body information to display page content element displays a header of a larger font size based on the default styles of the browser template.html 14

Absolute Linking A link that includes the entire http path Example Relative Linking A link that only includes the file path in relation to the files and folders in your remote directory Example moon.html 15

Common Tags TagsDescriptionExample paragraphCreates a paragraph between the opening/closing tags followed by a line of white space This is the first paragraph line. This is the second paragraph line. This is the third paragraph line. This is the fourth paragraph line. This is the first paragraph line. This is the second paragraph line. This is the third paragraph line. This is the fourth paragraph line. W3Schools: tag 16

TagsDescriptionExample or line breakThe tag inserts a single line break. The tag is an empty tag which means that it has no end tag. This is the first line. This is the second line. This is the third line. This is the fourth line. This is the first line. This is the second line. This is the third line. This is the fourth line. W3Schools: tag 17

TagsDescriptionExample heading tagsCreates bold content of varying sizes, with the being the largest, and being the smallest, followed by a line of white space This is the first heading line. This is the second heading line. This is the third heading line. This is the fourth heading line. This is the fifth heading line. This is the sixth heading line. This is the first heading line. This is the second heading line. This is the third heading line. This is the fourth heading line. This is the fifth heading line. This is the sixth heading line. W3Schools: to tags 18

TagsDescriptionExample ordered list list item Creates a numbered list, followed by a line of white space. You can also declare its start, order, and the type of list using 1 (default), A, a, I (upper case Roman numeral), I (lower case roman numeral) Apple Banana Cantaloupe Apple Banana Cantaloupe Apple Banana Cantaloupe 1.Apple 2.Banana 3.Cantaloupe 3. Apple 2. Banana 1. Cantaloupe X. Apple XI. Banana XII. Cantaloupe W3Schools: tag 19

TagsDescriptionExample unordered list list item Creates a bulleted list, followed by a line of white space. You can also declare its type using CSS and the list-style-type propertylist-style-type Apple Banana Cantaloupe Apple Red Delicious Granny Smith Banana Cantaloupe Apple Banana Cantaloupe Apple o Red Delicious o Granny Smith Banana Cantaloupe W3Schools: tag 20

Back before HTML5, if you wanted to design a page into sections you had to use the or "division" tag and creating a separate "id" or "class" for each section you wanted (we'll talk about divs, ids, and classes a bit later) 21

With HTML5, there are several new tags with this section functionality built in by default. You still need to position and format these sections using CSS, but you don't have to create separate or unique "classes" or "ids" anymore to do it. 22

TagsDescriptionExample header section of a web page The tag specifies a header for a document or section. The element should be used as a container for introductory content or set of navigational links. You can have several elements in one document. A tag cannot be placed within a, or another element. Rex Winkus's Portfolio Week 1 Isn't it groovy? Rex Winkus's Portfolio Week 1 Isn't it groovy? W3Schools: tag 23

TagsDescriptionExample navigation section of a web pageThe tag defines a set of navigation links. Not all links of a document must be in a element. The element is intended only for major block of navigation links. Microsoft | Google | Yahoo | Microsoft | Google | Yahoo W3Schools: tag 24

TagsDescriptionExample footer section of a web pageA footer typically contains the author of the document, copyright information, links to terms of use, contact information, etc. Using A Footer My Page My Article Some Information © Rex Winkus Me My Page My Article Some Information © Rex Winkus Me W3Schools tag 25

TagsDescriptionExample article section of a web pageThe tag specifies independent, self- contained content. An article should make sense on its own and it should be possible to distribute it independently from the rest of the site. Using Article My Page My First Article Some Information My Second Article Some Content My Page My First Article Some Information My Second Article Some Content W3Schools tag 26

TagsDescriptionExample Defines a section of a web pageThe tag defines sections in a document, such as chapters, headers, footers, or sections My Page Articles My First Article My Second Article My First Article Some Information My Second Article Some Content My Page Articles My First Article My Second Article My First Article Some Information My Second Article Some Content W3Schools tag 27

TagsDescriptionExample Defines an aside section of a web page The tag defines some content aside from the content it is placed in. The aside content should be related to the surrounding content. My Page My First Article Some Information My Second Article Some Content An Interesting Fact… Some Interesting Information My Page My First Article Some Information My Second Article Some Content An Interesting Fact… Some Interesting Information W3Schools tag 28

TagsDescriptionExample A division section of a web pageThe tag defines a division or a section in an HTML document. The tag is used to group block-elements to format them with CSS. My Page My First Article Some Information My Second Article Some Content An Interesting Fact… Some Interesting Information My Page My First Article Some Information My Second Article Some Content An Interesting Fact… Some Interesting Information W3Schools tag 29 Also: Next Slide 

TagsDescriptionExample A division section of a web pageA element used to color a part of a text> element used to color a part of a text My Page My First Article Some Information My Second Article Some Content An Interesting Fact… Some Interesting Information My Page My First Article Some Information My Second Article Some Content An Interesting Fact… Some Interesting Information W3Schools tag 30

Putting It All Together My Page Home My Article Some Content More information © Rex Winkus Me 31

 img src is required  The optional width, height may be in units of pixels or percentage of page or frame  width="357"  height="50%"  Images scale to fit the space allowed  alt tags (for "alternate") is text that gives a name for the image, and will appear in case the image is missing, as a mouseover popup, and in browser text readers for the visually impaired. 32

33 Align=positionImage/Text Placement LeftImage on left edge; text flows to right of image RightImage on right edge; text flows to left TopImage is left; words align with top of image BottomImage is left; words align with bottom of image MiddleWords align with middle of image This is "old school" – Now images are aligned now using CSS

34 The Dude Abides. This is "old school" Now images are aligned using CSS

I have not yet talked about color, tables, forms (including checkboxes, radio buttons, or select elements), or linking files in and out of sub-folders. I will be bringing these up—as well as a few other HTML features—as the quarter progresses. The use of color I will introduce with the next lecture when we move into CSS. Note: 35

36 Please begin working on the LECTURE 2 Part 1 In-Class Exercises. When you have completed your ICE, call the Instructor over to verify your work. If you have questions about your work, please call over the Instructor to clarify. Once you have completed your ICEs, you are free to go for the day. If you don't finish your ICEs by the end of class, you will still get full credit for actively doing the work, but it is greatly recommended you finish any outstanding ICEs outside of class.