Introduction to HTML. SSE 3200 Web-based Services. Michigan Technological University Nilufer Onder

Similar documents
Creating Web Pages. Getting Started

recall: a Web page is a text document that contains additional formatting information in the HyperText Markup Language (HTML)

CSC 121 Computers and Scientific Thinking

Html basics Course Outline

A Balanced Introduction to Computer Science, 3/E

A HTML document has two sections 1) HEAD section and 2) BODY section A HTML file is saved with.html or.htm extension

HTML Tags <A></A> <A HREF=" CNN </A> HREF

introduction to XHTML

The internet is a worldwide collection of networks that link millions of computers. These links allow the computers to share and send data.

CSE 3. Marking Up with HTML. Comics Updates Shortcut(s)/Tip(s) of the Day Google Earth/Google Maps ssh Anti-Spyware

5/17/2009. Marking Up with HTML. An HTML Web Page File. Tags for Bold, Italic, and underline. Structuring Documents

Chapter 4: Marking Up With HTML: A Hypertext tmarkup Language Primer

HTML. LBSC 690: Jordan Boyd-Graber. October 1, LBSC 690: Jordan Boyd-Graber () HTML October 1, / 29

HTML and CSS Lecture 15 COMPSCI111/111G SS 2018

Brief Intro to HTML. CITS3403 Agile Web Development. 2018, Semester 1

Unit 5 Web Publishing Systems Page 1 of 13 Part 4 HTML Part 4

A Brief Introduction to HTML

What You Will Learn Today

CSC Web Programming. Introduction to HTML

11. HTML5 and Future Web Application

</HTML> </HEAD> </BODY> </TITLE> </I> </B> </U> </BLINK> </EM> </FONT> </FONT> </CENTER> </H1> </H2> </H3> </P> </BR> --!>

Marking Up with HTML. Tags for Bold, Italic, and underline. An HTML Web Page File. Chapter 4: Marking Up With HTML: A. Formatting with Tags:

Final Exam Study Guide

This booklet is knowledge of. a web page. of a web page find what you. you want to. SiteSell offers. Introduction

1/6/ :28 AM Approved New Course (First Version) CS 50A Course Outline as of Fall 2014

CS 103, Fall 2008 Midterm 1 Prof. Nakayama

Web Programming Week 2 Semester Byron Fisher 2018

Chapter 1 Getting Started with HTML 5 1. Chapter 2 Introduction to New Elements in HTML 5 21

COMPSCI 111 / 111G An introduction to practical computing

Comp-206 : Introduction to Software Systems Lecture 22. Alexandre Denault Computer Science McGill University Fall 2006

Chapter 4 A Hypertext Markup Language Primer

Downloads: Google Chrome Browser (Free) - Adobe Brackets (Free) -

HTML Images - The <img> Tag and the Src Attribute

HTMLnotesS15.notebook. January 25, 2015

Hyper Text Markup Language HTML: A Tutorial

Creating A Web Page. Computer Concepts I and II. Sue Norris

Chapter 4. Introduction to XHTML: Part 1

HTML BEGINNING TAGS. HTML Structure <html> <head> <title> </title> </head> <body> Web page content </body> </html>

CS 1124 Media computation. Lab 9.3 October 24, 2008 Steve Harrison

LING 408/508: Computational Techniques for Linguists. Lecture 14

Markup Language SGML: Standard Generalized Markup Language. HyperText Markup Language (HTML) extensible Markup Language (XML) TeX LaTeX

Management Information Systems

Make a Website. A complex guide to building a website through continuing the fundamentals of HTML & CSS. Created by Michael Parekh 1

HTML Summary. All of the following are containers. Structure. Italics Bold. Line Break. Horizontal Rule. Non-break (hard) space.

MPT Web Design. Week 1: Introduction to HTML and Web Design

Basic HTML Lecture 14

(Refer Slide Time: 01:41) (Refer Slide Time: 01:42)

HTML TAG SUMMARY HTML REFERENCE 18 TAG/ATTRIBUTE DESCRIPTION PAGE REFERENCES TAG/ATTRIBUTE DESCRIPTION PAGE REFERENCES MOST TAGS

More HTML. Images and links. Tables and lists. <h1>running in the family</h1> <h2>tonight 9pm BBC One</h2>

HTML OBJECTIVES WHAT IS HTML? BY FAITH BRENNER AN INTRODUCTION

Certified HTML5 Developer VS-1029

HTML. Hypertext Markup Language. Code used to create web pages

UFCEKG Lecture 2. Mashups N. H. N. D. de Silva (Slides adapted from Prakash Chatterjee, UWE)

