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

Slides:



Advertisements
Similar presentations
Session 2 Introduction to HyperText Markup Language 4 (HTML 4) Matakuliah: M0114/Web Based Programming Tahun: 2005 Versi: 5.
Advertisements

HTML popo.
Internet Services and Web Authoring (CSET 226) Lecture # 5 HyperText Markup Language (HTML) 1.
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.
 2008 Pearson Education, Inc. All rights reserved. 1 Introduction to HTML.
Chapter 2 Introduction to HTML5 Internet & World Wide Web How to Program, 5/e Copyright © Pearson, Inc All Rights Reserved.
HTML BASIC
Computer Sciences Department
Creating a Simple Page: HTML Overview
 2008 Pearson Education, Inc. All rights reserved Introduction to XHTML.
Ku-Yaw Chang Assistant Professor, Department of Computer Science and Information Engineering Da-Yeh University.
DAT602 Database Application Development Lecture 14 HTML.
.  Entertain  Inform  Educate  Blogs  Sell  Date  Gamble  Religion.
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.
Tutorial 1 Developing a Basic Web Page. New Perspectives on HTML, XHTML, and XML, Comprehensive, 3rd Edition Objectives – Lesson 1 Introduction to the.
HTML history, Tags, Element. HTML: HyperText Markup Language Hello World Welcome to the world!
 2002 Prentice Hall, Inc. All rights reserved.2 Chapter 2 — Introduction to HyperText Markup Language 4: Part I Outline 2.1Introduction 2.2Markup Languages.
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.
Learning Web Design: Chapter 4. HTML  Hypertext Markup Language (HTML)  Uses tags to tell the browser the start and end of a certain kind of formatting.
CP2022 Multimedia Internet Communication1 HTML and Hypertext The workings of the web Lecture 7.
Chapter 2 HTML Basics Key Concepts Copyright © 2013 Terry Ann Morris, Ed.D 1.
HTML INTRODUCTION, EDITORS, BASIC, ELEMENTS, ATTRIBUTES.
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.
Html Basic Codes Week Two. Start Your Text Editor Windows use 'Notepad’ Macintosh use 'Simple Text'
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.
 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.
XP New Perspectives on The Internet, Sixth Edition— Comprehensive Tutorial 8 1 Creating Effective Web Pages Creating HTML Documents Tutorial 8.
Web Page Creation Part I ST: Introduction to Web Interface Design Prof. Angela Guercio.
INTRODUCTORY Tutorial 1 Using HTML Tags to Create Web Pages.
HTML: Hyptertext Markup Language Doman’s Sections.
Copyright © Osmosys O S M O S Y SO S M O S Y S D e p l o y i n g E x p e r i e n c e & E x p e r t i s e™ HTML Training.
LEARNING HTML PowerPoint #1 Cyrus Saadat, Webmaster.
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 Chapter 2 Key Concepts 1 Copyright © Terry Felke-Morris.
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.
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.
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.
1 2/16/05CS120 The Information Era Chapter 4 Basic Web Page Construction TOPICS: Intro to HTML and Basic Web Page Design.
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. 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.
HTML. INDEX Introduction to HTML Creating Web Pages Commands And Tags Web Page.
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 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.
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 HTML?  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.
Introduction to HTML.
Introduction to HTML Practice of basic HTML tags
Section 4.1 Section 4.2 Format HTML tags Identify HTML guidelines
Introduction to XHTML.
1 Introduction to XHTML.
WJEC GCSE Computer Science
Presentation transcript:

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

HTML5 2  Tools of the trade:  A free online HTMl editor (as an introduction) AND  A simple editor like Notepad or TextEdit AND save the document as.txt and then.htm  Your favorite browser like Firefox or Safari or Chrome or Opera To view your masterpiece XHTML Basics a free online HTML editor and another one

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 XHTML 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 XHTML always begin with. The browser ignores all text inside a comment

HTML5 The Basic Tags... the title on your website the body of your text goes here... Save as ____.txt (any simple editor will do) and _____.html a free online HTML editor and another one

HTML5 Basic XHTML  In XHTML, text is marked up with elements delimited by tags that are names contained in pairs of angle brackets  Every XHTML document contains a start tag and an end tag  Comments in XHTML always begin with. The browser ignores all text inside a comment  Every XHTML 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 The Basic Tags - paragraphs CSCI 101 this is our very first website

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 CSCI 101 Links and Things this is our very first website This is a link to my favorite news site

HTML5 The Basic Tags – creating links, adding an image CSCI 101 Links and Things this is our very first website This is Lancaster

HTML5 The Basic Tags – creating links, adding an image CSCI 101 Links and Things this is our very first website This is Lancaster

HTML5 The Basic Tags – creating links, adding an image, bold, italics CSCI 101 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 CSCI 101 Links and Things this is our very first website This is Lancaster CSCI Millersville University Nazli Hardy, Associate Professor

HTML5 View Source Code  Right click or through browser menu  Useful for:  Viewing nesting structure  Immediate access to comments  Recovering code if you lose the _______.txt file

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 Background Color CSCI 101 Links and Things this is our very first website This is Lancaster CSCI Millersville University Nazli Hardy, Associate Professor

HTML5 Font Size and Color CSCI 101 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 CSCI 101 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 CSCI 101 Lists – Unordered and Ordered mangoes coconut lychees coconut lychees mangoess

HTML5 Lists - Indented CSCI 101 Lists - Indented mangoes coconut Hawaiian Tanzanian lychees notice the advantage to indenting the code

HTML5 Lists - Definitional CSCI 101 Lists - Definitional circumspect: adj. heedful of potential consequences desktop: (computer science, n.) figurative term for the area of the screen in graphical user interfaces against which icons and windows appear (other, n.) the top of your table or working area

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

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

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   

HTML5 Brief Intro to this week’s lab … on mashups  Mashup: aggregate content or functionality from existing websites to create a new and more informative page on a certain category of information.  Consolidates data, links, images into a one-stop-shop information portal.  Should be value-added than the original sites from which info is being pulled.  In preparation for the lab: Think about what you want your mashup to be … some examples  your passion  something./ some place about which you would like to learn  academic  professional  make some notes, draw a general outline