01-Web Technology HTML Examples
01-Web Technology HTML Examples
1.
<!DOCTYPE html>
<html>
<body>
</body>
</html>
2. <!DOCTYPE html>
<html>
<body>
</body>
</html>
3. <!DOCTYPE html>
<html>
<body>
<h2>HTML Links</h2>
</body>
</html>
4. <!DOCTYPE html>
<html>
<body>
<h2>HTML Images</h2>
</body>
</html>
(Copy any one JPG file from your c:\windows\web\wallpaper folder and use its name in <img src=””> place)
5. <!DOCTYPE html>
<html>
<body>
<h2>HTML Buttons</h2>
<button>Click me</button>
</body>
</html>
6. <!DOCTYPE html>
<html>
<body>
<ul>
<li>Coffee</li>
<li>Tea</li>
<li>Milk</li>
</ul>
<ol>
<li>Coffee</li>
<li>Tea</li>
<li>Milk</li>
</ol>
</body>
</html>
7. <!DOCTYPE html>
<html>
<body>
<p title="I'm a tooltip">Mouse over this paragraph, to display the title attribute as a tooltip.</p>
</body>
</html>
8. <!DOCTYPE html>
<html>
<body>
<hr>
<hr>
</body>
</html>
9.
<!DOCTYPE html>
<html>
<head>
<head>
<meta charset="UTF-8">
<meta name="description" content="Free Web tutorials">
<meta name="keywords" content="HTML, CSS, JavaScript">
<meta name="author" content="John Doe">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
</head>
</head>
<body>
<br>Meta data is data about the HTML document. This line is in new line due to linebreak</p>
</body>
</html>
<html>
<body style="background-color:powderblue;">
<h1>This is a heading</h1>
<p>This is a paragraph.</p>
</body>
</html>