Web Development and HTML. Shan-Hung Wu CS, NTHU

Basic HTML. Lecture 14. Robb T. Koether. Hampden-Sydney College. Wed, Feb 20, 2013

Basic HTML. Lecture 14. Robb T. Koether. Hampden-Sydney College. Wed, Feb 20, 2013

HTTP & Websites. Web Browsers. Web Servers vs. Web sites. World Wide Web. Internet Explorer. Surfing the World Wide Web. Part 4. The World Wide Web

As we design and build out our HTML pages, there are some basics that we may follow for each page, site, and application.

All Creative Designs. Basic HTML for PC Tutorial Part 1 Using MS Notepad (Version May 2013) My First Web Page

Adobe Dreamweaver CS5/6: Learning the Tools

HYPERTEXT MARKUP LANGUAGE ( HTML )

Student, Perfect Midterm Exam March 24, 2006 Exam ID: 3193 CS-081/Vickery Page 1 of 5

Islamic University of Gaza Faculty of Engineering Department of Computer Engineering ECOM Advanced Internet Technology Lab.

Desire2Learn: HTML Basics

Web Programming and Design. MPT Senior Cycle Tutor: Tamara Week 1

Programmazione Web a.a. 2017/2018 HTML5

It is possible to create webpages without knowing anything about the HTML source behind the page.

Introduction to HTML. Bin Li Assistant Professor Dept. of Electrical, Computer and Biomedical Engineering University of Rhode Island

Introduction to HTML

ICT IGCSE Practical Revision Presentation Web Authoring

Introduction to Computers and Their Applications

Introduction to Computer Science (I1100) Internet. Chapter 7

CISC 1400 Discrete Structures

By Ryan Stevenson. Guidebook #2 HTML

Lesson: 6 Database and DBMS an Introduction. Lesson: 7 HTML Advance and features. Types of Questions

HTML and CSS. Lecture 14 COMPSCI111/111G S1 2018

Title: Jan 29 11:03 AM (1 of 23) Note that I have now added color and some alignment to the middle and to the right on this example.

COMPUTER APPLICATIONS IN BUSINESS FYBMS SEM II

Introduction to Computer Science (I1100) Internet. Chapter 7

Web Design 101. What is HTML? HTML Tags. Web Browsers. <!DOCTYPE html> <html> <body> <h1>my First Heading</h1> <p>my first paragraph.

HTML TUTORIAL ONE. Understanding What XHTML is Not

Certified HTML Designer VS-1027

1. The basic building block of an HTML document is called a(n) a. tag. b. element. c. attribute. d. container. Answer: b Page 5

Study Guide 2 - HTML and CSS - Chap. 6,8,10,11,12 Name - Alexia Bernardo

Creating Web Pages Using HTML

UNIT II Dynamic HTML and web designing

Understanding this structure is pretty straightforward, but nonetheless crucial to working with HTML, CSS, and JavaScript.

HTML and CSS COURSE SYLLABUS

HTML HTML. Chris Seddon CRS Enterprises Ltd 1

Introduction to Web Page Designing Using HTML

COMS W3101: SCRIPTING LANGUAGES: JAVASCRIPT (FALL 2017)

Working with HTML. must appear at the very beginning of your webpage. starts the first section of your page

I-5 Internet Applications

Shatin Tsung Tsin Secondary School S.3 Computer and Technology Web Page Design by HTML Introduction to HTML

Chapter 2. Self-test exercises

Computer Applications Final Exam Study Guide

Chapter 2 Creating and Editing a Web Page

More about HTML. Digging in a little deeper

HTML & XHTML Tag Quick Reference

COMS W3101: SCRIPTING LANGUAGES: JAVASCRIPT (FALL 2018)

Transcription:

Introduction to HTML SSE 3200 Web-based Services Michigan Technological University Nilufer Onder

What is HTML? Acronym for: HyperText Markup Language HyperText refers to text that can initiate jumps to other text Markup refers to the fact different parts of the text are identified by tags Most of these tags tell how the text is formatted

A simple example <!DOCTYPE html> <HTML> <HEAD> <TITLE>Example 1</TITLE> </HEAD> This is the first example. </HTML>

A simple example <!DOCTYPE html> <HTML> <HEAD> <TITLE>Example 1</TITLE> </HEAD> This is the first example. </HTML> Two parts are shown: HEAD and TITLE. We'll write HTML tags in capital letters so that they stand out. Notice that each tag is paired with another tag that has the same name but starts with /. Most tags are paired but there are exceptions such as <BR>.

