Introduction to HTMLHTML stands for Hypertext Markup Language and it is the core of a basic web page. It describes the page structure and defines a set of common styles for Web pages, things such as headings, paragraphcs, lists, tables, etc. It also defines character styles such as Bold, Italics, etc. Each element has a name it is contained in tags that look like < >. HTML pages will look different in different browsers so it is best to create pages that work in most browsers and screen solutions. It is easy to learn because it is just plain language and it is also easy to use and remember. An example of a html code is the <font> tag and within that tag, you can add things such as color, size, etc. These are all very self-explanatory. Font is just basically another word for text, writing, etc. and it is used for defining the text. So that was easy, and color means color, nothing new, and size is obviously the size of the font/text. In the end the code would look something like this with everything in bold replaced:
<font size="font size" color="The color you want">
And the output (what it would look like on the web) is if I place the value 3 in-between the double quotes after size and red in color: And of course, you always have to end your tags with a closing tag which contains a / (backslash). If we were suppose to close the font tag, we would use </font>. The stuff/text that goes between the opening tag and closing tag would follow the rules of the tag. For example if I wanted to write Hi welcome to mysite101.com your help to creating your number one site but the your help to creating your number one site line was not inside the tags, it was after the </font> tag it would not follow the rules in the &at;font> tag. The HTML code would look like this
<font size="3" color="red">Hi welcome to mysite101.com</font> your help to creating your number one site
And the output would be Please note that not all HTML tags include a ending tag and an example would be the <br> tag which tells the browser to begin the text after it on a newline, but you can also put the closing in the tag like this <br />. So the beginning tag turns on a feature and everything following it is affected and the closing tag turns off the feature so everything behind the closing tag is not affected by the beginning tag. |