HTML5 Overview of Lecture  Why learn HTML?  Good Programming Practices  Basic HTML Tags  Headings  Creating Links  Adding an Image  Linking Through.

Slides:



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

HTML popo.
HTML: HyperText Markup Language Hello World Welcome to the world!
WeB application development
Chapter 2 HTML Basics Key Concepts
ASHIMA KALRA.  WHAT IS HTML WHAT IS HTML  HTML TAGS HTML TAGS  FORMATTING TAGS FORMATTING TAGS.
INTRODUCTION TO HYPERTEXT MARKUP LANGUAGE 1. Outline  Introduction  Markup Languages  Editing HTML  Common Tags  Headers  Text Styling  Linking.
1 eVenzia Technologies Learning HTML, XHTML & CSS Chapter 1.
1 Outline 9.1Introduction 9.2Markup Languages 9.3Editing HTML 9.4Common Tags 9.5Headers 9.6Text Styling 9.7Linking 9.8Images 9.9Formatting Text With 9.10Special.
 2001 Deitel & Associates, Inc. All rights reserved. 1 Outline 9.1Introduction 9.2Markup Languages 9.3Editing HTML 9.4Common Tags 9.5Headers 9.6Text Styling.
HTML Computing Concepts HTML - An Introduction 1.
INSTRUCTIONAL SUPPORT SERVICES (ISS) SHORT COURSE, FALL 2012 UMSL Introduction to Web Page Design.
Chapter 2 Introduction to HTML5 Internet & World Wide Web How to Program, 5/e Copyright © Pearson, Inc All Rights Reserved.
Basic HTML The Magic Of Web Pages. Create an HTML folder  Make a folder in your H drive and name it “HTML”. We will save EVERYTHING for this unit here.
Chapter 2: The Client Side: HTML CIS 275—Web Application Development for Business I.
 2008 Pearson Education, Inc. All rights reserved Introduction to XHTML.
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.
Programming in HTML.  Programming Language  Used to design/create web pages  Hyper Text Markup Language  Markup Language  Series of Markup tags 
ACM 511 HTML Week -1 ACM 511 Course Notes. Books ACM 511 Course Notes.
HTML history, Tags, Element. HTML: HyperText Markup Language Hello World Welcome to the world!
Using Html Basics, Text and Links. Objectives  Develop a web page using HTML codes according to specifications and verify that it works prior to submitting.
Chapter 2 HTML Basics Key Concepts Copyright © 2013 Terry Ann Morris, Ed.D 1.
HTML INTRODUCTION, EDITORS, BASIC, ELEMENTS, ATTRIBUTES.
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.
1 CSC 121 Computers and Scientific Thinking David Reed Creighton University HTML and Web Pages.
More Basic HTML. Add spacing (single & double space) Save Refresh Add horizontal rule Add comments Add styles Add headings Add features Add alignments.
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.
15.2 More Basic HTML. More Basic HTML Add spacing (single & double space) Save Refresh Add horizontal rule Add comments Add styles Add headings Add features.
HTML Basic I IST2101. Keep In Mind Programming can be time consuming. Plan ahead!
HTML CRASH COURSE. What is HTML?  Hyper Text Markup Language  The language used to make web pages  Written by using tags.
Programming in HTML.  Programming Language  Used to design/create web pages  Hyper Text Markup Language  Markup Language  Series of Markup tags 
Introduction to HTML. What is a HTML File?  HTML stands for Hyper Text Markup Language  An HTML file is a text file containing small markup tags  The.
 2008 Pearson Education, Inc. All rights reserved Introduction to XHTML.
