Introduction to HTML Hypertext Mark-up Language. HTML HTML = Hypertext Mark-up Language Is just plain simple text marked up by “tags” You can create a.

Slides:



Advertisements
Similar presentations
Introduction to HTML
Advertisements

3.02D HTML Overview 3.02 Develop webpages.
HTML I. HTML Hypertext mark-up language. Uses tags to identify elements of a page so that a browser such as Internet explorer can render the page on a.
HTML Basics Customizing your site using the basics of HTML.
Html: getting started HTML is hyper text markup language. It is what web browsers look at on the Internet. HTML documents should be created in a simple.
Hyper Text Markup Language.  HTML is a language for describing web pages.  HTML stands for Hyper Text Markup Language  HTML is not a programming language,
WeB application development
Teppo Räisänen LIIKE/OAMK 2010
SM5312 week 11: CSS Menus & Navigation Bars1 An Introduction to Cascading Style Sheets CSS Menus and Navigation Bars Nick Foxall.
Hypertext Markup Language. Platform: - Independent  This means it can be interpreted on any computer regardless of the hardware or operating system.
McGraw-Hill/Irwin The Interactive Computing Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. How to Create Web Pages Using HTML Introduction.
© Anselm SpoerriInfo + Web Tech Course Information Technologies Info + Web Tech Course Anselm Spoerri PhD (MIT) Rutgers University
Computer Science 1611 Internet & Web Creating Webpages with Style Hypertext and the HTML Markup Language (continued)
HTML Introduction HTML
INSTRUCTIONAL SUPPORT SERVICES (ISS) SHORT COURSE, FALL 2012 UMSL Introduction to Web Page Design.
How can basic HTML sites be improved?. The Difference Between Hyper Text Markup Language Is a markup language for describing web pages Is used to create.
 Definition of HTML Definition of HTML  Tags in HTML Tags in HTML  Creation of HTML document Creation of HTML document  Structure of HTML Structure.
Overview of HTML. Three Different Approaches  Text editor like Notepad  HTML editor such as: –KompoZer –DreamWeaver –Microsoft Expression Web –iWeb.
Basics of HTML.
Creating a Simple Page: HTML Overview
Web Design Dreamweaver Semester 2 ATBs. ATB #1 What is a web site?
Copyright © Texas Education Agency, All rights reserved. 1 Web Technologies Website Development with Dreamweaver.
HTML HyperText Markup Language Constantly evolving - extra facilities being added regularly Java applets and JavaScript used to increase functionality.
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.
Web Design I Spring 2009 Kevin Cole Gallaudet University
1 Session 1: Introduction to HTML Spring Today’s Agenda Cover useful terminology for today’s session HTML, browsers, servers, etc. HTML Tags Get.
Website Development with Dreamweaver
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.
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'
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.
Lecture 2 Building Web Pages 1 Lecture 2  Building Web pages  Languages and programs  HTML - Hyper Text Markup Language  Netscape’s Composer  MicroSoft.
Web Design (2) Brackets - introduction. Brackets Brackets is a web design code editor It is an open-source project initiated by Adobe (creator of Dreamweaver)
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.
Overview of HTML/XHTML Two Different Approaches  Text editor like Notepad  HTML editor such as: –KompoZer –DreamWeaver –Microsoft Expression Web –iWeb.
Putting Applets into Web Pages.  Two things are involved in the process of putting applets onto web pages ◦ The.class files of the applet ◦ The html.
Introduction to web development and HTML MGMT 230 LAB.
HTML: Hyptertext Markup Language Doman’s Sections.
CPSC 203 Introduction to Computers Lab 33 By Jie Gao.
Chapter 2 Web Page Design Mr. Gironda. Elements of a Web Page These are things that most web pages use.
Web Design (1) Terminology. Coding ‘languages’ (1) HTML - Hypertext Markup Language - describes the content of a web page CSS - Cascading Style Sheets.
15.1 Fundamentals of HTML DeKalb County School System.
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.
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.
Web Authoring with Dreamweaver. Unit Objectives  Be able to define keywords: HTML, HTTP (protocol), browser, web server, client/server, tag, attribute,
1 Creating Links Lesson 2. 2 In the center column type : Home | Order Now | Contact Us This is the navigation button which will link to the other pages.
Session 1: Introduction to HTML Fall Today’s Agenda Talk about the functions of the Internet Cover useful terminology for today’s session HTML,
HTML-I Basic HTML Elements. HTML (Hyper Text Markup Language) HTML is a document layout and hyperlink- specification language. i.e. a language used to.
Learning Aim C.  Creating web pages involves many considerations.  In this section we will look at the different software tools you can use and how.
Creating Web Pages with Links, Images, and Embedded Style Sheets
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.
Project 02 Creating and Editing a Web Page Concept Map of Unit Creating and Editing a Web Page Key Learning Understand the elements to create a web page.
Introduction to HTML Dave Edsall IAGenWeb County Coordinator’s Conference June 30, 2007.
Basic HTML Page 1. First Open Windows Notepad to type your HTML code 2.
HTML And the Internet. HTML and the Internet ► HTML: HyperText Markup Language  Language in which all pages on the web are written  Not Really a Programming.
HTML Structure & syntax
Online PD Basic HTML The Magic Of Web Pages
Alabama Educational Technology Conference
Introduction to HTML.
Web Basics: HTML/CSS/JavaScript What are they?
HTML Basics.
Section 4.1 Section 4.2 Format HTML tags Identify HTML guidelines
Bare boned notes.
3.00cs HTML Overview 3.00cs Develop webpages.
Introduction to Web Page Design
Internet Technologies I - Lect.01 - Waleed Ibrahim Osman
Computer communications
Presentation transcript:

Introduction to HTML Hypertext Mark-up Language

HTML HTML = Hypertext Mark-up Language Is just plain simple text marked up by “tags” You can create a web page in an editor providing you save it as a text file File extension: HTML or HTM

Enabling File Extensions Go to My Computer (if using Windows 7) Click Organise (top left) Select Folder & Search Options Click the View tab Untick Hide Extensions for known file types

File Extensions When creating web pages you need to see the file extension, e.g. homepage.html is a web page mystyle.css is a cascading style sheet myscript.js is a JavaScript file login.php is a PHP server-side script

Notepad Notepad – basic text editor (or right click inside a folder > New > Text document) Click Start > All Programs > Accessories > Notpad Also change setting to word wrap You can start creating a web page soon

Notepad Create a page, then use Save as Make sure file type set to All files

Notepad ++ Notepad ++ is an alternative freeware plain text editor which you can download on your home computer

Notepad ++ Set the language to HTML to make it colour coded when you type

Exercise Open Notepad ++, Notepad or use Dreamweaver Enter the following code: Basic introduction to HTML using Notepad to create web pages Hello World

Notepad ++ This the basic structure of a web page

Notepad ++ Type it and save the page as: index.html Create a folder to save your work as well

Notepad ++ Use Run > Launch menu to open in browser

Web page opened in browser Page opened up in browser - did you get it to work?

Web page opened in browser Notice where the and tag text go

Word Wrap Click the word wrap button so code wraps in window

Add more to page Replace Hello World with new text

Open in web browser Save. Click Run > Launch in Chrome

Change the background colour Edit the tag and try different colours

Open in web browser Save. Click Run > Launch in Chrome

Use Header & tag Notice the colours of the source code changing

Open in web browser Save. Click Run > Launch in Chrome. Notice the font change

Add a background image Save bg.gif into your folder as well

Open in web browser Save. Click Run > Launch in Chrome. Notice background repeats

Create a second web page Save the second page as web.html

Open 2 nd page in web browser Save. Click Run > Launch in Chrome. Click the link

Link on should go to 1 st page Save. Click Run > Launch in Chrome. Click the link to go back to first page

Add a picture to the page Save tim.jpg to your folder and add the tag

Add a picture to the page Check the image is on the page

Align picture left or right Although the professional way to align images is using CSS, you can align a picture using HTML To align using HTML, use the align=“left” or align=“right” attribute To add margin using HTML, use vspace or hspace attributes e.g.

Align picture left IMG SRC="tim.jpg" align=“left" hspace="20" vspace="20">

Align picture right IMG SRC="tim.jpg" align="right" hspace="20" vspace="20">

The CSS Method for aligning CSS = Cascading Style Sheet Using the STYLE attribute you can add CSS directly to the element (tag) Use FLOAT and MARGIN to align left or right and to add a gap around the image e.g.

ALT Attribute E.g.

ALT Attribute The ALT attribute is important for users who are unable see the images on the web page. ALT provides “alternative” text to the image E.g. A blind user would use a speech browser which “speaks” the page Large companies that do not provide ALT alternatives may be discriminating against some users Search engines also read ALT text so using them helps your site get found

ALT Attribute

General Questions Why is the element important? Is BODY an element (tag) or attribute? Name 2 file extensions for an image Can HTML be entered in lowercase letters? Does HTML recognise multiple spaces? How do you create an extra space? Which is the preferred method for aligning images (CSS or HTML)?