Introduction to Computers and Their Applications

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

Creating Web Pages. Getting Started

CSC 121 Computers and Scientific Thinking

A Balanced Introduction to Computer Science, 3/E

What You Will Learn Today

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

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

Html basics Course Outline

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

Basic HTML Lecture 14

Management Information Systems

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

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

Web Page Creation Part I. CS27101 Introduction to Web Interface Design Prof. Angela Guercio

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

CSC Web Programming. Introduction to HTML

This document provides a concise, introductory lesson in HTML formatting.

A Brief Introduction to HTML

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

HTML OBJECTIVES WHAT IS HTML? BY FAITH BRENNER AN INTRODUCTION

Web Design and HTML. Web Page vs Web Site. Navigation. Links. A web page is a single page viewable using web browser. A web site is a set of web pages

Introduction to HTML

c122jan2714.notebook January 27, 2014

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

Web Programming Week 2 Semester Byron Fisher 2018

I-5 Internet Applications

HTML and CSS Lecture 15 COMPSCI111/111G SS 2018

CISC 1400 Discrete Structures

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

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

Desire2Learn: HTML Basics

11. HTML5 and Future Web Application

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

By Ryan Stevenson. Guidebook #2 HTML

Introduction to Web Technologies

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

Basic HTML Handout & Exercise Web Technology

Web Development & Design Foundations with XHTML. Chapter 2 Key Concepts

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

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

Introduction to Computer Science (I1100) Internet. Chapter 7

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

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

7300 Warden Avenue, Suite 503 Markham, Ontario Canada L3R 9Z6. Phone: Toll Free: Fax:

11 Web Technology 12 Web Technology <A HREF> tag specifies the information necessary to display the links that allow you to jump to related Web pages

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

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

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

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

Course Overview. Week 1

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

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

Web Publishing Basics I

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

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

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

HTML Hints & Tips. HTML is short for HyperText Markup Language.

Announcements. Paper due this Wednesday

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

Chapter 4 A Hypertext Markup Language Primer

Create web pages in HTML with a text editor, following the rules of XHTML syntax and using appropriate HTML tags Create a web page that includes

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

Geocaching HTML & BBCode FUNdamentals by Scott Aleckson (SSO JOAT)

Hyper Text Markup Language HTML: A Tutorial

University of Hawaii at Hilo WEB AND HTML THE INTERNET MAP ( COURTESY OF WIKIMEDIA COMMONS)

HTML. Based mostly on

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

Certified HTML5 Developer VS-1029

Chapter 4 - Introduction to XHTML: Part 1

COMPUTER APPLICATIONS IN BUSINESS FYBMS SEM II

WEB APPLICATION. XI, Code- 803

HTMLnotesS15.notebook. January 25, 2015

How the Internet Works

HTML HTML/XHTML HTML / XHTML HTML HTML: XHTML: (extensible HTML) Loose syntax Few syntactic rules: not enforced by HTML processors.

COMPSCI 111 / 111G An introduction to practical computing

CHAPTER 1: GETTING STARTED WITH HTML CREATED BY L. ASMA RIKLI (ADAPTED FROM HTML, CSS, AND DYNAMIC HTML BY CAREY)

Bridges To Computing

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

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

Your Own Web Page; Quick and Dirty Via Mashup Reminder: Next Quiz on 4/15

Hypertext Markup Language, or HTML, is a markup

Chapter 4. Introduction to XHTML: Part 1

COMS W3101: SCRIPTING LANGUAGES: JAVASCRIPT (FALL 2017)

Web Publishing with HTML

Tutorial 2 - HTML basics

introduction to XHTML

HYPERTEXT MARKUP LANGUAGE ( HTML )

1.264 Lecture 12. HTML Introduction to FrontPage

HTML. Mohammed Alhessi M.Sc. Geomatics Engineering. Internet GIS Technologies كلية اآلداب - قسم الجغرافيا نظم المعلومات الجغرافية

Page 1 of 11 Wordpress Sites How-to Guide. Introduction to Blogging -

CSC Web Technologies, Spring HTML Review

Creating Web Pages Using HTML

PART COPYRIGHTED MATERIAL. Getting Started LEARN TO: Understand HTML, its uses, and related tools. Create HTML documents. Link HTML documents

Chapter 2. Self-test exercises

HTML = hyper text markup language

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

Introduction to Computer Science (I1100) Internet. Chapter 7

COMS W3101: SCRIPTING LANGUAGES: JAVASCRIPT (FALL 2018)

Networking and Internet

Transcription:

Introduction to Computers and Their Applications Lecture 10 Web Technology and Creating a Web Page The Web, the Net, and Hypertext The Web is an interlinked collection of information A hypertext is a group of interlinked files Hypertext link An HTML document is one way to store data for a Web page HTML tags 1

