Google Ads

Category: Uncategorized


Learn Control List Counting – HTML Code

 

By default, an ordered list will start counting from 1. If you want to start counting from a specified number, you can use the start attribute:

 

Code:

<ol start="50">
<li>Coffee</li>
<li>Tea</li>
<li>Milk</li>
</ol>

<ol type="I" start="50">
<li>Coffee</li>
<li>Tea</li>
<li>Milk</li>
</ol>

 

Try Your Self ->

 


Learn Nested HTML Lists – HTML Code

List can be nested (lists inside lists):

 

Code:

<ul>
<li>Coffee</li>
<li>Tea
<ul>
<li>Black tea</li>
<li>Green tea</li>
</ul>
</li>
<li>Milk</li>
</ul>

 

Try Your Self ->

 


Learn HTML Links – Hyperlinks – HTML Code

You can click on a link and jump to another document.

When you move the mouse over a link, the mouse arrow will turn into a little hand.

 

Code:

<p><a href="https://www.w3schools.com/html/">Visit our HTML tutorial</a></p>

 

Try Your Self ->

 


Learn CSS Padding HTML Code

 

Code:

<style>
p {
border: 1px solid powderblue;
padding: 30px;
}
</style>

 

Try Your Self ->

 


Learn Internal CSS HTML Code

 

Code:

<!DOCTYPE html>
<html>
<head>
<style>
body {background-color: powderblue;}
h1 {color: blue;}
p {color: red;}
</style>
</head>
<body>

<h1>This is a heading</h1>
<p>This is a paragraph.</p>

</body>
</html>

 

Try Your Self ->

 


Learn HTML address for Contact Information HTML Code

Code:

<address>
Written by John Doe.<br>
Visit us at:<br>
Example.com<br>
Box 564, Disneyland<br>
USA
</address>