Ashish Chandra

CS 251 Lab Assignment 1

July 20, 2017



Question 0

This is a normal text.


This is an italic text made with <i> tag.
This is an italic text styled with css class named italic.


This is a bold text made with <b> tag.
This is a bold text styled with css class named bold.


This is an underlined text styled with <u> tag.
This is an underlined text styled with css class named underline.


This is a normal sized text.
This is a small text with font-size 10px.
This is a large text with font-size 30px.
This is a giant-sized text with font-size 50px.
This is a small text with font-size 60%.
This is a large text with font-size 200%.


This is a red text.
This is a green and bold text.



Question 1

Professor Kavi Arya
Here is Prof. Kavi Arya who teaches SYSTEM SOFTWARE LAB at IIT Bombay.


Professor Uday Khedker
This is Prof. Uday Khedker, the Head of Department of CSE, IIT Bombay.



Question 2

This is a table containing 5 rows and 3 columns
Country Capital Currency
India New Delhi Rupee
USA Washington D.C. United States Dollar
Japan Tokyo Yen
Russia Moscow Russian Ruble



Question 3

CSE Department, IIT Bombay - This link opens in same tab.
Jump to Question 1
Dictionary.com - This link opens in another tab.



Question 4

Ordered List : Fruits to be purchased
  1. Banana
  2. Papaya
  3. Mango
  4. Orange
  5. Guava


Unordered List : Domestic Animals



Question 5

The table of Question 2 is now aligned here at the center.
Country Capital Currency
India New Delhi Rupee
USA Washington D.C. United States Dollar
Japan Tokyo Yen
Russia Moscow Russian Ruble



Question 6

This page is made pink by using the attribute bgcolor in the body tag.
The attribute bgcolor is no more supported in HTML5.
This <div> is made red using css.

This is a paragraph. It has background lightgreen. The color of the text of this paragraph is blue. This paragraph has a padding of 50px on all four sides. Paragraph is a block element in HTML. This means there is default line-break before and after a paragraph.

There are five line-breaks between this line




and this line.

Using CSS

The background of this <div> is made aqua colored using CSS. The text color is made indigo also using CSS. CSS is a language which is used to add style to a webpage. Without CSS webpages will look very boaring.


This is the Times New Roman font.
This is the Arial font.
This is the Courier New font with font-size 100px.
This is the Lucida Console font with font-size 50px.

Using Bootstrap

This is a simple button on clicking which you jump to question 1.


This is a group of justified buttons.
IIT Bombay IIT Delhi IIT Kanpur IIT Madras


This is the end of assignment 1 of CS 251 Lab.
Submitted by : Ashish Chandra
Roll No : 05D05016
Date : 20 July 2017
Email : ashishchandra@cse.iitb.ac.in