Internet Skills An Introduction to HTML Alan Noble Room 504 Tel: 0151 79 44562 (44562 internal)

Slides:



Advertisements
Similar presentations
Computers: Tools for an Information Age Writing Your Own Web Page: Using HTML and Web Authoring Tools.
Advertisements

Internet Services and Web Authoring (CSET 226) Lecture # 5 HyperText Markup Language (HTML) 1.
Unit 3 Day 4 FOCS – Web Design. No Journal Entry.
WeB application development
ASHIMA KALRA.  WHAT IS HTML WHAT IS HTML  HTML TAGS HTML TAGS  FORMATTING TAGS FORMATTING TAGS.
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.
XHTML Basics.
HTML Hypertext Markup Language –First proposed by CERN in 1989 –It is non-linear so it allows you to jump from place to place –Markup refers to the structure.
HTML Computing Concepts HTML - An Introduction 1.
Introduction to HTML 2004 CIS101. What is the Internet? Global network of computers that are connected and communicate via a series of Protocols Protocols.
HTML Introduction HTML
Chapter 2 Introduction to HTML5 Internet & World Wide Web How to Program, 5/e Copyright © Pearson, Inc All Rights Reserved.
1 Introduction to HTML. 2  W W W – World Wide Web.  HTML – HyperText Markup Language – The Language  of Web Pages on the World Wide Web. HTML is a.
 Definition of HTML Definition of HTML  Tags in HTML Tags in HTML  Creation of HTML document Creation of HTML document  Structure of HTML Structure.
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.
Creating a Simple Page: HTML Overview
Web Design Using HTML Codes. WHAT DO I NEED TO BEGIN DESIGNING A HOME PAGE? 1.YOU NEED A FOLDER (also called a DIRECTORY) You should set up a folder or.
Basic HTML Hyper text markup Language. Re-cap  … - The tag tells the browser that this is an HTML document The html element is the outermost element.
HTML HyperText Markup Language Constantly evolving - extra facilities being added regularly Java applets and JavaScript used to increase functionality.
HTML (HyperText Markup Language)
HTML Structure & syntax
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.
Tutorial 1 Developing a Basic Web Page. New Perspectives on HTML, XHTML, and XML, Comprehensive, 3rd Edition Objectives – Lesson 1 Introduction to the.
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.
Understanding HTML Code
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.
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.
Html Basic Codes Week Two. Start Your Text Editor Windows use 'Notepad’ Macintosh use 'Simple Text'
HTML 4 Foundation Level Course HyperText Markup Language Most common language used in creating Web documents. You can use HTML to create cross-platform.
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.
Introduction to HTML. What is HTML? Hyper Text Markup Language (HTML) is a language for describing web pages. HTML is not a programming language, it is.
15.1 Fundamentals of HTML.
A Basic Web Page. Chapter 2 Objectives HTML tags and elements Create a simple Web Page XHTML Line breaks and Paragraph divisions Basic HTML elements.
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.
WEB PAGE DESIGN FOR CHIARVELLE PIZZA Open Notepad Click on Start Point to Accessories Point to Notepad Click Notepad Click the Maximize button Click Edit.
IS1811 Multimedia Development for Internet Applications Lecture 4: Introduction to HTML Rob Gleasure
Introduction to web development and HTML MGMT 230 LAB.
INTRODUCTORY Tutorial 1 Using HTML Tags to Create Web Pages.
Introduction to HTML Wah Yan College (Hong Kong) Mr. Li C.P.
Internet Skills An Introduction to HTML Alan Noble Room 504 Tel: (44562 internal)
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.
Project 2 Web Page Design Creating and Editing a Web Page Pages
College of Micronesia- FSM Pohnpei State Campus GEORGE S. MANGONON, MBA Chair, Math/Sci Division September 15-25, 2008.
HTML Basics BCIS 3680 Enterprise Programming. Web Client/Server Architecture 2  Your browser (the client) requests a Web page from a remote computer.
LEARNING HTML PowerPoint #1 Cyrus Saadat, Webmaster.
Introducing the World Wide Web Internet- a structure made up of millions of interconnected computers whose users communicate with each other and share.
15.1 Fundamentals of HTML DeKalb County School System.
College of Micronesia- FSM Pohnpei State Campus GEORGE S. MANGONON, MBA Chair, Math/Sci Division September 15-25, 2008.
HTML BTEC National in Computing Section5. Create Information “HTML: defining HTML, discussing HTML uses and demonstrating HTML basics, HTML structure…..
HTML Introduction. Lecture 7 What we will cover…  Understanding the first html code…  Tags o two-sided tags o one-sided tags  Block level elements.
15.1 Fundamentals of HTML 2 assignments: 1st—complete the worksheet. 2nd—create your first HTML web page following the directions in this PowerPoint where.
HTML Basics. HTML Coding HTML Hypertext markup language The code used to create web pages.
HTML HYPER TEXT MARKUP LANGUAGE. INTRODUCTION Normal text” surrounded by bracketed tags that tell browsers how to display web pages Pages end with “.htm”
LBSC 690 Session 4 Programming. Languages How do we learn a language? Learn by listening Then reading Then writing How do we teach programming? Learn.
Writing Your Own Web Page: Using HTML and FrontPage Chapter 10.
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
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.
NOTEPAD++ Lab 1 1 Riham ALSmari. Why Notepad++ ?  Syntax highlighting  Tabbed document interface  Zooming  Indentation code  Find and replace over.
Online PD Basic HTML The Magic Of Web Pages
Essential Tags Web Design – Sec 3-3
Essential Tags Web Design – Sec 3-3
Introduction to XHTML.
Understand basic HTML and CSS terminology, concepts, and basic operations. Objective 3.01.
HyperText Markup Language
Presentation transcript:

