0% found this document useful (0 votes)
25 views12 pages

HTML Questions Sem3

Uploaded by

Nakul Kukreja
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
25 views12 pages

HTML Questions Sem3

Uploaded by

Nakul Kukreja
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 12

QUESTION 6 -

<!DOCTYPE html>
<html>
<head>
<title>Marquee Examples</title>
</head>
<body>
<h2>Marquee Tag Examples</h2>

<!-- Marquee Text Scrolling Left to Right -->


<marquee behavior="scroll" direction="right">This text scrolls from left to
right.</marquee>

<!-- Marquee Text Scrolling Right to Left -->


<marquee behavior="scroll" direction="left">This text scrolls from right to
left.</marquee>

<!-- Marquee Text Scrolling Top to Bottom -->


<marquee behavior="scroll" direction="down">This text scrolls from top to
bottom.</marquee>

<!-- Marquee Text Scrolling Bottom to Top -->


<marquee behavior="scroll" direction="up">This text scrolls from bottom to
top.</marquee>

<br><br>

<!-- Marquee Image Sliding from Left to Right -->


<marquee behavior="slide" direction="right"><img
src="https://via.placeholder.com/100" alt="Placeholder Image"></marquee>

<!-- Marquee Image Sliding from Right to Left -->


<marquee behavior="slide" direction="left"><img
src="https://via.placeholder.com/100" alt="Placeholder Image"></marquee>

<!-- Marquee Image Sliding from Top to Bottom -->


<marquee behavior="slide" direction="down"><img
src="https://via.placeholder.com/100" alt="Placeholder Image"></marquee>

<!-- Marquee Image Sliding from Bottom to Top -->


<marquee behavior="slide" direction="up"><img
src="https://via.placeholder.com/100" alt="Placeholder Image"></marquee>

<br><br>

<!-- Marquee Text Alternating from Left to Right -->


<marquee behavior="alternate" direction="right">This text alternates from left to
right.</marquee>

<!-- Marquee Text Alternating from Top to Bottom -->


<marquee behavior="alternate" direction="down">This text alternates from top to
bottom.</marquee>

<!-- Marquee Image Alternating from Left to Right -->


<marquee behavior="alternate" direction="right"><img
src="https://via.placeholder.com/100" alt="Placeholder Image"></marquee>
</body>
</html>

QUESTION 7-
<!DOCTYPE html>
<html>
<head>
<title>User Registration</title>
</head>
<body>
<h1>User Registration</h1>
<p>Please complete the following form to register with our site:</p>

<form action="#" method="post">


<!-- User Name Field -->
<label for="username">User Name:</label>
<input type="text" id="username" name="username"><br><br>

<!-- Password Field -->


<label for="password">Password:</label>
<input type="password" id="password" name="password"><br><br>

<!-- Gender Radio Buttons -->


<label>Gender:</label><br>
<input type="radio" id="male" name="gender" value="male">
<label for="male">Male</label><br>
<input type="radio" id="female" name="gender" value="female">
<label for="female">Female</label><br><br>

<!-- How did you hear about us? Dropdown -->


<label for="source">How did you hear about us?:</label>
<select id="source" name="source">
<option value="" selected>Select answer</option>
<option value="friends">Friends</option>
<option value="ads">Advertisements</option>
<option value="online">Online Search</option>
<option value="other">Other</option>
</select><br><br>

<!-- Mailing List Checkbox -->


<label>
<input type="checkbox" name="mailinglist" value="yes">
Please select this box if you wish to be added to our mailing list.<br>
We will not pass on your details to any third party.
</label><br><br>

<!-- Submit Button -->


<input type="submit" value="Register now">
</form>
</body>
</html>
QUESTION 9-
Index.html
--> <!DOCTYPE html>
<html>
<head>
<title>BCA Syllabus</title>
</head>
<body>
<h1>BCA Syllabus</h1>
<p>Click on the subject to view its detailed syllabus:</p>

<ul>
<li><a href="wte.html" target="_blank">Web Technologies (WTE)</a></li>
<li><a href="python.html" target="_blank">Python Programming</a></li>
<li><a href="dbms.html" target="_blank">Database Management System
(DBMS)</a></li>
</ul>
</body>
</html>

