Commerce Practicals 12
Commerce Practicals 12
TITLE: Create a website using HTML5 and CSS using any 4 CSS properties.
AIM: Write a code for two separate pages having different file names such as first page
Index.html and second page as page2.htm. Every page must contain proper Meta data
information and design as follows-
The Index page must contain a heading that is highest among other text on pages and
must be at the center of the page. There must be a paragraph that introduces general
information about the theme and atleast 3 style tags and one image with alternate text.
Page must be connected with proper navigational links.
The second page must contain a feedback or enrollment form related with theme chosen
features of HTML5. The form must contain text element and email address of the company
or person. Include the Submit Button.
SOLUTION:
<!DOCTYPE html>
<html>
<head>
<style type="text/css">
p
{
</style>
text-decoration: underline;
font-style: bold;
color: green;
font-size: 24px;
} margin-left: 130px;
h1
{
} text-align: center;
<title>KES College of Arts & Commerce </title>
<meta name="keywords" content="Faculty, students">
<meta name="description" content="A college Website dealing with students and
teachers/Faculty's data">
</head>
<body>
<h1> KES College of Arts & Commerce </h1>
<nav style="font-size: 22px;">
<a href="page2.html">Feedback Form</a>|
</nav>
<br><br>
<p>
Education is the most powerful weapon which you can use to change the world.
Everyone is looking to change the world, and why not take part in these movements. People
are paying a ridiculous amount of money for education, as this industry is valued around
million dollars. Most of this amount is now spent on online education. The best way to gain
quality education is to join with us where you can find majority of academic fields to enhance
your career with. Many streams of subjects are available at our place.
</p><br>
<img src="sample.jpg" width="250px" height="250px" alt="XYZ College" align="right">
</body>
</html>
page2.html
<!DOCTYPE html>
<html>
<head>
<style type="text/css">
h1
{
text-align: center;
}
</style>
<title>Subject Streams according to admission</title>
<meta charset="utf-8" >
<meta name="keywords" content="political Science,Information technology">
<meta name="description" content="Subject Streams according to admission process">
</head>
<body>
<h1 > Feedback Form </h1>
<div>
<label for="name">Name:</label>
<input type="text" name="name" ><br><br>
<label for = "email">Email:</label>
<input type="email" name="email">
<br><br>
<input type="submit" name="submit">
</div>
</body>
</html>
Output:
SOP 2
Title : Creation of a Webpage in html 5 with the help of CSS and its other
features.
Aim : Create a webpage using HTML and CSS code to design a webpage as the
layout displayed below.
The top section will display the heading, ‘Tourist Places’ in header. The
section on the left has list of cities. The right hand side display tourist
places in any one of the city.
Use Inline style sheet in the top section to display background colour for
the text ‘Tourist Places’. Use internal stylesheet for the left and right
section with background colour and font styles.
Tourist Places
City Tourist places inPune
1. Pune • Shaniwarwada
2. Bangalore • Kelkar Museum
3. Hyderabad • Sinhgad fort
4. Delhi
Solution:
File Name: Main.html
<html>
<head>
<title>SOP 2</title>
<style>
header{background-color:skyblue;width:99.5%;height:30%;border:1px solid}
section{
background- color:LemonChiffon;
width:50%;height:65%;
float:Left;border:1PX solid black
}
aside{
background-color:Pink;
width:48%;height:65%;
float:Right;border: 1PX solid black
}
</style>
</head>
<body>
<header>
<h1 style="color:deepPink; font-size:70px; text-align:center">
TouristPlaces</h1>
</header>
<section>
<h3>CITY</h3>
<ol>
<li>Pune</li>
<li>Bangalore</li>
<li>Hyderabad</li>
<li>Delhi</li>
</ol>
</section>
<aside>
<h3>Tourist Places in Pune</h3>
<ul>
<li>Shaniwarwada</li>
<li>Kelkar Museum</li>
<li>Sinhgad fort</li>
</ul>
</aside>
</body>
</html>
Output:
SOP 3
Title: Use of Audio on web pages using HTML5.
Aim: Create a webpage named audio.html to set an audio file in webpage with
controls such that it uses HTML5 elements. The audio file must play as soon as
the webpage loads in browser and it will start over again, every time when it is
completed.
Create another webpage named audio1.html which provides multiple source file
formats for the same audio file that plays a sound automatically with controls.
The browser should display the message with appropriate attribute when audio
file is not supported by browser. The code must incorporate the list of sound
files formats (like wav, MP3 or ogg etc.).
Solution:
Two HTML Files are created.
First File Name : Audio.html
Second File Name : Audio_1.html
Make sure you must have one .mp3 file, .ogg file and .wav file. Save these files
in one folder and also save those two html files in the same folder.
Figure 1: Audio.html
File Output
Execute the Audio_1.html file in Internet Explorer or in Chrome or in Firefox
browser. The output will look like this:
Create another webpage which provide multiple source file formats for
the same video file that plays a video automatically with controls. The
dimension of video area should be 100* 100 pixels. The browser should
display the message with appropriate attribute when video file is not
supported by browser. The code must incorporate the list of video files
formats (like webM, MP4 or ogg etc.).
Solution:
Copy any video file (.mp4, .ogg and .webm extensions) into your folder.
Total 2 HTML files are created.
Name of First File : Video.html (This file has only one source file)
Name of Second File : Video1.html (This file has multiple source files)
<h1 align=center>
Inserting Video File With control having one source file</h1>
<center>
<nav>This is Video Player</nav>
<video src="Teri Mitti.mp4" height="150" width="150" autoplay controls
type="video/mp4">
<center>
</video>
</body>
</html>
Coding for Second File
Video1.html
<html>
<head>
<title>Video One File</title>
</head>
<body bgcolor="Orange">
<center>
<nav>This is Video Player</nav>
</video>
</center>
</body>
</html>
Output:
Note:
1) If you execute the file in Internet Explorer browser, then you will have to allow the blocking
contents, then video will start playing automatically after allowing the blocked contents. You can
easily see the poster which you have put on video player in Video1.html.
2) If you execute the file in Firefox browser, the file will execute properly and video will start
playing automatically.
3) If you execute the file in Chrome browser, then you will have to play the video manually,
autoplay does not support in chrome browser. Since it does not play automatically, you can easily
see the poster which you have put on video player in Video1.html.
SOP 5
Aim: Create a webpage named imagemap.html with an inserted image having jpeg,
png or gif extension. Create 3 different shapes (like rectangle, circle and polygon)
which do not overlap. Note the co-ordinates making use of MS.
Paint/GIMP/Pinta. Each shape should be mapped or navigate with different URL that
should navigate to a local webpage.
Solution:
Total Five files are there. Out of five, One file is an image file, four html
files are created such as one file is main file and the other three files are
local files for linking with the main file.
Method: Download any jpeg file into your folder. Open that file with Microsoft
Paint. Adjust the image which is opened in Paint, such that the entire screen
is occupied with the image. The Paint screen should not have any scroll bar. If
scroll bar is there, then resize the image to fit it into that screen.
Once adjustment is done, then draw three shapes on that image such as Circle,
Rectangle and Polygon so that the shapes are not overlapped and it should be
visible properly.
Now, note down the coordinates and write the same coordinates into specific
location in the html file. Write the coords into coords attribute of area tag.
Now, execute the imagemap file. You will see the following output.
If you click on Circle, one.html file will get opened. And So on.
Output:
Title: Use of free online S.E.O. Tool to optimize a given website and write the
findings.
Aim: With the help of freely online available S.E.O. tool optimize the given
website and write down the following findings about the website:
Website: Findings:
1. Name of the website which you are optimizing.
2. Whether the site has title tag.
3. Whether the site has header tags? If yes, which tags are there?
4. Whether the images used, do they have alt attribute?
5. What is the comment about usability?
Solution:
Steps 1: Collecting the website which is to be optimized:
• In the given practical, as website is not given which is to be
optimized.
• Website will be given by the examiner, so as here the website
given is: https://www.ajio.com/
Step 2: Getting free online SEO Optimizer Tool and putting the
website name which is to be optimized:
• Open any web browser.
• Type in the URL https://www.seoptimer.com.
• This is free SEO online optimizer tool.
• In the Search box, type in the website name which to be optimized
i.e. https://www.ajio.com/ and click on try it for free.
Step 3: To check the result of Whether the Site has title tag:
• After getting the result, it is observed that the website has title
tag.
• The title is: Online Shopping for Women, Men, Kids – Clothing,
Footwear, and Fashion | AJIO.
Step 4: To check whether the site has header tags and if yes then
which header tags:
• After getting the result, It is observed that the site has header tag.
• The site has 6 Number of Times Heading level 2 i.e. <h2> tag is
there.
Step 5: To check whether the site has used images or not and also alt
attribute is used or not:
• It is observed that the site has used 5 images on that webpage.
• But none of the images have alt attributes used in it.
Step 6: Comment about user usability:
Aim: With the help of freely online available S.E.O. tool https://varvy.com/
optimize the given website and write down the following findings about the
website:
Website: https://www.ajio.com/ Findings:
6. What is the name of the website?
7. Whether all CSS and JavaScript files seem visible to Googlebot?
8. Whether the page seems to display well on mobile devices?
9. Check whether the webpage is secured with HTTPS?
10.Check whether website has robot.txt file or not?
Solution:
Steps 1: Collecting the website which is to be optimized:
• In the given practical, as website is not given which is to be
optimized.
• Website will be given by th examiner, so as here the website given
is: https://www.ajio.com/
Step 2: Getting free online SEO Optimizer Tool given in the practical i.e.
https://varvy.com/ and putting the website name which is to be
optimized:
• Open any web browser.
• Type in the URL https://varvy.com/ and press enter key.
• We find that the site is currently under construction. So open the
other free S.E.O. audit tool.
• Type in the URL https://www.woorank.com.
• This is free SEO online optimizer tool.
• In the Search box, type in the website name which to be optimized
i.e. https://www.ajio.com/ and click on try it for free.
Step 3: To check whether all CSS and JavaScript files seem visible to
Googlebot?
• After getting the result, it is observed that the website has many
JavaScript and CSS file.
• These are visible on Googlebot.
Step 4: To check whether the page seems to display well on mobile devices?
• After getting the result, it is observed that the site is properly visible on
all mobile devices as the result is given by S.E.O. Tool.
Step 5: To check whether the webpage is secured with HTTPS:
• It is observed that the website is SSL Secured i.e. HTTPS.
• The website’s URL redirect to HTTPS pages.
• The website is configured with HSTS.
AIM:
Mr. Ravidrakumar started business by the name M/s. Bitwise Trading Company in the year
2019.
COMPANY DETAILS
State : Maharashtra
Website : www.bitwisetrading.com
Email-id : [email protected]
With the help of any open source or free education version accounting software pass the
following transactions in appropriate vouchers to display and print various reports such as
Trial Balance, Profit & Loss A/c, Balance Sheet and Day Book.
Sr. No. Date 2019 Voucher Type Particular Dr. Amt Cr. Amt
AIM:
Solution: The above transactions clearly indicate that the purchase and sale both are within
Maharashtra State. Therefore 28% GST is applicable as 14% SGST and 14% CGST.
Create a new company in the name of M/s Bags and Baggage Traders with the given address
and pin code, financial year begins on 1/04/2019.
Enable GST features by selecting -> Features (F11)-> Statutory and Taxation -> Enable Goods
and Service Tax(GST) -> yes Set/alter GST details >> Yes.
Type State-> Maharashtra, GSTIN ->27 STUVW1234C2Z1
Genuine Leather A/c Sundry Fill the details with PIN code
Creditors
Note: GST rates applicable for each commodity are given at the time of creation of stock items/products.
For the creation of inventory items/products, following are the steps:
Step 3.1: Create Unit of Measure: Inventory/Inventory Info > Unit of Measure/ Measurement -> Give unit
name/symbol as UT Formal Name/description as Units ->Select applicable Unit Quantity Code (UOC) from
the pop up list(optional). -> Accept/Save the details.
Step 3.2: Create Stock groups or Category: Inventory/Inventory Info -> Stock groups or Category as Hand
Bags-> Accept/Save the details without changing any field.
Step 3.3: Create Stock Items/Product: Inventory /Inventory Info>Stock Items/ Product Type the name of the
item/product Bags-> Select the Under Group/Category as Hand Bags -> Select Unit of Measurement/
Measure as UT >Set / Alter GST Details: Yes (then give all the GST details for that Stock Item like HSN,
Taxability, IGST %, CGST%, SGST%, etc.) Type of supply - "Goods" Accept/Save the details.
Sales Voucher: Accounting Vouchers -> Select Sales Voucher -> Enter Voucher Date>
Party's name field: M/s Shoppers Stock Sales Ledger field - Select Sales 9 Leather Handbags > Select Name of
the item/product as Leather Handbags Enter Quantity 80 units and Rate Rs.3500-> Select 'SGST'-> Select
'CGST’ -> Save/Accept.
AIM:
1) On 01/07/2017 Purchased 150 pieces of T-shirts @Rs. 450 per piece with GST 12% from
M/s. Jalaram Textiles, 1/05 Sector B, Gandhi Nagar, Ahmadabad, Gujarat Pin code 382010.
2) On 02/07/2017 Sold 100 T-shirts @Rs.600 per piece with GST 12% to M/s Dress Align Garments,
Shirdi. Ahmednagar, Maharashtra -423107.
Solution:
The above transactions clearly indicate that the purchase is out of Maharashtra State. Therefore only IGST is
applicable i.e. Integrated GST. Sales is within Maharashtra State. Therefore 12% GST is applicable as 06%
SGST and 6% CGST.
Step 1:
(i) Create a new company in the name of M/s Swastik Garment Suppliers, College Road, Nashik,
Maharashtra 422005, financial year begins on 1/04/2017.
(ii) Enabling GST: Features -> Statutory & Taxation -> Enable Goods and Services Tax (GST)- Yes
Set/alter GST details - Yes
(iii) Fill State and GSTIN details.
(i) T-Shirts - Type GST Rate 12% in the field 'Integrated Tax'..
(ii) T-Shirts-Type GST Rate 12%.Note: GST rates applicable for each commodity are given at the time of
creation of stock items/products. For the creation of inventory items/products, steps to be followed are:
Step 3.1: Create Units of Measure: Inventory/Inventory Info>> Units of Measure/ Measurement >> Give unit
name/symbol as Nos Formal Name/description as Number -> Select applicable Unit Quantity Code (UQC)
from the pop up list NOS-Numbers -> Accept/Save the details.
Step 3.2: Create Stock groups or Category: Inventory/Inventory Info>Stock groups or Category as Garments
> Accept/Save the details without changing any field.
Step 3.3: Create Stock Items/Product: Inventory /Inventory Info>Stock Items/Product> Type the
Item/Product name T-Shirts > Select the Under Group/Category as Garments>> Select Unit of
Measurement/ Measure as Nos-> Set/Alter details: Yes ->type of supply - Goods-> Accept/Save the details.
1) Purchase Voucher: Accounting Vouchers > Select Purchase Voucher -> Type Voucher Date -> Supplier
Invoice No. >Party's name field: M/s Jalaram Textiles >>> Purchase Ledger field - Select Inter-state Purchase
-> Select Stock Item/ Product T- Shirts-> Enter Quantity as 150 Nos and Rate Rs.450 -> Select 'IGST ->
Save/Accept.
2) Sales Voucher : Accounting Vouchers -> Select Sales Voucher -> Enter Voucher Date -> Party's name field:
M/s Dress align Garments > Sales Ledger field -> Select Name of the item/product T-Shirts-> Enter Quantity
100 Nos and Rate Rs.600-> Select 'SGST -> Select CGST->Save/Accept.
TITLE: Create a database, table and form in Libre office- > Base.
Solution:
(i) Steps for Creating a Database:
(a) Click on Start -> All Programs > Libre Office -> Libre Office Base.
(b) Database wizard window appears, select Save and Proceed -> Click on Finis button, select proper location
where you wish to save the database wit appropriate name, database will be created.
(ii) Steps for Creating a Table:
(a) To create a table, click on Create table in design view >> Table deign windo appears, in that window set
fieldname, datatype as follows:
(b) To assign primary key to rollno field, right click on the small button present on the left side of the
fieldname and select Primary Key option.
(c) To Save click on Save button or press CTRL+S, give table name as student and click on OK button,
table will be saved.
(iii) Steps for Inserting records in a Table :
For inserting records in a table, double click on the table in which data is to be inserted, a window will
appear on the screen, type data under each field and complete all the records.
TITLE: Create a database, table and Queries in Libre office- > Base.
SOLUTION:
(a) To create a table, click on Create table in design view -> Table deign window appears, in that window
set fieldname, datatype as follows:
(b) To assign primary key to empid field, right click on the small button present on the left side of the
fieldname and select Primary Key option.
(c) To Save click on save button or press CTRL+S, give table name as employee and click on OK button,
table will be saved.
For inserting records in a table, double click on the table in which data is to be inserted, a window will
appear on the screen, type data under each field and complete all the records.
Steps for Creating Query:
Click on object and in right pane click on Create Query is Design View option.
From Add table window select table and click on Add button and click on Close.
Select all the fields one by clicking on field’s columns.