UNIT II Dynamic HTML and web designing

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

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

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.

Certified HTML Designer VS-1027

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

Certified HTML5 Developer VS-1029

A Brief Introduction to HTML

Oliver Pott HTML XML. new reference. Markt+Technik Verlag

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

HTML: Parsing Library

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

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

CSC 121 Computers and Scientific Thinking

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

Advanced Web Programming C2. Basic Web Technologies

A Balanced Introduction to Computer Science, 3/E

Index. CSS directive, # (octothorpe), intrapage links, 26

ROLE OF WEB BROWSING LAYOUT ENGINE EVALUATION IN DEVELOPMENT

QUICK REFERENCE GUIDE

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

HTML: Parsing Library

Html basics Course Outline

COPYRIGHTED MATERIAL. Contents. Introduction. Chapter 1: Structuring Documents for the Web 1

1.264 Lecture 12. HTML Introduction to FrontPage

WML2.0 TUTORIAL. The XHTML Basic defined by the W3C is a proper subset of XHTML, which is a reformulation of HTML in XML.

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

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

Tutorial 2 - HTML basics

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

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

@namespace url( /* set default namespace to HTML */ /* bidi */

Chapter 4. Introduction to XHTML: Part 1

HTML. Based mostly on

Beginning Web Programming with HTML, XHTML, and CSS. Second Edition. Jon Duckett

Chapter 2:- Introduction to XHTML. Compiled By:- Sanjay Patel Assistant Professor, SVBIT.

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

CSC Web Programming. Introduction to HTML

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

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

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

BASICS OF WEB DESIGN CHAPTER 2 HTML BASICS KEY CONCEPTS

CHAPTER 2 MARKUP LANGUAGES: XHTML 1.0

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

Canvas & Brush Reference. Source: stock.xchng, Maarten Uilenbroek

5-Sep-16 Copyright 2016 by GemTalk Systems LLC 1

Inline Elements Karl Kasischke WCC INP 150 Winter

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

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

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

HTML and CSS COURSE SYLLABUS

Layout Manager - Toolbar Reference Guide

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

Go.Web Style Guide. Oct. 16, Hackensack Ave Hackensack, NJ GoAmerica, Inc. All rights reserved.

<page> 1 Document Summary Document Information <page> 2 Document Structure Text Formatting <page> 3 Links Images <page> 4

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

Programmazione Web a.a. 2017/2018 HTML5

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

CSI 3140 WWW Structures, Techniques and Standards. Markup Languages: XHTML 1.0

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:

Country Communication Pages

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

Internet publishing HTML (XHTML) language. Petr Zámostný room: A-72a phone.:

Web Development and Design Foundations with HTML5 8th Edition

Web Designing HTML5 NOTES

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

Name Related Elements Type Default Depr. DTD Comment

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

HTML Cheat Sheet for Beginners

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

COMP519: Web Programming Lecture 4: HTML (Part 3)

HTML and CSS Lecture 15 COMPSCI111/111G SS 2018

11. HTML5 and Future Web Application

Announcements. Paper due this Wednesday

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

Selected Sections of Applied Informatics

Creating Web Pages Using HTML

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

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

SilkTest 2009 R2. Rules for Object Recognition

I-5 Internet Applications

Skill Area 323: Design and Develop Website. Multimedia and Web Design (MWD)

Symbols INDEX. !important rule, rule, , 146, , rule,

Silk Test Object Recognition with the Classic Agent

HTML Hyper Text Markup Language

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

HTMLnotesS15.notebook. January 25, 2015

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

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

SUB Gfittingen A nd Editi S«BEX- SAN FRANCISCO PARIS DUSSELDORF SOEST LONDON

By Ryan Stevenson. Guidebook #2 HTML

Creating Web Pages. Getting Started

Evaluation of alignment methods for HTML parallel text 1

Final Exam Study Guide

More about HTML. Digging in a little deeper

COMPUTER APPLICATIONS IN BUSINESS FYBMS SEM II

Desire2Learn: HTML Basics

HTML What is HTML Hyper Text Markup Language is a computer based language used to create WebPages.

Transcription:

UNIT II Dynamic HTML and web designing

HTML is a language for describing web pages. HTML stands for Hyper Text Markup Language HTML is not a programming language, it is a markup language A markup language is a set of markup tags HTML uses markup tags to describe web pages

Web page displayed by browser HTML source

HTML document contains markup tags <H1> Example </H1> tags are case insensitive <H1> or <h1> tag attributes may be case sensitive e.g. filenames tags are (usually) paired to denote the start and end of an element <H1> Example </H1>

Structure Tags Function Start Tag Attributes End Tag HTML File <html> None </html> File Header <head> None </head> File Title <title> None </title> Comments <!-- The comments go between the start and end tags. Put a space between the and the comments. Body <body> Background="filename" bgcolor="color value" text="color value" link="color value" vlink="color value" Division <div> Align="right/left/center" style="property:value;" class="classname" --> </body> </div> Span (inline) <span> Style="property:value;" class="classname" </span>

Basic Text Tags Function Start Tag Attributes End Tag Line Break <br> Clear="left/right/all" </br> or <br/> Paragraph <p> Align="center/right" </p> Bold <b> None </b> Italic <i> None </i> Typewriter Text <tt> None </tt> Headline <h1-6> Align="center/right" </h1-6> Font <font> Face="name, name" size="+/-value/fixed size" color="color value" Note: the font tag is being phased out in favor of CSS styles. </font> Horizontal Rule <hr> Size="XX" width="xx/xx%" noshade </hr>or<hr/ > Block Quote <blockquot e> None </blockquote> Division <div> Align="left/center/right" </div>

<html> <head> <title>education</title> <body bgcolor="yellow" text="red" link="green" vlink="blue"> <!-- This is my second page -- > <div align="center"><b>html is interesting</b></div><br> <hr size="3" noshade size="60%"> <!-- hr tag need not be closed -- > <div align="right"><i>html is very easy</i></div> <hr noshade > <p><div align="left"><b><i>i will become expert in HTML</I></b></div> <font face="verdana" size="+2" color="green">html is easy to understand.</font> <blockquote>short and long time goals should be clear.<br> The content of the page should be given importance. </blockquote> </body> </html>

bulleted list <UL> <LI> list element </LI>... </UL> numbered list - <OL> definition list - <DL>, <DT>, <DD>...

<A HREF= url >... </A> hyperlink to any type of resource (not only HTML) other protocols can be used (not only HTTP) resource is identified with URL examples: <A HREF= http://www.carnet.hr >CARNet</A> <A HREF= file.txt >text</a> to deal with (display) resource browser may launch helper application

<A NAME= anchor_name >... </A> set up an anchor (point in text to be linked to) is referenced with file_name#anchor_name example of anchor: <A NAME= link_point >text</a> example of link to anchor: <A HREF= file.html#link_point >text</a>

<IMG attribute= value...> some attributes: SRC= url ALT= text ALIGN= align_value BORDER= n WIDTH= n HEIGHT= n example <IMG SRC= globe.jpg ALT= globe ALIGN= RIGHT >

<TABLE attribute= value...> <TR attribute= value...> <TD attribute= value...> text - data cell of table </TD>... </TR>... </TABLE> table row

<HTML> <HEAD> <TITLE>Frame Page</TITLE> </HEAD> <FRAMESET COLS="50%,50%"> <FRAME SRC="PAGE_A.html"> <FRAME SRC="PAGE_B.html"> </FRAMESET> </HTML> Content of PAGE_A.html Content of PAGE_B.html

fonts <FONT attribute= value...>...</font> special chars <,>,, @, national characters (e.g. Č,Ž, Š...) &#code; OR &token; colors attribute (tags: BODY, FONT,...) RGB, hex notation #rrggbb multimedia (EMBED, BGSOUND,...)

downloadable fonts Style Sheets active Web pages Metadata... BE AWARE of constant development: W3C - http://www.w3.org/ HWG - http://www.hwg.org/ IWA - http://www.iwanet.org/member/resources/

Logical markup EM - Emphasized text STRONG - Strongly emphasized DFN - Definition of a term CODE - Code fragment SAMP - Sample text KBD - Keyboard input VAR - Variable CITE - Short citation Special markup A - Anchor BASEFONT - Default font size IMG - Image APPLET - Java applet o PARAM - Parameters for Java applet FONT - Font modification BR - Line break MAP - Client-side imagemap o AREA - Hotzone in imagemap Physical markup TT - Teletype I - Italics B - Bold U - Underline STRIKE - Strikeout BIG - Larger text SMALL - Smaller text SUB - Subscript SUP - Superscript Forms INPUT - Input field, button, etc. SELECT - Selection list o OPTION - Selection list option TEXTAREA - Input area Tables CAPTION - Table caption TR - Table row TH - Header cell TD - Table cell

List Tags Function Start Tag Attributes End Tag Unordered List <ul> type="disc/circle/square" </ul> Ordered List <ol> type="i/a/1/a/i" start="value to start counting at" </ol> List Item <li> type=all ul and ol options </li> Definiton List <dl> none </dl> Definition List Item Definition List Definition <dt> none </dt> <dd> none </dd>

Headings H1 - Level 1 header H2 - Level 2 header H3 - Level 3 header H4 - Level 4 header H5 - Level 5 header H6 - Level 6 header Text containers P - Paragraph PRE - Preformatted text BLOCKQUOTE Large quotation ADDRESS - Address information Lists UL - Unordered list OL - Ordered list DIR - Directory list MENU - Menu item list LI - List item DL - Definition list o DT - Definition term o DD - Definition Others DIV - Logical division CENTER - Centered division FORM - Input form HR - Horizontal rule TABLE - Tables

Link Tags Function Start Tag Attributes Anchor Link <a> href="filename" target="windowname" End Tag </a> Anchor Mark <a> name="markname" </a>

Image Tags Function Insert Image Start Tag Attributes <img> src="filename" align="left/right" width="xxx" height="xxx" alt="text that describes image" ISMAP USEMAP="#mapname" End Tag </img>

Table Tags Function Start Tag Attributes End Tag Table <table> border="x" width="xx/x%" cellspacing="xx" cellpadding="xx" bgcolor="color value" background="filename" Table Row <tr> align="left/center/right" valign="top/middle/bottom" bgcolor="color value" Table Data <td> align="left/center/right" valign="top/middle/bottom" width=x nowrap colspan="x" rowspan="x" bgcolor="color value" Table Header <th> align="left/center/right" valign="top/middle/bottom" width=x nowrap colspan="x" rowspan="x" bgcolor="color value" Caption <caption> align="left/center/right" valign="top/middle/bottom" </table> </tr> </td> </th> </caption>

<TABLE border=1 bordercolor=red> <CAPTION>Areas of the Nordic countries, in sq km</caption> <TR><TH>Country</TH> <TH>Total area</th> <TH>Land area</th> <TR><TH>Denmark</TH> <TD ALIGN=RIGHT> 43,070 </TD><TD ALIGN=RIGHT> 42,370</TR> <TR><TH>Finland</TH><TD ALIGN=RIGHT>337,030 </TD><TD ALIGN=RIGHT>305,470</TR> <TR><TH>Iceland</TH> <TD ALIGN=RIGHT>103,000 </TD><TD ALIGN=RIGHT>100,250</TR> <TR><TH>Norway</TH> <TD ALIGN=RIGHT>324,220 </TD><TD ALIGN=RIGHT>307,860</TR> <TR><TH>Sweden</TH> <TD ALIGN=RIGHT>449,964 </TD><TD ALIGN=RIGHT>410,928</TR> </TABLE> </body> </html>

Easy to use Loose syntax (although, being too flexible will not comply with standards) Supported on almost every browser, if not all browsers. Widely used; established on almost every website, if not all websites. Very similar to XML syntax, which is increasingly used for data storage Free - You need not buy any software Easy to learn & code even for novice programmers

It cannot produce dynamic output alone, since it is a static language Sometimes, the structuring of HTML documents is hard to grasp You have to keep up with deprecated tags, and make sure not to use them Deprecated tags appear because another language that works with HTML has replaced the original work of the tag; thus the other language needs to be learned (most of the time, it is CSS) Security features offered by HTML are limited