wte.html
--> <!DOCTYPE html>
<html>
<head>
<title>Web Technologies (WTE) Syllabus</title>
</head>
<body>
<h1>Web Technologies (WTE) Syllabus</h1>
<p>This course covers the following topics:</p>
<ul>
<li>HTML & CSS</li>
<li>JavaScript</li>
<li>Responsive Design</li>
<li>Web Development Frameworks</li>
<li>Deployment and Maintenance</li>
</ul>
<a href="index.html">Back to Syllabus</a>
</body>
</html>

python.html
--> <!DOCTYPE html>
<html>
<head>
<title>Python Programming Syllabus</title>
</head>
<body>
<h1>Python Programming Syllabus</h1>
<p>This course covers the following topics:</p>
<ul>
<li>Introduction to Python</li>
<li>Data Structures in Python</li>
<li>Object-Oriented Programming</li>
<li>File Handling</li>
<li>Modules and Packages</li>
<li>Database Access with Python</li>
</ul>
<a href="index.html">Back to Syllabus</a>
</body>
</html>

dbms.html
--> <!DOCTYPE html>
<html>
<head>
<title>Database Management System (DBMS) Syllabus</title>
</head>
<body>
<h1>Database Management System (DBMS) Syllabus</h1>
<p>This course covers the following topics:</p>
<ul>
<li>Introduction to DBMS</li>
<li>SQL and NoSQL Databases</li>
<li>Database Design and Normalization</li>
<li>Transactions and Concurrency Control</li>
<li>Database Security</li>
</ul>
<a href="index.html">Back to Syllabus</a>
</body>
</html>

QUESTION 10-

Index.html

<!DOCTYPE html>

<html>

<head>

<title>Input and Output Devices</title>

</head>

<body>

<h1>Input and Output Devices</h1>

<p>Click on the images below to view the detailed descriptions:</p>

<h2>Input Devices</h2>

<a href="keyboard.html" target="_blank">

<img src="keyboard.jpg" alt="Keyboard" width="150" height="100">

</a>

<a href="mouse.html" target="_blank">

<img src="mouse.jpg" alt="Mouse" width="150" height="100">

</a>

<h2>Output Devices</h2>
<a href="monitor.html" target="_blank">

<img src="monitor.jpg" alt="Monitor" width="150" height="100">

</a>

<a href="printer.html" target="_blank">

<img src="printer.jpg" alt="Printer" width="150" height="100">

</a>

</body>

</html>

keyboard.html

<!DOCTYPE html>

<html>

<head>

<title>Keyboard</title>

</head>

<body>

<h1>Keyboard</h1>

<p>The keyboard is an input device that allows the user to enter text, numbers, and
commands into a computer. It is one of the primary ways users interact with
computers.</p>

<a href="index.html">Back to Devices</a>

</body>

</html>

mouse.html

<!DOCTYPE html>
<html>

<head>

<title>Mouse</title>

</head>

<body>

<h1>Mouse</h1>

<p>The mouse is an input device used to point to and select items on a computer
screen. It allows users to interact with the graphical user interface (GUI) of a
computer.</p>

<a href="index.html">Back to Devices</a>

</body>

</html>

monitor.html

<!DOCTYPE html>

<html>

<head>

<title>Monitor</title>

</head>

<body>

<h1>Monitor</h1>

<p>The monitor is an output device that displays information in visual form. It is the
screen on which you view your work, watch videos, and interact with software.</p>

<a href="index.html">Back to Devices</a>

</body>

</html>
printer.html

<!DOCTYPE html>
<html>
<head>
<title>Printer</title>
</head>
<body>
<h1>Printer</h1>
<p>The printer is an output device that produces a physical copy of digital
documents. It can print text and images on paper.</p>
<a href="index.html">Back to Devices</a>
</body>
</html>

QUESTION 11-
<!DOCTYPE html>
<html>
<head>
<title>Text Formatting Tags in HTML</title>
</head>
<body>
<h1>Text Formatting Tags in HTML</h1>
<table border="1" cellpadding="10">
<tr>
<th>Formatting Tags</th>
<th>Usage</th>
</tr>
<tr>
<td>&lt;b&gt;Bold&lt;/b&gt;</td>
<td><b>This text is bold.</b></td>
</tr>
<tr>
<td>&lt;i&gt;Italic&lt;/i&gt;</td>
<td><i>This text is italic.</i></td>
</tr>
<tr>
<td>&lt;u&gt;Underline&lt;/u&gt;</td>
<td><u>This text is underlined.</u></td>
</tr>
<tr>
<td>&lt;em&gt;Emphasized&lt;/em&gt;</td>
<td><em>This text is emphasized.</em></td>
</tr>
</table>
</body>
</html>

You might also like