The Web, the Net, and Hypertext Web browsers and Web servers exchange HTTP messages. HTML and XHTML HTML is a markup language containing special instructions World Wide Web Consortium (W3C) developed and revises HTML specifications XHTML is the follow-up version to HTML 4 HTML tags are enclosed in angle brackets Self-closing tags Formatting tags, link tags, media tags, and operational tags 2

HTML and XHTML HTML and XHTML Most browsers include a menu option for viewing an HTML source document and the HTML tags it contains. This example illustrates how to view source HTML while using Internet Explorer. 3

Web Browsers Help you access Web pages Upgrade to new browser versions as they become available Popular browsers include: Netscape Navigator Internet Explorer Opera Firefox Helper Applications, Plug-ins, and Players Helper applications extend the browser s ability to work with file formats A plug-in is a type of helper application A player is any helper application or plug-in that helps a browser display a particular file format 4

Helper Applications, Plug-ins, and Players HTTP HTTP messages flow between a browser and a Web server. 5

Web Servers Includes HTTP software to fulfill HTTP requests Server farms can handle thousands of requests each second Excessive demand can crash a Web server Cookies Small chunk of data generated by a Web server and stored on your computer s hard disk Fix problems caused by HTTP s stateless protocol Relatively safe Your computer does not have to accept cookies 6

Getting Started With HTML To get started creating a web page with hypertext mark-up language, you need: A text editor A web browser After you write the text with the appropriate tags, save the file with the extension.html or.htm Then open it using your web browser A Simple Web Page <html> <title>title goes here</title> <body>body goes here</body> </html> Begins an HTML document Marks the beginning of the title Beginning of the body Marks the end of the title End of the body Ends an HTML document 7

Headings There are six different sizes of headings: <h1>heading size 1</h1> <h2>heading size 2</h2> <h3>heading size 3</h3> <h4>heading size 4</h4> <h5>heading size 5</h5> <h6>heading size 6</h6> How headings might look in your browser Heading size 1 Heading size 2 Heading size 3 Heading size 4 Heading size 5 Heading size 6 8

Paragraphs The opening tag for a paragraph is <p>, and the closing tag is </p>. The closing tag for a paragraph is not always needed, but I recommend using it anyway. <p>i thought that it was a good idea to include a few examples so you could see what it might look like.</p> Formatting Text There are several different types of tags that format text: <b>bold Face</b> <i>italics</i> <big>bigger type</big> <small>smaller type</small> Text <sup>superscript</sup> Text<sub>subscript</sub> 9

A View of Formatted Text Bold Face Italics Bigger type Smaller type Text superscript Text subscript Line Breaks The web browser will not show the spacing as it appears in your HTML file. If you wish to have extra line breaks, you have to include the <br> tag. The HTML: <p>this new paragraph should be broken into<br> 2 lines</p> Appears as: This new paragraph should be broken into 2 lines 10

Align Attribute Many tags support ALIGN attributes. The ALIGN attribute is placed in the opening tag before the >. Examples: <h4 align= left >Left align</h4> <h4 align= center >Centered</h4> <h4 align= right >Right align</h4> Left align Centered Right align Unordered and Ordered Lists It is easy to set up unordered lists with bulleted points: <ul> <li>bullet point one</li> <li>bullet point two</li> </ul> We can also set up ordered list with numbered items: <ol> <li>first numbered point</li> <li>second numbered point</li> </ol> 11

A View of Unordered and Ordered Lists Bullet point one Bullet point two 1. First numbered point 2. Second numbered point Tables It is often useful to be able to have information appear in a table format. A table has to begin and end with the tags <table> and </table>. Each row begins and ends with <tr> and </tr>. Each item in a row begins and ends with <td> and </td>. 12

An Example of a Table <table border="1"> <tr> <td>row 1, cell 1</td> <td>row 1, cell 2</td> </tr> <tr> <td>row 2, cell 1</td> <td>row 2, cell 2</td> </tr> </table> The Table Displayed row 1, cell 1 row 1, cell 2 row 2, cell 1 row 2, cell 2 13

Including An Image Images can be included if they are saved in a file format that is recognized by the browser. The most common formats are JPEG, GIF and PNG Examples: <img src = "myphoto.jpg"> <img src = "scooby.gif"> The align attribute can be used with the img tag. Adding Links With a web site, there will typically be several different web pages that are saved as separate file that can be linked together: <p>this is a link to <a href="myotherpage.html">my Other Page</a> Linking to pages elsewhere on the World Wide Web is a little more involved: <p>this is a link to <a href= http://www.myothersite.com">my Other Page</a> 14