Course Content - Chapter 2 Introduction to HTML Introduction to a Text Editor as a web authoring tool Instructional Activity: Creating a webpage using.
Web Page Creation Part I ST: Introduction to Web Interface Design Prof. Angela Guercio.
Just Enough HTML How to Create Basic HTML Documents.
HTML Hyper Text Markup Language. What is an HTML File?  HTML stands for Hyper Text Markup Language  An HTML file is a text file containing small markup.
IS1811 Multimedia Development for Internet Applications Lecture 4: Introduction to HTML Rob Gleasure
HTML Basic IST2101. Keep In Mind Programming can be time consuming. Plan ahead!
INTRODUCTORY Tutorial 1 Using HTML Tags to Create Web Pages.
HTML: Hyptertext Markup Language Doman’s Sections.
LEARNING HTML PowerPoint #1 Cyrus Saadat, Webmaster.
HTML Basics Computers. What is an HTML file? *HTML is a format that tells a computer how to display a web page. The documents themselves are plain text.
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.
HTML Basics. HTML Coding HTML Hypertext markup language The code used to create web pages.
HTML BASIC IST 210: Organization of Data IST210 1.
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.
Copyright © 2013 Pearson Education, Inc. Publishing as Pearson Addison-Wesley What did we learn so far? 1.Computer hardware and software 2.Computer experience.
Creating and Editing a Web Page
HTML HYPER TEXT MARKUP LANGUAGE. INTRODUCTION Normal text” surrounded by bracketed tags that tell browsers how to display web pages Pages end with “.htm”
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.
Getting Started with HTML. HTML  Hyper Text Markup Language  HTML isn’t a program language, its known as a markup language  A Markup language has tags.
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
HTML. INDEX Introduction to HTML Creating Web Pages Commands And Tags Web Page.
1 Foundation of HTML Web Page Design. 2 Safe Web Fonts: Used by most computers regardless of environment or platform  Times New Roman  Arial  Courier.
1 Introduction to HTML. 2 Definitions  W W W – World Wide Web.  HTML – HyperText Markup Language – The Language of Web Pages on the World Wide Web.
HTML is the language that allows text and graphics to be displayed as Web pages. It is a set of special codes, called tags, that tells a browser application.
Revised June 2008 Online PD Basic HTML1 Let’s Try It!  Open Notepad oStart > All Programs > Accessories > Notepad oDon’t get WordPad by mistake – won’t.
HTML Basic IST 210: Organization of Data IST2101.
Introduction to HTML Dr. Nazli Hardy EDW 647Millersville UniversityDepartment of Computer Science Wednesday: Part 2 Creating a Mashup Important: read the.
HTML5 Overview of Lecture  Why learn XHTML?  Good Programming Practices  Basic HTML Tags  Headings  Creating Links  Adding an Image  Linking Through.
Blended HTML and CSS Fundamentals 3 rd EDITION Tutorial 1 Using HTML to Create Web Pages.
Online PD Basic HTML The Magic Of Web Pages
Introduction to HTML Practice of basic HTML tags
Section 4.1 Section 4.2 Format HTML tags Identify HTML guidelines
1 Introduction to XHTML.
WJEC GCSE Computer Science
Presentation transcript:

HTML5 Overview of Lecture  Why learn HTML?  Good Programming Practices  Basic HTML Tags  Headings  Creating Links  Adding an Image  Linking Through an Image  HR  Background Color  Fonts, Color, Size  Lists  Unordered  Ordered  Tables  Additional Materials and Other Special Characters

HTML5 Why Learn HTML?  Learning the basics of HTML is akin to learning how to add, subtract, multiply, divide numbers, even though we have access to calculators. Without understanding how numbers work, we have no scope of making any meaningful use of numbers.  Likewise, it is essential to have a basic understanding of the underlying language of the Web (HTML) and Internet.  My expectation is that you will become aware of basic HTML, not that you will become proficient (unless you already are) in the space of a few days. So dive and try.

HTML5  Tools of the trade:  A free online HTML editor like the ones below  Your favorite browser like Firefox or Safari or Chrome or Opera to view your masterpiece Avoid Internet Explorer (Once you have mastered the basics, then you can save your work on simple editor like Notepad or TextEdit as.txt and then.html Instructions for saving at the end of this presentation) HTML Basics

HTML5 Important: Read through the entire set of slides before starting

HTML5 Tips for Good Programming  Whitespaces for readability  Assign filenames to documents that describe their functionality.  This practice can help you identify documents faster  It also helps people who want to link to a page, by giving them an easy-to- remember name.  For example, if you are writing an HTML document that contains product information, you might want to call it products.html

HTML5 Tips for Good Programming  Indenting nested elements emphasizes a document’s structure and promotes readability.  Place comments throughout your markup.  Comments help other programmers understand the markup, assist in debugging and list useful information that you do not want the browser to render.  Comments also help you understand your own markup when you revisit a document to modify or update it in the future.  Remember comments in HTML always begin with. The browser ignores all text inside a comment

HTML5 Let’s Get Started: the Basic Tags  Open this free HTML editor:  Copy and paste the following code on the left column, then click on “See Result”:... this is the title on your website.... This is your first webpage... the body of your text goes here... Dr. Nazli Hardy

HTML5 The Basic Tags  You should see this:

HTML5 Basic HTML  In HTML, text is marked up with elements delimited by tags that are names contained in pairs of angle brackets  Every HTML document contains a start tag and an end tag  Comments in HTML always begin with. The browser ignores all text inside a comment  Every HTML document contains a head element which generally contains:  A head and a title element  A body element  head element  is not rendered in the display window  the title appears as the browser ‘tab’

HTML5 Practicing HTML  For the following sets of HTML code presented in the following slides, copy, paste onto the online HTML editor and see the result  Each slide builds on the next slide, so if you are having trouble with one slide, go back to the previous one  Once you start feeling confident, you can make some changes to the content within the tags  Like learning any new language, there is no alternative to trying out and practicing. I have taught several programming classes over the years, and this has been my tried and tested advise to my students. And also, try not to become frustrated. If you need a break, remove yourself from the computer, take a moment before starting again Partially adapted from Computer Security: Principles & Practices, Stallings, Lawrie

