MMGD0204 Web Application Technologies. Chapter 3 HTML - TEXT FORMATTING

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

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

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

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

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

A Balanced Introduction to Computer Science, 3/E

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

Desire2Learn: HTML Basics

Web Development and Design Foundations with HTML5 8th Edition

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

Management Information Systems

Part 1: HTML Language HyperText Make-up Language

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

Chapter 4. Introduction to XHTML: Part 1

Web Design and Application Development

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

HTML5. Juha Söderqvist

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

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

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

APPENDIX THE TOOLBAR. File Functions

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

Html basics Course Outline

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

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

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

Hyper Text Markup Language HTML: A Tutorial

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

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

Bok, Jong Soon

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

BASICS OF WEB DESIGN CHAPTER 2 HTML BASICS KEY CONCEPTS

Introduction to HTML

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

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

Announcements. Paper due this Wednesday

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

introduction to XHTML

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

COMPUTER APPLICATIONS IN BUSINESS FYBMS SEM II

Tutorial 2 - HTML basics

EDITOR GUIDE. Button Functions:...2 Inserting Text...4 Inserting Pictures...4 Inserting Tables...8 Inserting Styles...9

INTRODUCTION TO WEB USING HTML What is HTML?

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

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

c122jan2714.notebook January 27, 2014

Client Side Concepts Quiz Solution

Chapter 2 Creating and Editing a Web Page

Module 2 (VI): CSS [Part 3]

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

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

o Line Breaks </body> </html> This is heading 1 This is some text. This is heading 2 This is some other text. This is heading 2

A Brief Introduction to HTML

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

3.1 Introduction. 3.2 Levels of Style Sheets. - HTML is primarily concerned with content, rather than style. - There are three levels of style sheets

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

Web Designing HTML5 NOTES

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

HTML Code: Headings HTML Headings Headings are defined with the <h1> to <h6> tags. <h1> defines the most important heading. <h6> defines the least

INTRODUCTION TO HTML5! HTML5 Page Structure!

Using Dreamweaver CS6

Basic HTML Lecture 14

RECOMMENDED HTML TAGS

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

c122sep814.notebook September 08, 2014 All assignments should be sent to Backup please send a cc to this address

On a blog, code can mean many things. It can refer to the complicated

- HTML is primarily concerned with content, rather than style. - However, tags have presentation properties, for which browsers have default values

Using Dreamweaver 2 HTML

What is an HTML File? HTML Tags

How the Internet Works

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

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:

ITL Public School Mid Term examination ( )

First Name Last Name CS-081 March 23, 2010 Midterm Exam

UNIT II Dynamic HTML and web designing

HTML Hyper Text Markup Language

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

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

University of Bahrain College of Applied Studies

1 of 7 11/12/2009 9:29 AM

WEBSITE STYLE GUIDE JULY 31, 2015 VERSION 1.0 PREPARED BY

Title: Sep 12 10:58 AM (1 of 38)

Unit 2 - HTML Formatting

CMPT 165: More CSS Basics

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

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

11. HTML5 and Future Web Application

CSC Web Programming. Introduction to HTML

I-5 Internet Applications

HTML. Based mostly on

Web Programming Week 2 Semester Byron Fisher 2018

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

Introduction. The purpose of this document is to provide information for using basic HTML to create web pages by introducing the following concepts:

Creating Web Pages Using HTML

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

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

Very Basics of HTML. G day mates during this tutorial I will teach you the basics of HTML.

ITNP43: HTML Lecture 3

Transcription:

MMGD0204 Web Application Technologies Chapter 3 HTML - TEXT FORMATTING

Headings The <h1> to <h6> tags are used to define HTML headings. <h1> defines the largest heading and <h6> defines the smallest heading.

Headings - Attribute Attribute Value Description Align Left, center, right, justify Specifies the alignment of a heading

Headings Example 1 <h1>the Internet</h1> <h2>introduction</h2>

Headings Example 2 <h1 align= center >The Internet</h1> <h2>introduction</h2>

Paragraph Tag The <p> tag defines a paragraph. The p element automatically creates some space before and after itself.

Paragraph Tag - Attribute Attribute Value Description Align Left, center, right, justify Specifies the alignment of the text within a paragraph

Paragraph Tag - Example <p> The Internet is a global network connecting millions of computers. More than 100 countries are linked into exchanges of data, news and opinions. </p>

