Posts Tagged ‘tags’
Html Easy Tags
Ok so now we are started and we have an elementary sense of HTML. We’ll be going over some of the more common tags used a lot in HTML.
First, the tags always have <> around them, they end with </>. The first tag will be the <p> tag. This describes a paragraph.
Then there is the <h> tag, it spans from <h1> to <h6> this describes how big a heading will be.
The <br> tag describes a break in text. You have to close a break tag like so: <br/>
The horizontal rule is a way to have a line across your page. You leave the<hr> tag to do so.
Finally, the comment tag. A comment in the code is not read by the browser but is a way to leave notes for yourself and other things too. You do this by:
<!– this is a comment –>
This is just a brief overview of HTML elements or tags. As always thanks for reading.
Sincerely,
Brick
Tags: break, comment, heading, horizontal rule, html, tags
Html Introduction
Today we are going to talk about one of the simplest web development languages there is around; HTML or Hyper Text Markup Language. HTML is a set of markup tags that tells the browser what to display.
The way i learned was from windows notepad but if you have a Mac you can start simple text. Type this in your text editor.
<html>
<head>
<title> title of page </title>
</head>
<body>
My first home page
</body>
</html>
Save this page as page.htm, then open it in your browser by hitting CTRL+O and selecting the document.
Ok so the tag <html> is saying that it is and HTML document. The <head> tag is header information that is not displayed on the browser. The <title> tag is obiously the title that is displayed in the browser caption. The <body> tag dispays whatever is in between it. One tip is to always leave your tags lowercased as this is becoming the standard. As always thank you for reading.
Sincerely,
Brick
Tags: html, mac, tags, text editor, windows, windows notepad