Remove Default Settings in HTML and CSS

Remove Default Settings in HTML and CSS

In this tutorial, we will learn the code of  “Remove Default Settings in HTML and CSS”.

Code of  “Remove Default Settings in HTML and CSS”

<html>
<head>
<style>

ul.r {
list-style-type: none;
margin: 0;
padding: 0;
}

</style>
</head>
<body>

<h1>Remove Default Settings:</h1>

<p>Default list:</p>
<ul>
<li>Tea</li>
<li>Coffee</li>
<li>Coca-Cola</li>
</ul>

<p>Remove bullets, margin and padding:</p>
<ul class=”r”>
<li>Tea</li>
<li>Coffee</li>
<li>Coca-Cola</li>
</ul>

<br>
<img src=”logo.jpg”/>

</body>
</html>

The output of code of  “Remove Default Settings in HTML and CSS”

Remove Default Settings in HTML and CSS
Figure: Remove Default Settings in HTML and CSS
Prof. Fazal Rehman Shamil
Latest posts by Prof. Fazal Rehman Shamil (see all)

    Buy advertisement space on T4Tutorials

    For more details email [email protected]