Inline Elements
Inline Elements
Inline Elements
<abbr>
<!DOCTYPE html>
<html>
<body>
</body>
</html>
—————————————————————
2.
<!DOCTYPE html>
<html>
<head>
<style>
table, th, td {
</style>
</head>
<body>
<table>
<caption>Monthly savings</caption>
<tr>
<th>Month</th>
<th>Savings</th>
</tr>
<tr>
<td>January</td>
<td>$100</td>
</tr>
<tr>
<td>February</td>
<td>$50</td>
</tr>
</table>
</body>
</html>
—————————————————————————————————
3.
<!DOCTYPE html>
<html>
<head>
<style>
h1 {text-align: center;}
p {text-align: center;}
</style>
</head>
<body>
<h1>This is a heading</h1>
<p>This is a paragraph.</p>
<div>This is a div.</div>
</body>
</html>
——————————————————————————————————
4. code
<!DOCTYPE html>
<html>
<body>
<code>
C Program
int main()
int a,b;
printf("welcome to C Programming");
</code>
</body>
</html>
———————————————————————————————————
5. em
<!DOCTYPE html>
<html>
<body>
<h1>The em element</h1>
</body>
</html>
——————————————————————————————————-
6. style
<!DOCTYPE html>
<html>
<body>
<p>I am normal</p>
fi
<p style="font-size:50px;">I am big</p>
</body>
</html>
——————————————————————————————————
7. lists
<!DOCTYPE html>
<html>
<body>
<ol type="A">
<li> Product1</li>
<li>Product2</li>
</ol>
</body>
</html>
——————————————————————————————————-
8. GuessThe Output
<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
</head>
<body>
<h3>Placing Orders</h3>
Call in person for orders < Rs. 500 .<br/> <i> "
<pre>
Mysuru,
Karnataka, India
</pre>
</body>
</html>
——————————————————————————————————-
9. All Tags
<!DOCTYPE html>
<html>
<head>
<title>Basic Tags</title>
</head>
<body>
<h1>Heading h1</h1>
<h2>Heading h2</h2>
<h3>Heading h3</h3>
<h4>Heading h4</h4>
<h5>Heading h5</h5>
<h6>Heading h6</h6>
<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum
has been the industry's standard dummy text ever since the 1500s, when an unknown printer
took a galley of type and scrambled it to make a type specimen book. It has survived not only ve
centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was
popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages,
and more recently with desktop publishing software like Aldus PageMaker including versions of
Lorem Ipsum.
</p>
<hr>
<p>This is a sample<br>
paragraph.</p>
<code>
console.log("Hello World!");
</code>
<br>
<code>
</code>
<p>This is a
Sample
Paragraph.
</p>
<pre>This is a
Sample
Paragraph.
</pre>
<img src="https://www.dyclassroom.com/image/dyclassroom-logo-black-311x48.png">
<a href="https://www.dyclassroom.com">
<img src="https://www.dyclassroom.com/image/dyclassroom-logo-black-311x48.png">
</a>
</body>
</html>
fi