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

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

Web Development & Design Foundations with HTML5 & CSS3 Instructor Materials Chapter 2 Test Bank

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

Web Development & Design Foundations with HTML5 & CSS3 Instructor Materials Chapter 2 Test Bank

A Balanced Introduction to Computer Science, 3/E

Web Development and Design Foundations with HTML5 8th Edition

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

Basics of Web Design, 3 rd Edition Instructor Materials Chapter 2 Test Bank

A Brief Introduction to HTML

Html basics Course Outline

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

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

Certified HTML Designer VS-1027

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

HTML. Based mostly on

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

UNIT II Dynamic HTML and web designing

MMGD0204 Web Application Technologies. Chapter 3 HTML - TEXT FORMATTING

Certified HTML5 Developer VS-1029

Hyper Text Markup Language HTML: A Tutorial

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

I-5 Internet Applications

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:

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

HTML Hyper Text Markup Language

COMPUTER APPLICATIONS IN BUSINESS FYBMS SEM II

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

Desire2Learn: HTML Basics

Advanced Web Programming C2. Basic Web Technologies

CSC Web Programming. Introduction to HTML

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

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

By Ryan Stevenson. Guidebook #2 HTML

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

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

Computer Programming. Dr. Deepak B Phatak Dr. Supratik Chakraborty Department of Computer Science and Engineering IIT Bombay

Learning Objectives. Review html Learn to write a basic webpage in html Understand what the basic building blocks of html are

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

HTML OBJECTIVES WHAT IS HTML? BY FAITH BRENNER AN INTRODUCTION

Chapter 4. Introduction to XHTML: Part 1

1.264 Lecture 12. HTML Introduction to FrontPage

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

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

Creating Web Pages. Getting Started

Using Dreamweaver CS6

Chapter 3 Web Design & HTML. Web Design Class Mrs. Johnson

Programmazione Web a.a. 2017/2018 HTML5

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

What You Will Learn Today

Web Designing HTML5 NOTES

WTAD Text Editors for HTML. Text Editors: Kate HTML. (HyperText Markup Language)

WTAD. Unit -1 Introduction to HTML (HyperText Markup Language)

CSCE 101. Creating Web Pages with HTML5 Applying style with CSS

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

APPENDIX THE TOOLBAR. File Functions

HTML: Parsing Library

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

Chapter 1 Self Test. LATIHAN BAB 1. tjetjeprb{at}gmail{dot}com. webdesign/favorites.html :// / / / that houses that information. structure?

ICT IGCSE Practical Revision Presentation Web Authoring

Solutions. 9. Which is the first version of HTML? a. HTML 1.0 b. HTML 5 c. HTML 2.0 d. HTML 3.0

11. HTML5 and Future Web Application

The [HTML] Element p. 61 The [HEAD] Element p. 62 The [TITLE] Element p. 63 The [BODY] Element p. 66 HTML Elements p. 66 Core Attributes p.

ITL Public School Mid Term examination ( )

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

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

Using Dreamweaver 2 HTML

Tutorial 2 - HTML basics

Chapter 4 A Hypertext Markup Language Primer

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

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

Part 1: HTML Language HyperText Make-up Language

Computer Applications Final Exam Study Guide

introduction to XHTML

Building Web Based Application using HTML

INTRODUCTION TO HTML5! HTML5 Page Structure!

Layout Manager - Toolbar Reference Guide

Text and Layout. Digital Multimedia, 2nd edition Nigel Chapman & Jenny Chapman Chapter 11. This presentation 2004, MacAvon Media Productions

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

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

Management Information Systems

Country Communication Pages

Summary 4/5. (contains info about the html)

Indian Institute of Technology Kharagpur. HTML Part III. Prof. Indranil Sen Gupta Dept. of Computer Science & Engg. I.I.T.

Creating Web Pages Using HTML

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

HTMLnotesS15.notebook. January 25, 2015

Announcements. Paper due this Wednesday