Tags This is the first example. We are starting with the basics. Most tags come in pairs. The tag start specifies where the tagged region starts (e.g., above). Tag start contains the name of the element, and sometimes the attributes of the element. The tagged region ends at tag end. The tag end contains / followed by the element name. (e.g., above). A web browser is a program that reads these tags and formats the page accordingly.

Advancing lines This is the first example. We are starting with the basics. This is the first example. We are starting with the basics. HTML semantics is set up to ignore spaces. The above two examples would produce the same look.

The <BR> tag This is the first example. <BR> We are starting with the basics. BR stands for line BReak. It simply causes the text to advance to the next line. Several <BR> tags can be repeated to advance many lines.

Specifying headers <H1>This is the first example.</h1> <BR> We are starting with the basics. Headers are a simple way to change the text font. HTML provides 6 header tags ranging from <H1> to <H6>. <H1> is the highest level with the largest font.

Other styles <I>This is line will appear in italics.</i> <BR> <B>This line will appear in bold.</b> <BR> <CODE>This line will appear in typewriter font.</code> <BR>Can define subscripts and superscripts: x<sub>i</sub> = y<sup>2</sup>

Inserting pictures Here is a picture of my experimental setup: <BR> <IMG SRC = exp01.jpg > Images are inserted using an IMG tag. IMG tags do not have corresponding end tags. The SRC attribute contains the location of the image resource. In the above example, exp01.jpg is the name of the file that contains a picture.

Image formats The image has to be in a format that a web browser can display. JPG, GIF, and PNG are widely used formats. JPG; Joint Photographers Expert Group GIF: Graphics interchange format PNG: Portable Network Graphics

Can use the OBJECT tag Here is a picture of my experimental setup: <BR> <OBJECT DATA = exp01.jpg TYPE = IMAGE/JPG > Images can also be inserted using the OBJECT tag. OBJECT refers to any type of multimedia data. Note that when a picture is inserted into the HTML document, it is called an inline picture.

Background images <BODY BACKGROUND= bluestars.jpg > Here is a picture of my experimental setup: <BR> <OBJECT DATA = exp01.jpg TYPE = IMAGE/JPG > Images can serve as the background of a web page. This is achieved by adding a background attribute to the BODY tag. In the above example, the picture bluestarts.jpg will be repeated in lines from left to right and top to bottom.

Background colors <BODY BGCOLOR= green > Here is a picture of my experimental setup: <BR> <OBJECT DATA = exp01.jpg TYPE = IMAGE/JPG > The background attribute can have a color code or a color name. There are predefined color names available. Custom colors can be created using RGB codes.

RGB codes RGB stands for Red Green Blue. An RGB code has three hexadecimal numbers each defining the intensity of the corresponding beam. FFFFFF produces white and 000000 produces black. 33CCCC produces a turquoise. 33FF66 produces a bright, light green. Search for rgb codes to look at color names and codes.

No links yet? Click on <A HREF= http://www.cs.mtu.edu >CS department</a> to see the web page for the Computer Science Department at Michigan Tech. Links are specified using ANCHOR tags. The HREF within the tag beginning shows a URI that the web browser will jump to when the user clicks on the link. This destination could be anything that can be displayed by a web browser. URI stands for Uniform Resource Identifier. It is a unique name used to access a resource.

Lists <UL> <LI> first item <LI> second item <LI> third item </UL> UL refers to an unordered list. Each LI designates a line item. UL creates a bulleted list, OL (ordered list) creates a numbered list. How would a list of links be created?

<TABLE BORDER = 1 > <TR> <TD> <B>Class</B> </TD> <TD> <B>Grade</B> </TD> <TD> <B>Audit</B> </TD> </TR> <TR> <TD> CS 1234 </TD> <TD> 28 </TD> <TD> 0 </TD> </TR> <TR> <TD> CS 5678 </TD> <TD> 15 </TD> <TD> 2 </TD> </TR> </TABLE> Tables

<TABLE BORDER = 1 > <TR> <TD> <B>Class</B> </TD> <TD> <B>Grade</B> </TD> <TD> <B>Audit</B> </TD> </TR>... Tables Each TR defines a row. Each TD defines a cell.

Summary HTML is a tag based formatting language It is a standard and as is being maintained as such Scripts such as Javascript need to be embedded to be able to processing from a web page

References Wikipedia's entry on HTML: http://en.wikipedia.org/wiki/html Online html tutorial at: http://www.w3schools.com/html/default.asp HTML manuals at: http://www.w3.org/tr/html4/