Saturday, June 11, 2016

About anchors

The <a> tag is used to define a hyperlink.


Most common usage for the <a> is the href attribute which describes a links destination....see below...
d

<!DOCTYPE html>
<html>
<body>

<a href="http://www.surfing.com">Visit Surfing.com!</a>

</body>


</html>

About div

<div style="color:#0000FF">
  <h3>This is a heading</h3>
  <p>This is a paragraph.</p>
</div>


The <div> tag  describes a part or section in an HTML document.

The <div> tag can also be used to group elements with CSS.


HTML Firsts

Every HTML5 site has the following basic template


<!doctype html>

<html>

<head>
<title> Surf Site </title>
</head>
<body style="margin:0;background-color:gray;color:white">
<div>


<h1 style="margin:0;background-color:#53324d; padding: 10px"> SURFSTUFF </h1>


<p style="margin:0; background-color: #000000; padding: 10px"">
Just some rad stuff!

</p>
<img src=""

</div>
</body>

</html>