COMPUTER APPLICATIONS 10. HTML - Structural Tags SECTION-B

Final Exam Study Guide

COPYRIGHTED MATERIAL. Contents. Chapter 1: Creating Structured Documents 1

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 and CSS COURSE SYLLABUS

ICT IGCSE Practical Revision Presentation Web Authoring

BASICS OF WEB DESIGN CHAPTER 2 HTML BASICS KEY CONCEPTS

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

HTML Tags Chart. To use any of the following HTML tags, simply select the HTML code you'd like and copy and paste it into your web page.

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

Introduction to Web Technologies

Transcription:

HTML Website is a collection of web pages on a particular topic, or of a organization, individual, etc. It is stored on a computer on Internet called Web Server, WWW stands for World Wide Web, also called the Web, is an information space where documents and other web resources are identified by Uniform Resource Locators (URLs), interlinked by hypertext links, and accessible via the Internet. The World Wide Web was originally designed in 1991 by Tim Berners-Lee at CERN. HTML stands for Hyper Text Markup Language. It is the basic markup language for creating web pages and websites. A HTML web page contains markups or tags that defines how to display information on the browser s window. Tag - A tag in HTML document is a html element surrounded by angular brackets which has a specific meaning and task in HTML. <html>, <body>, <head>, <h1>, <br>, etc. Structure of HTML document: <html> <head> --contains meta data about the web page -- </head> <body> -- Contains information that is to be displayed -- </body> </html> A HTML document has two sections 1) HEAD section and 2) BODY section A HTML file is saved with.html or.htm extension <html> tag : The <html> tag represents the root of an HTML document. It is the starting tag of web page. It is the container for all other HTML elements, which are enclosed in <html> </html> <head> tag: The <head> element is a container for all the head elements. The <head> element can include a title for the document, scripts, styles, meta information, and more. <title>, <style>, <base>, <link>, <meta>, <script>, <noscript> <body> tag: The <body> tag defines the document's body. This is the section which is displayed on the web page. The <body> element contains all the contents of an HTML document, such as text, hyperlinks, images, tables, lists, etc. which are enclosed in <body> </body>.

<title> tag: It defines the title for the web page. It is written in Head section. The title will be displayed on the browser window s title bar. Formatting Tags Physical Style tags <b>... </b> - To display text in bold. <i>... </i> - Displays text in italics <u> </u> - To underline the text. <tt>... </tt> Displays text in mono spaced font style <br> - stands for break rule. It is used to start a new line. It has no closing tag. <strong>... </strong> Displays text bold style. <em>... </em> Defines emphasized text.(browsers displays in italics style). <mark>... </mark> Displays marked or highlighted text <del>... </del> Displays deleted or removed text. <s>... </s> Displays text with strike through. <ins>... </ins> Defines inserted(added) text. <sub>... </sub> Defines subscripted text. <sup>... </sup> Defines superscripted text. <center>.. </center> - To display the text horizontally at the center of the screen <small>... </small> Reduces the font size of text by 1 unit. <big>... </big> Increases the font size of text by 1 unit. <blockquote>... </blockquote> Defines a quoted section. <font>... </font> Changes the font of the text. Attributes of <font> tag: Face specifies the name of the font Size specifies the size of the letters values: 1 to 7 Color specifies the color name or color code <font face= Arial Black size=5 color=blue> Good Morning </font> <p> tag: It is used to indicate a paragraph in a web page. It is a block level html element. It has the following attributes: a) Align - to specify alignment left, center, right b) Style - to specify css style commands. c) Width - to specify horizontal dimension of the paragraph in pixels. <p align=center width=200>....paragraph.. </p> <p style="color:blue;">.. paragraph. </p>