Paragraph Tag - Example <p align= center > The Internet is a global network connecting millions of computers. More than 100 countries are linked into exchanges of data, news and opinions. </p>

Paragraph Tag - Example <p align= justify > The Internet is a global network connecting millions of computers. More than 100 countries are linked into exchanges of data, news and opinions. </p>

Style Tag Tag <b> <i> <u> <sup> <sub> <big> <small> Description Bold Italic Underline Superscript Subscript Big Small

Style Tag - Example Bold Welcome to <b>ftms College</b>

Style Tag - Example Italic Welcome to <i>ftms College</i>

Style Tag - Example Underline Welcome to <u>ftms College</u>

Font-Style Tag - Example Superscript 1<sup>st</sup> January, 2011

Font-Style Tag - Example Subscript H<sub>2</sub>O

Lists HTML supports ordered, unordered and definition lists.

Unordered Lists An unordered list is a list of items. The list items are marked with bullets (typically small black circles). An unordered list starts with the <ul> tag and ends with </ul> tag. Each list item starts with the <li> tag and ends with </li> tag. Inside a list item you can put paragraphs, line breaks, images, links, other lists, etc.

Unordered Lists - Attribute Attribute type Value Circle, square, disc

Unordered Lists Example 1 Drinks: <ul> <li>coffee</li> <li>milk</li> </ul>

Unordered Lists Example 2 Drinks: <ul type= square > <li>coffee</li> <li>milk</li> </ul>

Unordered Lists Example 2 Drinks: <ul type= circle > <li>coffee</li> <li>milk</li> </ul>

Ordered Lists An ordered list is also a list of items. The list items are marked with numbers. An ordered list starts with the <ol> tag and ends wih </ol> tag. Each list item starts with the <li> tag and ends with </li> tag. Inside a list item you can put paragraphs, line breaks, images, links, other lists, etc.

Ordered Lists - Attribute Attribute type start A,a,I,i Value Number eg: 1,5,10 etc

Ordered Lists Example 1 Drinks: <ol> <li>coffee</li> <li>milk</li> </ol>

Ordered Lists Example 2 Drinks: <ol type= A > <li>coffee</li> <li>milk</li> </ol>

Ordered Lists Example 3 Drinks: <ol type= a > <li>coffee</li> <li>milk</li> </ol>

Ordered Lists Example 4 Drinks: <ol type= I > <li>coffee</li> <li>milk</li> </ol>

Ordered Lists Example 5 Drinks: <ol type= i > <li>coffee</li> <li>milk</li> </ol>

Ordered Lists Example 5 Drinks: <ol start= 4 > <li>coffee</li> <li>milk</li> </ol>

Nested Lists - Example Drinks: <ol> <li>coffee</li> <li>tea</li> <ul> <li>black tea</li> <li>green tea</li> </ul> <li>milk</li> </ol>

Definition Lists A definition list is not a list of single items. It is a list of items (terms), with a description of each item (term). A definition list starts with a <dl> tag (definition list). Each term starts with a <dt> tag (definition term). Each description starts with a <dd> tag (definition description). Inside the <dd> tag you can put paragraphs, line breaks, images, links, other lists, etc.

Definition Lists - Example <dl> <dt>computer</dt> <dd> An electronic device for storing and processing data, typically in binary form, according to instructions given to it in a variable program </dd> </dl>

Line Break The <br /> tag inserts a single line break. The <br /> tag is an empty tag which means that it has no end tag.

Line Break Example This text contains<br />a line break.

Horizontal Rule The <hr /> tag creates a horizontal line in an HTML page. The hr element can be used to separate content in an HTML page. The <hr /> tag is an empty tag which means that it has no end tag.

Horizontal Rule Attribute align size width Value left, center, right pixels pixels

Horizontal Rule Example 1 <p>this is some text.</p> <hr /> <p>this is some text.</p>

Horizontal Rule Example 2 <p>this is some text.</p> <hr width= 300 align= center /> <p>this is some text.</p>

Comment The comment tag is used to insert a comment in the source code. Comments will be ignored by the browser. You can use comments to explain your code, which can help you when you edit the source code at a later date.

Comment Example <!--This is a comment. Comments are not displayed in the browser--> <p>this is a paragraph.</p>