Thursday, March 14, 2013

Example of Class selector in HTML5

This example will show you how Class selector is used
Watch this on jsfiddle

Example of ID selector in HTML

In this example I will show you how ID selector is used
Try this on jsfiddle

Example of HTML and CSS Styling

HTML and CSS Styling Example
Watch this example of jsfiddle

Example of HTML Document with styling

Basic HTML Document with STYLING in it
Watch this example on Jsfiddle

Very basic HTML Document

This is a simple HTML document with no styling
Try it on Jsfiddle

Example of INLINE Element in HTML

View it on JSFIDDLE

Below given list are the BLOCK elements

BLOCK Elements – Which take up a block of area on HTML, forcing next element to come on next line

  1. Paragraph - <p>
  2. A definition term in a definition list. - <dt>
  3. The definition of a term, in a definition list. - <dd>
  4. An ordered (enumerated) list. - <ol>
  5. An unordered (bulleted) list. - <ul>
  6. A list item in ordered (ol) or unordered (ul) lists - <li>
  7. Address - <address>
  8. Blockquote - <blockquote>
  9. center - < center>
  10. del Marks a deleted section of content. This element can also be used as inline. - <del>
  11. div A block-level logical division. - < div>
  12. ins Marks a section of inserted content. This element can also be used as inline. - <ins>
  13. noscript Replacement content for scripts. Unlike script this can only be used as a block-level element. - < hr>
  14. pre Pre-formatted text. - <pre>
  15. script Places a script in the document. Also usable in the head and in inline contexts. Note: SCRIPT is not itself either a block or inline element; by itself it should not display at all, but it can contain instructions to dynamically generate either both block or inline content. - <script>

Please check the below given example on jsfiddle

View it on JSFIDDLE


This below given example contain paragraph tag and header tag

  1. Paragraph – <div>
  2. Headers – <h1> to <h6>

  3. This below given example also contain CSS example. How to color the text, how to set the margin, set different fonts etc..
    View it on JSFIDDLE
    In the next post I will list all the BLOCK elements and INLINE elements

Friday, June 8, 2012

Free ISO Image File Reader for windows

If for some reason you needed to read an ISO image file in your hard disk instead of your CD drive, Microsoft has a free tool that allows you to create a virtual CD drive using your hard disk You can find the program HERE When you run this program it will create 3l files: vcdcontroltool.exe, vcdrom.sys, and readme.txt 1. You need to put vcdrom.sys in your C:\windows\system32\ 2. Run vcdcontroltool.exe 3. Click the install driver button and choose c:\windows\system32\vcdrom.sys 4. Then click the Start button and then the OK button 5. Click Add Drive button 6. Then click Mount button and choose the ISO image file in your hard disk After these steps you should be able to read the ISO image file as if it was a CD drive in your computer. Thanks by Vicky j :)

Friday, April 6, 2012

$ource_code~#: The Open Source Story

$ource_code~#: The Open Source Story:               B efore the 80s the computer manufacturing companies were providing their machine with a bunch of free softwares. The source-c...

Wednesday, March 21, 2012

Tom van Steenbergen/Jeremy Weiss

Tom van Steenbergen/Jeremy Weiss from Harrison Mendel on Vimeo.

Brook MacDonald

Brook MacDonald from Ryan Heron on Vimeo.

Brook MacDonald dominates in the Mt Hutt Round of the New Zealand Down Hill Mountain Bike series.

Shot by Jaimie McKenzie and Ryan Heron

Directed and Edited by Ryan Heron

After Effects by Conrad Smith

Produced by Jon Forder

GT Factory Racing Team Launch

Creative Agency: Metis Creative
Director: Clay Porter
Producer: Cameron Baird
Co-Directors Of Photography: Clay Porter and Cameron Baird
Editor: Clay Porter
Production Assistants: Drew Ruiz and Thomas Webb
Still Photographer: Sven Martin
Music Supervisor: Androo Mitchell
Original Score: Seb Taylor
Sound Design: Keith White
Colorist: Jake Blakestone
Phantom Tech: Nick Schrunk

Extra special thanks to Scott Bradfield and Dan Brown.

Shot on location in Southern California.

Monday, March 5, 2012


A departmental store maintains inventory of goods about its sections. Each section can sell a number of items. An item sold by one section may be part of other section also. The departmental store has a number of registered buyers. Some of the buyers, however, may not be registered. A buyer purchases one or more items and a number of such items. A buyer gets a bill for the purchases s/he made. A buyer can purchase many times in a month. A buyer may buy several times even in a single day. A buyer who had made purchase of more than Rs10,000/- in a month, is given a status of preferred buyer. The preferred buyer is given a discount of 5% on all purchases on all the purchases made in the next month. The store acquires all the items from a stockiest. Each item has an item code. All acquisition of items are recorded. The cost price of an item of a different acquisition may be different. The selling price of an item is decided by the cost price of that item, handling overheads and profit margin. For all the items the store presently uses them as fixed quantity.

Perform the following tasks for the store. Please make and state assumptions, if any.

1) List the entities, their attributes and relationships for the description and make an ER-diagram for the Store. You may use the concept of keys, aggregation, generalisation, cardinality etc. in a proper way.

2) Design the suitable RDBMS tables for the ER-diagram so created in question 1. The database design should include keys, foreign keys, constraints and referential integrity constraints.

3) Implement the database design that you have created in question 2 using a RDBMS – our advice is that you choose either MySQL or MS ACCESS to do so.

4) Create the following data entry forms with suitable checks for the database so created.

a) Create a form to enter all the information about the items being purchased by a buyer on a particular sale.

b) Create a form to register a new buyer.

5) Enter at least 4 sets of records in each table. Enter marks directly in the tables except for the data that can be entered using the data entry form created in question 3

6) Create the following reports for the database you have created. The reports should have proper headings and page numbers and should include totals, if needed.

a) Create bill of a purchase.

b) Create a price list of items.

c) Create the list of preferred buyers.

d) Create the detailed list of purchases made by a single buyer.

7) Write and run the following SQL queries for your database:

a) Find the details of the buyers who have made purchases of more than 15,000 in a month..

b) Find the price of the costliest item and the names of all the buyers who have bought it.

c) Find the item details of the item that has been sold the most.

d) Find the difference in number of average buyers on weekends and the number of average buyers on weekdays.

e) Find the stockiest form whom maximum number of items are acquired

8) Design two views for the database that you have designed and implemented. One view should be for the Manager of the Departmental Store who is interested in knowing about the performance (quantity sold) of various items in various sections. The other view is for a buyer who can view his/her purchases made from the stores. Identify on what tables and what fields these two will be allowed to have access. Implement these views or write equivalent queries for the view defining expression using SQL.

Tricky J!!!