HTML Simple Introduction

Slides:



Advertisements
Similar presentations
4. Internet Programming ENG224 INFORMATION TECHNOLOGY – Part I
Advertisements

HTML popo.
Designing Websites Using HTML and FrontPage A Typical Webpage View Source A webpage is a text file containing instructions to tell a computer how the.
Internet Services and Web Authoring (CSET 226) Lecture # 5 HyperText Markup Language (HTML) 1.
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.
OMT II Mam Saima Gul. * Static web page * a web page with contents that remain fixed and unchanged once it has been created by the author Web server Client.
1 HTML Markup language – coded text is converted into formatted text by a web browser. Big chart on pg. 16—39. Tags usually come in pairs like – data Some.
23-Jun-15 HTML. 2 Web pages are HTML HTML stands for HyperText Markup Language Web pages are plain text files, written in HTML Browsers display web pages.
CM143 - Web Week 2 Basic HTML. Links and Image Tags.
HTML: PART ONE. Creating an HTML Document  It is a good idea to plan out a web page before you start coding  Draw a planning sketch or create a sample.
CPSC 203: Introduction to Computers Tutorials 03 & 29 by Jie (Jeff) Gao.
Tutorial 1 Developing a Basic Web Page. New Perspectives on HTML, XHTML, and XML, Comprehensive, 3rd Edition Objectives – Lesson 1 Introduction to the.
1 CSC 121 Computers and Scientific Thinking David Reed Creighton University HTML and Web Pages.
CSCI 1101 Intro to Computers
Html Basic Codes Week Two. Start Your Text Editor Windows use 'Notepad’ Macintosh use 'Simple Text'
XP New Perspectives on The Internet, Sixth Edition— Comprehensive Tutorial 8 1 Creating Effective Web Pages Creating HTML Documents Tutorial 8.
Web Programming Basics of HTML. HTML stands for Hyper Text Mark-up Language A mark-up language is different than those that you have learned before in.
INTRODUCTION. What is HTML? HTML is a language for describing web pages. HTML stands for Hyper Text Markup Language HTML is not a programming language,
© Anthony J. Nowakowski, Ph.D.. Web Page Development.
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.
L. Anne Spencer (c) 2001 Basic Web Design Document, text, & layout formatting tags & attributes.
CS 111 – Oct. 4 Web design –HTML –Javascript Commitment: –This week, read sections 4.3 – 4.5.
HTML HyperText Markup Language ©Richard L. Goldman July 15, 2003.
Copyright © Curt Hill Applets A different type of program.
Copyright © 2013 Pearson Education, Inc. Publishing as Pearson Addison-Wesley What did we learn so far? 1.Computer hardware and software 2.Computer experience.
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
HTML. INDEX Introduction to HTML Creating Web Pages Commands And Tags Web Page.
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.
NOTEPAD++ Lab 1 1 Riham ALSmari. Why Notepad++ ?  Syntax highlighting  Tabbed document interface  Zooming  Indentation code  Find and replace over.
Basic Web Publishing M. Scott Gartner 7/15/98.
Week 1: Introduction to HTML and Web Design
HTML Structure & syntax
Introduction to HTML.
HTML Basics.
Introduction to HTML Section A – Programming, HTML
4.01 Cascading Style Sheets
Aside on Conversions  . Aside on Conversions  
Introduction to basic HTML
Essential Tags Web Design – Sec 3-3
HTML Programming Basic HTML text formatting.
With Microsoft FrontPage 2000
Chapter 2 Developing a Web Page.
11 October Building a Web Site.
HTML.
CSCI-235 Micro-Computers in Science
Uppingham Community College
XHTML Basics.
Creating a Home Page in HTML
Essential Tags Web Design – Sec 3-3
Dreamweaver – Project #1
Introduction to XHTML.
COMPSCI 111 / 111G An introduction to practical computing
A guide to HTML.
XHTML Basics.
XHTML Basics.
Computers and Scientific Thinking David Reed, Creighton University
Intro to Web Development HTML Structure
Ground to Roof HTML/HTML5
Chapter 16 The World Wide Web.
XHTML Basics.
HyperText Markup Language
HTML Basics Mr. Fazzalari.
An Introduction to HTML Pages
XHTML Basics.
AN INTRODUCTION BY FAITH BRENNER
4.01 Cascading Style Sheets
Web Programming and Design
Presentation transcript:

HTML Simple Introduction Copyright 1998-2017 Curt Hill

HTML Hyper Text Markup Language A text based formatting language Consists of text and tags Text is written mostly without regard to margins The browser may dynamically change margins XML was once seen as the successor before HTML 5 It may emulate HTML Copyright 1998-2017 Curt Hill

Purpose HTML is designed to display material It has many of the same functions as a word processor or text processor It has no control over margins A word processor intends to print, so margin control is important A browser intends to display, margins are a function of window size and display size of the information A word processor may store its documents in a file using any characters The markup of HTML must be plain text for machine independence Copyright 1998-2017 Curt Hill

