...:HTML:...
What is HTML?
- HTML is a language for describing web pages.
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 markup tags are usually called HTML tags
HTML tags are keywords surrounded by angle brackets like <html>
HTML tags normally come in pairs like <b> and </b>
HTML Documents - Web Pages
HTML documents describe web pages
HTML documents contain HTML tags and plain text
HTML documents are also called web pages
Now here is a little trick, open up Notepad and copy and pase this in it:
- Code:
<html>
<title>Home</title>
<body bgcolor="yellow">
<body>
<h1>My First Heading</h1>
<p>The first code that made the background yellow was the one called "<b>body bgcolor="yellow"</b>"
</p>
<p>My first paragraph.</p>
<p><big>Big Text</big></p>
<p><i>Italic text</i></p>
<p><b>Bold text</b></p>
<p>Example<sub>Subscript text</sub></p>
<p>Another<sup>Example</sup></p>
<p><q>A quote</q></p>
<p><u>Underline</u></p>
<a href="http://godishgfxadicts.forumotion.com/">This is a link</a>
<center>Centered text</center>
<align=left>Left text</align>
<p><big><b>Harder things start here:</big></b></p>
<p style="font-family:courier new; color:red; font-size:20px">See Now?</p>
<p>Here is a table:
<table border="1">
<tr>
<td>row 1, cell 1</td>
<td>row 1, cell 2</td>
</tr>
<tr>
<td>row 2, cell 1</td>
<td>row 2, cell 2</td>
</tr>
</table>
</p>
<p>Lists in HTML
<ul>
<li>Dogs</li>
<li>Cats</li>
</ul>
or
<ol>
<li>Dogs</li>
<li>Cats</li>
</ol>
</p>
<p><b>Forms in HTML</b>
<form>
Do you have a bike?:
<input type="checkbox" name="vehicle" value="Bike">
<br>
Do you have a car?:
<input type="checkbox" name="vehicle" value="Car">
<br>
Do you have an airplane:
<input type="checkbox" name="vehicle" value="Airplane">
</form>
or
<form name="input" action="html_form_submit.asp"
method="get">
Username:
<input type="text" name="user">
<input type="submit" value="Submit">
</form>
or
<form>
<input type="radio" name="sex" value="male"> Male
<br>
<input type="radio" name="sex" value="female"> Female
</form>
</body>
</html>
Now go to File>Save As and name the document
- Code:
Test.htm
What you see is a result of the coding I made. That's what it would look like if it were hosted on the Internet.
Hope you found this useful^^.
Would be glad to hear some feedback