WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
BBA5thsemLab-File.ppt created by student
1. ST. ANDREWS INSTITUTE
OF TECHNOLOGY AND MANAGEMENT
Gurgaon Delhi (NCR)
Approved by AICTE, Govt. of India, New Delhi
Affiliated to Maharshi Dayanand University ‘A’
Grade State University, accredited by NAAC
Session: 2021 - 2024
Bachelor of Business Administration Semester 05
Subject Name - COMPUTER NETWORKING AND INTERNET
BBAN - 504 Practical File
Submitted To:
DR. RINKU
(Asst. Professor)
Submitted by:
Name – Raj
College Roll No. – 218005
BBA 5th Sem
2. LIST OF EXPERIMENTS
S. No. Title Date Remark
1. A program to illustrate body and pre tags
2. A program to illustrate text font tag
3. A program to illustrate comment, h1...h6 and div tag
4. A program to illustrate text formatting tags
5. A program to illustrate order list tag
6. A program to illustrate unorder list tag
7. A program to illustrate nested and difination
8. A program to illustrate image tag
9. A program to illustrate hyperlink tag
10. A program to illustrate table tag
11. A program to illustrate frame tag
12. A program to illustrate form tag
13. A program to illustrate span tag
14. A program to illustrate css
15. A program to illustrate embedded multimedia
3. EXPERIMENT 1
TITLE: A PROGRAM TO ILLUSTRATE BODY AND PRE TAGS
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name=Mviewport" content="width=device-width, initial-scale=1.0">
<title>Body and Pre Tags Example</title>
</head>
<body>
<h1>This is a Heading</h1>
<p>This is a paragraph of regular text inside the body tag.</p>
<pre>
This is preformatted text.
It preserves spaces,
line breaks,
and other formatting.
</pre>
</body>
</html>
Output
This is a Heading
This is a paragraph of regular text inside the body tag.
This is preformatted text.
It preserves spaces,
line breaks,
and other formatting.
4. EXPERIMENT 2
TITLE: A PROGRAM TO ILLUSTRATE TEXT FONT TAG
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name=Mviewport" content="width=device-width, initial-scale=1.0">
<title>Font Tag Example</title>
</head>
<body>
<h1>This is a Heading</h1>
<p>
This is a paragraph of text with different font styles using the <code><font></code> tag.
</p>
<p>
<font size="4" color="blue" face="Arial">This text is blue, Arial font, and size 4.</font>
</p>
<p>
<font size="3" color="green" face="Verdana">This text is green, Verdana font, and size 3.</font>
</p>
<p>
<font size="2" color="red" face="Courier New">This text is red, Courier New font, and size
2.</font>
</p>
</body>
</html>
5. Output
This is a Heading
This is a paragraph of text with different font styles using the <font> tag.
This text is blue, Arial font, and size 4.
This text is green, Verdana font, and size 3.
This text is red, Courier New font, and size 2.
6. EXPERIMENT 3
TITLE: A PROGRAM TO ILLUSTRATE COMMENT, H1...H6 AND DIV TAG
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>HTML
Example with Comments, Headings, and Div</title>
</head>
<body>
<!-- This is a comment. Comments are not displayed in the browser. -->
<h1>Main Heading (h1)</h1>
<p>This is a paragraph of text below the main heading.</p>
<h2>Subheading (h2)</h2>
<p>This is another paragraph of text below the subheading.</p>
<div style="border: 2px solid #ccc; padding: 10px; margin-top: 20px; width: 300px">
<h3>Section Heading (h3)</h3>
<p>This is a paragraph inside a <code><div></code> element.</p>
</div>
<h4>Subsection Heading (h4)</h4>
<p>This is a paragraph below the subsection heading.</p>
<h5>Minor Heading (h5)</h5>
<p>This is a paragraph below the minor heading.</p>
<h6>Micro Heading (h6)</h6>
<p>This is a paragraph below the micro heading.</p>
</body>
</html>
7. Output
Main Heading (hi)
This is a paragraph of text below the main heading.
Subheading (h2)
This is another paragraph of text below the subheading
Section Heading (h3)
This is a paragraph inside a <div> element.
Subsection Heading (h4)
This is a paragraph below the subsection heading. Minor
Heading (h5)
This is a paragraph below the minor heading.
Micro Heading (h6)
This is a paragraph below the micro heading.
8. EXPERIMENT 4
TITLE: A PROGRAM TO ILLUSTRATE TEXT FORMATTING TAGS
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name=Mviewport" content="width=device-width, initial-scale=1.0">
<title>HTML Example with Text Formatting Tags</title>
</head>
<body>
<h1>Text Formatting Tags Example</h1>
<p><strong>Bold Text:</strong> This is an example of <strong>bold text</strong>.</p>
<p><em>Italic Text:</em> This is an example of <em>italic text</em>.</p>
<p><u>Underlined Text:</u> This is an example of <u>underlined text</u>.</p>
<p><s>Strikethrough Text:</s> This is an example of <s>strikethrough text</s>.</p>
<p><mark>Highlighted Text:</mark> This is an example of <mark>highlighted text</mark>.</p>
<p><sub>Subscript Text:</sub> This is an example of subscript text (e.g., H<sub>2</sub>O).</p>
<p><sup>Superscript Text:</sup> This is an example of superscript text (e.g., x<sup>2</sup>).</p>
<p><code>Code Text:</code> This is an example of <code>code text</code>.</p>
<p><kbd>Keyboard Input:</kbd> This is an example of <kbd>keyboard input</kbd>.</p>
<p><abbr title="HyperText Markup Language">HTML</abbr>: This is an example of an abbreviation
with a title attribute.</p>
<p><a href="#link">Link:</a> This is an example of a link.</p>
<p><blockquote>Blockquote:</blockquote> This is an example of a blockquote.</p>
<p><cite>Citation:</cite> This is an example of a citation.</p>
<p><q>Inline Quote:</q> This is an example of an inline quote.</p>
<p><small>Small Text:</small> This is an example of <small>small text</small>.</p>
<p><big>Big Text:</big> This is an example of <big>big text</big>.</p>
</body>
</html>
9. Output
Text Formatting Tags Example
Bold Text: This is an example of bold text.
Italic Text: This is an example of italic text.
Underlined Text: This is an example of underlined text.
Strikethrough Text: This is an example of a trike through text.
Highlighted Tex| This is an example of highlighted text.
Subscript Text This is an example of subscript text (e.g.. H2O).
Superscript Text: js au example of superscript text (e.g.. x2).
Code Text: This is an example of code text.
Keyboard Input: This is ail example of keyboard input.
HTML: This is an example of an abbreviation with a title attribute.
Link: This is an example of a link.
Blockquote:
This is an example of a blockquote.
Citation: This is an example of a citation.
‘'Inline Quote:” This is an example of an inline quote.
Small Text: This is an example of small text.
Big Text: This is an example of big text.
10. EXPERIMENT 5
TITLE: A PROGRAM TO ILLUSTRATE ORDER LIST TAG
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name=Mviewport" content="width=device-width, initial-scale=1.0">
<title>Ordered List Example</title>
</head>
<body>
<h1>Ordered List Example</h1>
<p>This is an example of using the <code><ol></code> (ordered list) tag in HTML.</p> <ol>
<li>First item</li>
<li>Second item</li>
<li>Third item</li>
<li>Fourth item</li>
</ol>
<p>You can also nest ordered lists to create a hierarchical structure:</p>
<ol>
<li>Parent item <ol>
<li>Nested item 1</li>
<li>Nested item 2</li>
</ol>
</li>
<li>Another parent item</li>
<li>Yet another parent item</li>
</ol>
</body>
</html>
11. Output
Ordered List Example
This is an example of using the <ol> (ordered list) tag in HTML
1. First item
2. Second item
3. Third item
4. Fourth item
You can also nest ordered lists to create a hierarchical structure:
1. Parent item
1. Nested item 1
2. Nested item 2
2. Another parent item
3. Yet another parent item
12. EXPERIMENT 6
TITLE: A PROGRAM TO ILLUSTRATE UNORDER LIST TAG
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name=Mviewport" content="width=device-width, initial-scale=1.0">
<title>Unordered List Example</title>
</head>
<body>
<h1>Unordered List Example</h1>
<p>This is an example of using the <code><ul></code> (unordered list) tag in HTML.</p> <ul>
<li>First item</li>
<li>Second item</li>
<li>Third item</li>
<li>Fourth item</li>
</ul>
<p>You can also nest unordered lists to create a hierarchical structure:</p>
<ul>
<li>Parent item <ul>
<li>Nested item 1</li>
<li>Nested item 2</li>
</ul>
</li>
<li>Another parent item</li>
<li>Yet another parent item</li>
</ul>
</body>
</html>
13. Output
Unordered List Example
This is an example of using the <ul> (unordered list) tag in HTML
• First item
• Second item
• Third item
• Fourth item
You can also nest unordered lists to create a hierarchical structure:
• Parent item
o Nested item 1 o Nested item 2
• Another parent item
• Yet another parent item
14. EXPERIMENT 7
TITLE: A PROGRAM TO ILLUSTRATE NESTED AND DIFINATION
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name=Mviewport" content="width=device-width, initial-scale=1.0">
<title>Nested and Definition List Example</title>
</head>
<body>
<h1>Nested and Definition List Example</h1>
<h2>Nested Lists:</h2>
<ul>
<li>Fruits
<ul>
<li>Apples</li>
<li>Oranges</li>
<li>Bananas</li>
</ul>
</li>
<li>Vegetables
<ul>
<li>Carrots</li>
<li>Broccoli</li>
<li>Spinach</li>
</ul>
</li>
</ul>
<h2>Definition List:</h2>
<dl>
<dt>HTML</dt>
15. <dd>HyperText Markup Language - used for structuring content on the web.</dd>
<dt>CSS</dt>
<dd>Cascading Style Sheets - used for styling the presentation of web pages.</dd>
<dt>JavaScript</dt>
<dd>A programming language that enables interactive web pages.</dd>
</dl>
</body>
</html>
Output
Nested and Definition List Example
Nested Lists:
• Fruits
o Apples o Oranges o Bananas
• Vegetables
o Carrots o Broccoli o Spinach
Definition List:
HTML
HyperText Markup Language - used for structuring content on the web.
CSS - -
Cascading Style Sheets - used for styling the presentation of web pages
JavaScript
A programming language that enables interactive web pages.
16. EXPERIMENT 8
TITLE: A PROGRAM TO ILLUSTRATE IMAGE TAG
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Image Tag Example</title>
</head>
<body>
<h1>Image Tag Example</h1>
<p>This is an example of using the <code><img></code> (image) tag in HTML.</p>
<img src="https://via.placeholder.com/400" width= 200px height= 200px alt="Placeholder
Image">
</body>
</html>
Output
Image Tag Example
This is an example of using the <img> (image) tag in HTML.
17. EXPERIMENT 9
TITLE: A PROGRAM TO ILLUSTRATE HYPERLINK TAG
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Hyperlink Tag Example</title>
</head>
<body>
<h1>Hyperlink Tag Example</h1>
<p>This is an example of using the <code><a></code> (anchor) tag in HTML to
create hyperlinks.</p>
<!-- External Link -->
<p>Visit the <a href="https://www.example.com" target="_blank">Example
Website</a>.</p>
<!-- Internal Link -->
<p>Go to the <a href="#section">Next Section</a> on this page.</p>
<!-- Email Link -->
<p>Contact us via <a href="mailto:info@example.com">email</a>.</p>
<!-- Link to a File -->
<p>Download the <a href="example.pdf" download>Example PDF</a>.</p>
<h2 id="section">Next Section</h2>
<p>This is the content of the next section on the page.</p>
</body>
</html>
18. Output
Hyperlink Tag Example
This is an example of using the <a> (anchor) tag in HTML to create hyperlinks
Visit the Example Website.
Go to the Next Section on this page.
Contact us via email.
Download the Example PDF.
Next Section
This is the content of the next section on the page.
19. EXPERIMENT 10
TITLE: A PROGRAM TO ILLUSTRATE TABLE TAG
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Table Tag Example</title>
</head>
<body>
<h1>Table Tag Example</h1>
<p>This is an example of using the <code><table></code> tag in HTML to create a simple
table.</p>
<table>
<thead>
<tr>
<th>Name</th>
<th>Age</th>
<th>City</th>
</tr>
</thead>
<tbody>
<tr>
<td>John Doe</td>
<td>25</td>
<td>New York</td>
</tr>
<tr>
<td>Jane Smith</td>
<td>30</td>
<td>Los Angeles</td>
21. Output
Table Tag Example
This is an example of using the <table> tag in HTML to create a simple table
Name Age City
John Doe 25 New York
Jane Smith 30 Los Angeles
Bob Johnson 22 Chicago
28. EXPERIMENT 14
TITLE: A PROGRAM TO ILLUSTRATE CSS
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name=Mviewport" content="width=device-width, initial-scale=1.0">
<title>CSS Example</title>
</head>
<body>
<h1 class="center">CSS Example</h1>
<p>This is a simple example illustrating the use of CSS for styling HTML elements. The text in this
paragraph has increased line-height for better readability.</p>
<p class="highlight">This paragraph has a background color to highlight its content.</p>
</body>
</html>
<style>
body {
font-family: Arial, sans-serif;
background-color: #f4f4f4;
color: #333;
margin: 20px;
}
h1 {
color: #484c50;
}
p {
line-height: 1.6;
}
.highlight {
background-color: #5e5e5a;
30. EXPERIMENT 15
TITLE: A PROGRAM TO ILLUSTRATE EMBEDDED MULTIMEDIA
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Embedded Multimedia Example</title>
</head>
<body>
<h1>Embedded Multimedia Example</h1>
<h2>Audio Example</h2>
<audio controls>
<source src="sample-audio.mp3" type="audio/mp3">
Your browser does not support the audio element.
</audio>
<h2>Video Example</h2>
<video width="400" height="300" controls>
<source src="sample-video.mp4" type="video/mp4">
Your browser does not support the video element.
</video>
</body>
</html>