53 lines
1.2 KiB
HTML
53 lines
1.2 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>Git Test Page</title>
|
|
<style>
|
|
code{
|
|
font-family: Consolas, "courier new";
|
|
color: crimson;
|
|
background-color: #f1f1f1;
|
|
padding: 2px;
|
|
font-size: 105%;
|
|
}
|
|
.myDiv{
|
|
border: 5px outset red;
|
|
background-color: lightblue;
|
|
text-align: center;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<p><cite>welcome</cite>Hello New Git!!!</p>
|
|
<p>the HTML <code>button</code> tag defines a clickable button.</p>
|
|
<p>The CSS <code>background-color</code>property defines the background color of an element.</p>
|
|
|
|
|
|
<h1>The datalist element</h1>
|
|
|
|
<form action="/action_page.php" method="get">
|
|
<label for="browser">Choose your browser from the list:</label>
|
|
<input list="browsers" name="browser" id="browser">
|
|
<datalist id="browsers">
|
|
<option value="Edge">
|
|
<option value="Firefox">
|
|
<option value="Chrome">
|
|
<option value="Opera">
|
|
<option value="Safari">
|
|
</datalist>
|
|
<input type="submit">
|
|
</form>
|
|
|
|
<p><strong>Note:</strong> The datalist tag is not supported in Safari 12.0 (or earlier).</p>
|
|
|
|
<div class="myDiv">
|
|
<h2>This is a heaidng in a div element</h2>
|
|
<p>This is some text in a div element.</p>
|
|
</div>
|
|
|
|
|
|
|
|
</body>
|
|
</html>
|
|
|