<!DOCTYPE html>
<html>
<body>
<form action="">
Username: <input type="text" name="user"><br>
Password: <input type="password" name="password">
</form>
<p><b>Note:</b> The characters in a password field are masked (shown as asterisks or circles).</p>
</body>
</html>
<html>
<body>
<form action="">
Username: <input type="text" name="user"><br>
Password: <input type="password" name="password">
</form>
<p><b>Note:</b> The characters in a password field are masked (shown as asterisks or circles).</p>
</body>
</html>
html- insert horizontal line
<!DOCTYPE html>
<html>
<body>
<p>The hr tag defines a horizontal rule:</p>
<hr>
<p>This is a paragraph.</p>
<hr>
<p>This is a paragraph.</p>
<hr>
<p>This is a paragraph.</p>
</body>
</html>
<html>
<body>
<p>The hr tag defines a horizontal rule:</p>
<hr>
<p>This is a paragraph.</p>
<hr>
<p>This is a paragraph.</p>
<hr>
<p>This is a paragraph.</p>
</body>
</html>
html- time and date for website
<script
type="text/javascript">
var d=new Date();
document.write('Today is ' + d + '<br> '
;
</script>
var d=new Date();
document.write('Today is ' + d + '<br> '
</script>
HTML table code is made up of several tags, each tag is presented separately here.
The <table> Tag
<table
summary=""
align=""
width=""
dir=""
class=""
id=""
lang=""
title=""
style=""
bgcolor=""
frame=""
rules=""
border=""
cellspacing=""
cellpadding=""
onclick=""
ondbclick=""
onmousedown=""
onmouseup=""
onmouseover=""
onmousemove=""
onmouseout=""
onkeypress=""
onkeydown=""
onkeyup="" >
(td and tr tags go here - see below)
</table>
The <tr> Tag
This tag defines each row in the table.<tr dir="" class="" id="" lang="" title="" style="" bgcolor="" align="" valign="" char="" charoff="" onclick="" ondbclick="" onmousedown="" onmouseup="" onmouseover="" onmousemove="" onmouseout="" onkeypress="" onkeydown="" onkeyup="" > (td tags go here - see below) </tr>
The <th> Tag
This tag is optional and defines a header cell for header content.
<th headers="" scope="" abbr="" axis="" rowspan="" colspan="" nowrap="" width="" height="" dir="" class="" id="" lang="" title="" style="" bgcolor="" align="" valign="" char="" charoff="" onclick="" ondbclick="" onmousedown="" onmouseup="" onmouseover="" onmousemove="" onmouseout="" onkeypress="" onkeydown="" onkeyup="" > (the table header content goes here) </th>
The <td> Tag
This tag defines each cell in the table - it's where you put the actual content of the table.
<td headers="" scope="" abbr="" axis="" rowspan="" colspan="" nowrap="" width="" height="" dir="" class="" id="" lang="" title="" style="" bgcolor="" align="" valign="" char="" charoff="" onclick="" ondbclick="" onmousedown="" onmouseup="" onmouseover="" onmousemove="" onmouseout="" onkeypress="" onkeydown="" onkeyup="" > (the table content goes here) </td>
HTML Marquee Code
Left to right<marquee behavior="scroll" direction="left">Your scrolling text goes here</marquee>
More codes will be published shortly .
Keep visiting
mksfever.blogspot.in
0 comments:
Post a Comment