Internet Skills An Introduction to HTML Alan Noble Room 504 Tel: (44562 internal)

2 File Size Displaying graphical information in an efficient manner?

3 What is an HTML Document? HTML documents are plain-text (also known as ASCII) files that can be created using any text editor (e.g. Notepad on a Windows machine). You can also use word-processing software if you remember to save your document as "text only with line breaks".

4 HTML Editors Several WYSIWYG ("what you see is what you get") editors are also available. WYSIWYG editors mean that you design your HTML document visually, as if you were using a word processor, instead of writing the markup tags in a plain-text file and imagining what the resulting page will look like. It is useful to know enough HTML to code a document before you determine the usefulness of a WYSIWYG editor, in case you want to add HTML features that your editor doesn't support.

5 Why do I need to learn HTML? It is valuable to know enough HTML to code a document before you determine the usefulness of a WYSIWYG editor, in case you want to add HTML features that your editor doesn't support.

6 Tags A tag is a fundamental component of the structure of a HTML document. Some examples of tags are; HEAD, TITLE, TABLE etc. You use HTML tags to mark the elements of your web page for your browser. Elements can contain plain text, other elements, or both.

7 Tags HTML tags consist of a left angle bracket ( ). Tags are usually paired to start and end the tag instruction. The end tag looks just like the start tag except a slash (/) precedes the text within the brackets. (e.g., and )

8 HTML (..... ) This element tells your browser that the file contains HTML-coded information. The file extension.html or.htm also indicates this an HTML document and must be used. Initially web servers were all Unix based machines which meant that you were not restricted to 8.3 filenames. When servers would run on other systems (e.g. Microsoft) file names were restricted to a three character extension, consequently.htm was used.

9 Example

10 HEAD (..... ) The head element identifies the first part of your HTML-coded document that contains the title. The title is shown as part of your browser's window.

11 Example

12 TITLE (..... ) T he title element contains your document title and identifies its content in a global context. The title is typically displayed in the title bar at the top of the browser window, but not inside the window itself. The title is also what is displayed on someone's hotlist or bookmark list, so choose something descriptive, unique, and relatively short. A title is also used to identify your page for search engines.

13 Title (continued) For example, you may include a shortened title of the site name with the topic and section name: Liverpool Univ. HTML Guide: Introduction. This tells the user the site, (Liverpool University) the topic (HTML Guide) and the section name (Introduction). This is more useful than simply calling the document Introduction. Generally you should keep your titles to 64 characters or fewer.

14 Example 1.1 Liverpool Univ. CMMS Course: Introduction.

