Wednesday, June 5, 2013

AL ICT Paper 2013 - Ansering the HTML Question

In order to answer HTML Question You need to know following HTML Tags by Heart.

Basic HTML Document 

<title>Title of your </title>
Your Content Is here!

Basic Headline Tags

<h1>Largest Heading</h1>  H1
<h2> . . . </h2>
<h3> . . . </h3>
<h4> . . . </h4>
<h5> . . . </h5>
<h6>Smallest Heading</h6> h6

<br> (line break)
<hr> (horizontal rule)
<!-- This is a comment -->


<b>Bold text</b>
<code> code</code>
<em>Emphasized text</em>
<i>Italic text</i>
<kbd>Keyboard input</kbd>
<pre>Preformatted text</pre>
<small>Smaller text</small>
<strong>Important text</strong>

<abbr> (abbreviation)
<address> (contact information)
<bdo> (text direction)
<blockquote> (a section quoted from another source)
<cite> (title of a work)
<del> (deleted text)
<ins> (inserted text)
<sub> (subscripted text)
<sup> (superscripted text)


Basic link: <a href="">Link-text goes here</a>
Image-link: <a href=""><img src="URL" alt="Alternate Text"></a>
Mailto link: <a href="">Send e-mail</a>
<a id="tips">Tips Section</a>
<a href="#tips">Jump to the Tips Section</a>

Inserting Images

<img src="URL" alt="Alternate Text" height="100" width="150">


<style type="text/css">
  h1 {color:green;}
  p {color:yellow;}
  h4 {color:#FF0000;}

#FF0000 - Red
#00FF00 - Green
#0000FF - Blue

<div>A block-level section in a document</div>
<span>An inline section in a document usually put inside a div</span>

Unordered list


Ordered list

  <li>First item</li>
  <li>Second item</li>

Definition list

  <dt>Item 1</dt>
    <dd>Describe item 1</dd>
  <dt>Item 2</dt>
    <dd>Describe item 2</dd>

List In a List

         <ul>       <li>Pumpkin</li>

List in a list is very popular among paper designers. Prepare for 3 Levels, usually they ask 2 levels


<table border="1">
    <th>table header</th>
    <th>table header</th>
    <td>table data</td>
    <td>table data</td>


<iframe src="demo_iframe.htm"></iframe>


<form action="demo_form.asp" method="post/get">
<input type="text" name="email" size="40" maxlength="50">
<input type="password">
<input type="checkbox" checked="checked">
<input type="radio" checked="checked">
<input type="submit" value="Send">
<input type="reset">
<input type="hidden">
<option selected="selected">Bananas</option>
<textarea name="comment" rows="60" cols="20"></textarea>


Understand the difference between radio and option buttons and check boxes.
Which are input elements?
What happens when you tick a check box?
What happens when you tick radio buttons?


&lt; is the same as <
&gt; is the same as >
&#169; is the same as ©
&nbsp; used as space

<IMG src="image.jpg" height="20" width="30">
Remember to use double quotes in attributes>

Web 2.0 Notes
The web 2.0 requires all elements wriiten in lowercase other than DOCTYPE tage
All elements need to have a closing TAG. like <p> Text</p>
But hr, br, img does not have a closing tag. They are hence written as <br/>, <hr/>

HTML question is easy. You can get full marks.


  • XHTML stands for EXtensible HyperText Markup Language
  • XHTML is almost identical to HTML 4.01
  • XHTML is a strict  version of HTML 4.01
  • XHTML is HTML defined as an XML application
  • XHTML is supported by all major browsers.

XHTML Differences from HTML:

Document Structure

  • XHTML DOCTYPE is mandatory
  • The XML namespace attribute in <html> is mandatory
  • <html>, <head>, <title>, and <body> is mandatory

XHTML Elements

  • XHTML elements must be properly nested
  • XHTML elements must always be closed
  • XHTML elements must be in lowercase
  • XHTML documents must have one root element

XHTML Attributes

  • Attribute names must be in lower case
  • Attribute values must be quoted
  • Attribute minimization is forbidden

    XHTML format
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
<html xmlns="">
<title>Title of document</title>



More !

You need to know what XML standfor, what it is used for and why?
You also need to know basic syntax for XML

Try this quiz it' will brush your XML knowledge

In addition to HTML you need to know following terms
WWW, Web Server, Web Hosting, Web Designing, Web Development
Knowing Java Script and how it is used and why it is used is an advantage

No comments:

Post a Comment