Heading tags (H1 to H6) The Heading tags are used to define HTML headings. There are six levels of headings. <h1> defines the most important heading. <h6> defines the least important heading. Attribute of Heading tag: Align specifies the alignment for the heading values: left, center, right The heading tags and <p> tag are block level HTML elements which means they begin with a new line. <body> tag Attributes of <body> tag: background contains the source URL of image file to be displayed in the background. bgcolor specifies the color name or color code for the background color of the web page. text specifies the color for the text in the web page. link specifies the color for the links in the web page. alink - specifies the color of an active link in the web page. vlink - specifies the color of an visited link in the web page. Example: <body bgcolor=cyan link=green vlink=red> <body background="images/plotters3.jpg"> Comments in HTML In HTML to write comments the following tag is used: <!-- comments are written here --> An HTML comment begins with <!-- and the comment closes with -->. HTML comments are visible to anyone that views the page source code, but are not rendered by a browser. They are not shown on the window. <!-- Author: Mr. XYZ Description : sample page of showing physical tags --> Short Questions : 1) List the advantages and disadvantages of HTML 2) Explain basic tags used in HTML in brief. 3) List any 4 physical style tags and state uses of each. 4) Explain the <body> tag and its attributes. 5) Give the use of following tags : (any tags from notes will come) 6) Explain <font> tag. 7) Explain <p> tag. 8) Write HTML code for the following : (code given in class) Create a web page having two headings and a paragraph with different font and colors.

Q.9 List the different types of Lists that can be created in HTML. Ans. In HTML we can create 3 types of list a) Unordered List - <UL> and <LI> b) Ordered List - <OL> and <LI> c) Definition List - <DL>, <DT> and <DD> Q.10) Explain the tags and attributes of Ordered list and Unordered list Ans. <UL> tag is used to create list displayed as a series of bullet points. <LI> tag is used for each element in the list. Attributes: Type - Specifies the bullet type Square, Disc, Circle <OL> tag is used to create a list displayed with number format. Attributes : Type - specifies the numbering scheme to use. Type=1, Type=a, Type=i Start - specifies the initial value or the starting value of list items. Q.11) Explain Definition Lists. Ans. Definition list are used to display definitions of terms. It is created by using <DL>, <DT> and <DD> tags. Q12) Explain Tables in HTML. Ans. A table is made up of rows and columns. Intersection of row and column makes a cell. Tables are created using the following tags in HTML:- <table> - specifies the beginning of table <caption> - used to specify description of the table. <TR> - To create a row <TD> - To create table column data cell <TH> - To create Table column header cells Q13) List the different attributes of <table> tag and give use of them. Ans. On Page No. 183 Q14) List the attributes that can be used with <TR>, <TH> and <TD> tags. Ans. On Page No. 184

Q15) What are Hyperlinks? How to create hyperlinks? Ans. Hyperlinks also called anchors marks text or images as elements that points to other HTML documents, images, videos, special places within web page. Hyperlinks are created using anchor tag. <a> <a href=http://www.nasa.gov> NASA </a> Attributes of <a> tag: href - specifies the URL of the resource to be pointed target - specifies the target window to display the resource. It has values like _blank, _top, _parent, _self, etc. Title - specifies a tool tip text that is displayed at the bottom Q16) Explain <img> tag and its attributes. Page No. 182 Q.17) Explain <marquee> tag and its attributes. Ans. The <marquee> tag is used to display scrolling text or images on the web page. The attributes used with <marquee> tag are as follows: Direction - specifies the direction of scrolling. Values Left, right, up, down. Behavior - indicates the type of scrolling. Values Scroll, alternate, slide Scrollamount - indicates how far the text shift forward. Value in pixels. Scrolldelay indicates how often the marquee text redraws. Value in milli seconds. Height - specifies the height in pixels for UP and down scroll. PAPER PATTERN (Portion Lesson No. 4 and HTML) 1. Fill ups - 3marks 2. True or False - 3marks 3. MCQ1-4 marks 4. MCQ2-4 marks 5. MCQ3-3 marks 6. Answer the following 4 marks 7. Write HTML code to create following web page - 4 marks