15 BODY (..... ) The second--and largest--part of your HTML document is the body, which contains the content of your document (displayed within the text area of your browser window). Tags are used within the body of your HTML document to format your page.

16 Example 1.2 Liverpool Univ. CMMS Course: Introduction. This page introduces the CMMS course at The University of Liverpool

17 Tags Not all tags are supported by all World Wide Web browsers. If a browser does not support a tag, it will simply ignore it. Any text placed between a pair of unknown tags will still be displayed, however.

18 White Space Welcome to the world of HTML. This is the first paragraph. While short it is still a paragraph! Will produce identical output as: Welcome to the world of HTML. This is the first paragraph. While short it is still a paragraph!

19 White Space Also note that words in the text to be displayed are separated by a single space when it is displayed If you enter more than one space in your code then the rest will be ignored Also carriage returns in your source text will be ignored and replaced by a single space.

20 Attributes Some elements may include an attribute, which is additional information that is included inside the start tag. For example, you can specify the alignment of images (top, middle, or bottom) by including the appropriate attribute with the image source HTML code.

21 HTML NOTE: HTML is not case sensitive. is equivalent to or (There are a few exceptions)

22 A Simple HTML Document Every HTML document should contain certain standard HTML tags. Each document consists of head and body text The head contains the title, and the body contains the actual text that is made up of paragraphs, lists, and other elements Browsers expect specific information because they are programmed according to HTML specifications

23 A Simple HTML Document A Simple HTML Example This is simple HTML Welcome to the world of HTML. This is the first paragraph. While short it is still a paragraph! And this is the second paragraph.

24 HTML Layout Note that the layout of the HTML code is ignored by the browser (as always there are a few exceptions) The spacing, text case and layout are just to make it more readable for us.

25 HTML Layout Consequently the previous example is identical to: A Simple HTML Example This is simple HTML Welcome to the world of HTML. This is the first paragraph. While short it is still a paragraph! And this is the second paragraph.

26 A Teaching Tool To see a copy of the file that your browser reads to generate the information in your current window, select View Source (or the equivalent) from the browser menu The file contents, with all the HTML tags, are displayed This is an excellent way to see how HTML is used and to learn tips and constructs. Save a source file and use it as a template for one of your own Web pages

27 Headings (...,...,... etc.) HTML has six levels of headings, numbered 1 through 6, with 1 being the largest. Headings are typically displayed in larger and/or bolder fonts than normal body text. The first heading in each document should be tagged. The syntax of the heading element is: Text of heading where y is a number between 1 and 6 specifying the level of the heading.

28 Headings (CONTINUED) Do not skip levels of headings in your document. For example, don't start with a level-one heading ( ) and then next use a level-three ( ) heading. Although there are no hard and fast rules on the subject, it is bad practice to skip heading levels as it can make a document difficult to read.

29 Example 1.3 Liverpool Univ. CMMS Course: Introduction. Introduction This page introduces the CMMS course at The University of Liverpool Course Details This section will describe the details of the course.

30 Paragraphs (..... ) Unlike documents in most word processors, carriage returns in HTML files aren't significant. In fact, any amount of whitespace -- including spaces, linefeeds, and carriage returns -- are automatically compressed into a single space when your HTML document is displayed in a browser. You don't have to worry about how long your lines of text are. Word wrapping can occur at any point in your source file without affecting how the page will be displayed.

31 Paragraphs (CONTINUED) You must indicate paragraphs with elements. A browser ignores any indentations or blank lines in the source text. Without elements, the document becomes one large paragraph. (One exception is text tagged as "preformatted,")

32 Paragraphs (CONTINUED) The closing tag may be omitted (since browsers interpret a tag as indicating the end of the previous paragraph). However, since HTML now allows certain attributes to be assigned to the tag, it's generally a good idea to include it. Using the and as a paragraph container means that you can center a paragraph by including the ALIGN=alignment attribute in your source file. This is a centered paragraph.

33 Example 1.4 Liverpool Univ. CMMS Course: Introduction. Introduction This page introduces the CMMS course at The University of Liverpool Course Details This section will describe the details of the course.

34 Your Web Space Create a directory on your M: drive called “PUBLIC.WWW” / Example: This will display the page index.htm (or.html) This will display the page page1.htm