HTML5 The Basic Tags: paragraphs EDW 647 this is a tag for a paragraph notice the comments do not show up

HTML5 The Basic Tags: headings... the title on your website... This is heading 1 This is heading 2 This is heading 3 This is heading 4 This is heading 5 This is heading 6 this is our very first website

HTML5 The Basic Tags: creating links EDW 647 Links and Things this is our very first website This is a link to my favorite news site Use your own favorite site instead of bbc

HTML5 URL of an Image  In order to grab the URL of an image, right click on the image and clicl on “Copy image URLl” CSCI 415 Millersville University Dr. Nazli Hardy

HTML5 The Basic Tags: creating links, adding an image EDW 647 Links and Things this is our very first website This is Lancaster Again use your own links and images

HTML5 The Basic Tags: creating line break, links, adding a linked image EDW 647 Links and Things this is our very first website This is Lancaster.

HTML5 Important Note  Sometimes when you are copying and pasting from one program to another (e.g. PowerPoint to another program), the “quotation marks” do not translate well.  I suggest you retype the quotation marks on the HTML editor, in case you are having any problems Millersville University Dr. Nazli Hardy

HTML5 The Basic Tags: creating line breaks, links, adding an image, bold, italics EDW 647 Links and Things this is our very first website This is Lancaster. CSCI Millersville University.

HTML5 The Basic Tags: adding a horizontal line and an link EDW 647 Links and Things this is our very first website This is Lancaster CSCI Millersville University Nazli Hardy, Associate Professor.

HTML5 Background Color EDW 647. Links and Things this is our very first website This is Lancaster CSCI Millersville University Nazli Hardy, Associate Professor For colors, visit this website:

HTML5 Color  To choose any color, use this useful website and copy and paste the 6 alphanumeric values CSCI 415 Millersville University Dr. Nazli Hardy

HTML5 Font Size and Color EDW 647 Font Size and Color Font size 4, blue color Font size 5, green color Font size 2, yellow color Standard font size, red color

HTML5 Font Face EDW 647 Font Face font face Comic Sans MS (size and color are the default) font face Courier, size 2 (color is default) font face Helvetica, alternatively Arial, color: dark green (size is default) Standard size, red color (font is default)

HTML5 Lists: Unordered and Ordered EDW 647 Lists – Unordered and Ordered. mangoes coconut lychees. coconut lychees mangoess

HTML5 Lists: Indented EDW 647 Lists - Indented mangoes coconut Hawaiian Tanzanian lychees notice the advantage to indenting the code

HTML5 Tables  always start with the table tag:  row tags:  data tags:  heading tags:  end with the pair table tag

HTML5 Tables EDW 647 Tables Favorite Cities Country City Language France Cannes French Zimbabwe Victoria Falls English/ Shona

HTML5 To Save Your Work …  Since this is an online course, we have been using an online editor to help us through the exercise.  At this point, it is important to know how to save your work. Follow the directions below (there are screenshots in the next slides) 1.Create a new folder. Call it EDW647 2.Open NotePad or TextEdit (do not use NotePad++ or Word or any other program because we need to use the simplest of programs) 3.Copy and paste the HTML code 4.Save the text files as YourName.txt (e.g. Nazli.txt) in your EDW647 folder 5.Then save the same text files again. This time as YourName.html (Note” the pull down menu should indicate “All Files”) 6.Open your EDW647 folder and click on the YourName.html document 7.You should be able to see your webpage 8.As long as you do not close either the NotePad/TextEdit or the browser window, you can make changes to your text document and simply reload the browser window to see the changes

HTML5 To Save Your Work … Millersville University Dr. Nazli Hardy

HTML5

HTML5 Opening Your Webpage  Double click on the browser icon

HTML5 Additional Material  The following slides contain additional material for to try beyond this class. Millersville University Dr. Nazli Hardy

HTML5 Special Characters  XHTML provides special characters or entity references (in the form & code ; ) for representing characters that cannot be rendered otherwise  if x  What is the problem here?  if x &lt 10 then increment x by 1  This website is a good reference to the symbols: e.g. &copy &amp

HTML5 Special Characters Makes the 2 superscript Makes the 1 subscript Creates a strikethrough effect Emphasizes text Inserts the special symbols < and ¼ Partially adapted from adapted from “Internet & World Wide Web: How to Program”, Deitel & Deitel

HTML5 W3C XHTML Validation Service  Programming web-based applications can be complex, and XHTML documents must be written correctly to ensure that browsers process them properly  Most current browsers attempt to render XHTML documents even if they are invalid. This often leads to unexpected and possibly undesirable results.  Use a validation service, such as the W3C MarkUp Validation Service, to confirm that an XHTML document is syntactically correct.  World Wide Web Consortium (W3C) provides a validation service for checking a document’s syntax 

HTML5 More  Look through your book for further HTML details  The Internet is filled with great resources. Review the links below for background color and font size, type and color   