Geschreven door studenten die geslaagd zijn Direct beschikbaar na je betaling Online lezen of als PDF Verkeerd document? Gratis ruilen 4,6 TrustPilot
logo-home
College aantekeningen

Short and easy notes

Beoordeling
-
Verkocht
-
Pagina's
9
Geüpload op
09-02-2025
Geschreven in
2024/2025

The web designing notes is more helpful for BCA BTech students it increases your knowledge in IT department thankyou,☺️

Instelling
Vak

Voorbeeld van de inhoud

1. Write a HTML program to illustrate body and pre tags.

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>HTML Body and Pre Tags Example</title>
</head>
<body>
<h1>Example of Body and Pre Tags</h1>

<p>The <code>&lt;body&gt;</code> tag contains the main content of the HTML
document.</p>

<h2>Using the &lt;body&gt; tag</h2>
<p>This section is wrapped in the &lt;body&gt; tag, which defines the visible part of the
web page.</p>

<h2>Using the &lt;pre&gt; tag</h2>
<p>The <code>&lt;pre&gt;</code> tag is used to display preformatted text, maintaining
white spaces and line breaks as they are in the source code.</p>

<pre>
This is a block of preformatted text.
Line breaks are preserved here,
and multiple spaces are shown as is.
</pre>

<p>The <code>&lt;pre&gt;</code> tag is useful for displaying code or ASCII art where
formatting needs to be preserved.</p>

</body>
</html>

2. Write a HTML program to illustrate text font tags.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Text Font Tags Example</title>
</head>
<body>

<h1>Illustration of Font Tags in HTML</h1>

<h2><font color="blue">Using the <code>&lt;font&gt;</code> Tag</h2>

, <p>The <code>&lt;font&gt;</code> tag allows you to specify font size, color, and face
(type). <br>Example:</p>
<font face="Arial" color="green" size="4">
This is a text with <b>Arial</b> font, <i>green</i> color, and size 4.
</font>

<h2><font color="red">Using <code>&lt;b&gt;</code>, <code>&lt;i&gt;</code>, and
<code>&lt;u&gt;</code> Tags</h2>
<p>HTML also provides the following tags to change the style of text:</p>
<ul>
<li><b><font color="red">Bold Text</font></b>: Makes the text bold.</li>
<li><i><font color="purple">Italic Text</font></i>: Makes the text italic.</li>
<li><u><font color="orange">Underlined Text</font></u>: Underlines the text.</li>
</ul>

<h2>Example of Different Text Styles</h2>
<p><font color="blue" size="5"><b>This is a bold text.</b></font></p>
<p><font color="green" size="4"><i>This is an italic text.</i></font></p>
<p><font color="purple" size="3"><u>This is an underlined text.</u></font></p>

<h2>Deprecated <code>&lt;font&gt;</code> tag in HTML5</h2>
<p>Note that the <code>&lt;font&gt;</code> tag is considered obsolete in HTML5. It's
recommended to use CSS to style text instead. For example:</p>
<pre>
<code>
<style>
.custom-text {
font-family: Arial;
color: blue;
font-size: 20px;
}
</style>
<p class="custom-text">This is styled using CSS.</p>
</code>
</pre>

</body>
</html>

3. Write a HTML program to illustrate comment, header and div tags.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Comment, Header, and Div Tags Example</title>
</head>
<body>

Geschreven voor

Instelling
Vak

Documentinformatie

Geüpload op
9 februari 2025
Aantal pagina's
9
Geschreven in
2024/2025
Type
College aantekeningen
Docent(en)
Faculty staff
Bevat
Alle colleges

Onderwerpen

€7,59
Krijg toegang tot het volledige document:

Verkeerd document? Gratis ruilen Binnen 14 dagen na aankoop en voor het downloaden kun je een ander document kiezen. Je kunt het bedrag gewoon opnieuw besteden.
Geschreven door studenten die geslaagd zijn
Direct beschikbaar na je betaling
Online lezen of als PDF

Maak kennis met de verkoper
Seller avatar
yashipundhir

Maak kennis met de verkoper

Seller avatar
yashipundhir Sanskriti University chhata Mathura
Volgen Je moet ingelogd zijn om studenten of vakken te kunnen volgen
Verkocht
-
Lid sinds
1 jaar
Aantal volgers
0
Documenten
4
Laatst verkocht
-

0,0

0 beoordelingen

5
0
4
0
3
0
2
0
1
0

Recent door jou bekeken

Waarom studenten kiezen voor Stuvia

Gemaakt door medestudenten, geverifieerd door reviews

Kwaliteit die je kunt vertrouwen: geschreven door studenten die slaagden en beoordeeld door anderen die dit document gebruikten.

Niet tevreden? Kies een ander document

Geen zorgen! Je kunt voor hetzelfde geld direct een ander document kiezen dat beter past bij wat je zoekt.

Betaal zoals je wilt, start meteen met leren

Geen abonnement, geen verplichtingen. Betaal zoals je gewend bent via iDeal of creditcard en download je PDF-document meteen.

Student with book image

“Gekocht, gedownload en geslaagd. Zo makkelijk kan het dus zijn.”

Alisha Student

Bezig met je bronvermelding?

Maak nauwkeurige citaten in APA, MLA en Harvard met onze gratis bronnengenerator.

Bezig met je bronvermelding?

Veelgestelde vragen