HTML Tags A tag is enclosed in < > A keyword identifies the function Some parameters may be part of the tag Paired tags start with <xxx> and end with </xxx> Tag names are not sensitive to case Some tags do not need a ending tag They do not need to be properly nested Copyright 1998-2017 Curt Hill

Structure of HTML file Starts with <HTML> and ends with </HTML> The file is composed of two pieces within this: Head - <HEAD> to </Head> Body - <BODY> to </BODY> Different tags can be in each These will be considered now, but many more exist than than will be shown Copyright 1998-2017 Curt Hill

HTML Head Tags <Title>Page Title</Title> The title that most browsers show Various META tags that indicate author etc. HTML files produced by other programs (eg. Word) will produce many other tags in this area These are usually <META> tags which give a variety of auxiliary information like subject, program name, template, etc Copyright 1998-2017 Curt Hill

Home Page Head <HTML> <HEAD> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1"> <TITLE>SE 311 Home Page</TITLE> <META NAME="AUTHOR" CONTENT="Curt Hill"> <META NAME="GENERATOR" CONTENT="Curt Done It"> </HEAD> Copyright 1998-2017 Curt Hill

HTML Body Tags The body contains most of what shows in the browser window The Body tag can set the default colors, backgrounds etc Between <BODY> and </BODY> occurs all the content of the page as well Copyright 1998-2017 Curt Hill

Paired Formatting tags <CENTER> to </CENTER> <B> to </B> bold <I> to </I> italics <U> to </U> underline <TT> to </TT> monospaced typewriter font <FONT> to </FONT> determines font sizes and styles – needs parms <Hn> through </Hn> creates a header Copyright 1998-2017 Curt Hill

Unpaired tags Some HTML generators will pair these as well, but it is not necessary <P> new paragraph <BR> a new line <BR/> a new line with no </BR> <HR> produces a horizontal line Copyright 1998-2017 Curt Hill

Unrecognized Tags There have been a proliferation of tags Tag of the week became the saying A browser that does not handle a tag should just ignore it Not display and not act upon Some tags have an action to perform if the feature is not available The Java applet tag Copyright 1998-2017 Curt Hill

White space White space is defined as anything that does not produce a printable character This includes: Blanks Tabs Carriage returns Line feeds Generally HTML treats one or more contiguous characters as it they were just one Copyright 1998-2017 Curt Hill

More Examples <H1><CENTER>SE 311 Home Page </CENTER> </H1>SE 311. <H2>Test</H2> No tests are currently scheduled. <H2>Presentations and Examples</H2> <BR/>No presentations have yet been given, but they will appear here after they are. <H2>Other links</H2> Copyright 1998-2017 Curt Hill

More of page <H2>Return links </H2> <P> <A HREF="index.htm" target="_top"> Return to Curt Hill's home page.</A> <P>Last time I updated this page: <!DATE2>January 7, 2008<!/DATE>. <P> <FONT SIZE=1> </FONT> </BODY> Copyright 1998-2017 Curt Hill

Browsers Nearly every web browser has the ability to show the original source You should look at the actual home page of this class for examples Copyright 1998-2017 Curt Hill

Creating HTML There are very many ways HTML is a simple text file with nothing that is not ASCII Thus a simple program like Notepad++ may create or modify Most word processors may export HTML or act on it directly Like MS Word There are numerous specialized programs as well DreamWeaver FrontPage Copyright 1998-2017 Curt Hill

Another Example Lets consider one more example The nearly obsolete Java Applet Tag Copyright 1998-2017 Curt Hill

Java applet tags <APPLET code=“X.class” height=100 width=400> <PARAM name=p value=“parm value”>Default message </APPLET> code identifies the class file size of panel is determined by height and width Multiple params can be entered The default message is shown if the browser cannot handle Java Copyright 1998-2017 Curt Hill

Required Parameters The height and width are special parameters They must be given in order that the browser knows the size of the applet to display However, they may be accessed from Java, just like any parameters Copyright 1998-2017 Curt Hill

Optional Parameters The HTML for a parameter is a tag, which is enclosed within the applet tag Parameters tags have three pieces: The PARAM tag label The name of the parameter The value of the parameter These are separated by blanks in the PARAM tag Copyright 1998-2017 Curt Hill

<PARAM name=p value=“parm value”> The name is how the parameter will be identified in Java Must be unique for this applet Not case sensitive The value is always a string Must be enclosed in quotes if it contains special characters Copyright 1998-2017 Curt Hill

Finally There is much more to know but not much of it is relevant to this class Although the library has reference material it is more common to use the web I am partial to: https://www.w3schools.com/ for both HTML and JavaScript If you find better sites let me know Copyright 1998-2017 Curt Hill