Note:This is part one of two,i will be adding another post on HTML tomorrow.
A few basic facts:
A few basic facts:
HTML stands for Hyper Text Markup Language
HTML is not a programming language, it is a markup language
A markup language is a set of markup tags
HTML uses markup tags to describe web pages
HTML Tags
HTML tags are keywords surrounded by angle brackets like <html>
HTML tags normally come in pairs like <b> and </b>,the tag with a / at the beginning represents the end of a tag.
The first tag in a pair is the start tag, the second tag is the end tag
Start and end tags are also called opening tags and closing tags
HTML Documents = Web Pages
HTML documents describe web pages
HTML documents contain HTML tags and plain text
HTML documents are also called web pages
The purpose of a web browser like Internet Explorer (Internet Explorer being a poor browser,i would recommend using Google Chrome) is to read HTML documents and display them as web pages. The browser does not display the HTML tags, but uses the tags to interpret the content of the page.
Example one :
<html>
<body>
<b>the letter b stands for bold</b>
</body>
</html>
Explained:
The text between <html> and </html> describes the web page.
The text between <body> and </body> is the visible page content.
The text between <b> and </b> is bold.
Anyone can make a webpage,even in a simple program like Notepad,save the file as a .html and when it opens it will open in your browser.
Here is a list of commonly used HTML tags:
<b>"text"</b> :shows "text" in bold
<h1>"text"</h1> :heading one,this tag works up until heading 6,each heading is a smaller size.
<p>"text"</p> :new paragraph ,text=what you want it to say.
<h1>"text"</h1> :heading one,this tag works up until heading 6,each heading is a smaller size.
<p>"text"</p> :new paragraph ,text=what you want it to say.
<a href="websiteurl eg hackinland.blogspot.com">text</a> :a href=".." is the url of the website you want it to link to,and the >text</a> is what you want the hyperlink to say eg "click here"
<img src="image.jpg" width="100" height="100" /> : img src="image.jpg" is the image you want it to show,it can be replaced with any image url. width/height is how big and wide you want the image to be.
No comments:
Post a Comment