Friday, March 22, 2013

HTML Code; Learning HTML

HTML is the acronym for Hypertext Markup Language, which is the primary programming language used to write Web pages.
Learning some HTML can help you succeed as a blogger.
Understanding just a few HTML commands can help you enhance the formattng of your blog posts, your sidebar, and more. Although it is not necessary to become an HTML expert, every piece of HTML that you learn helps you grow as a blogger.


In simplest terms, HTML uses tags to provide instructions to your Web browser about how to display text and other elements. For example, if you want a specific word to appear in bold, you need to tell te Web browser to do so with HTML tags, Each instruction is provided by using an opening and closing HTML tag. In other words, if you want to tell your Web browser to do so with HTML tags. Each instruction is provided by using an opening and closing HTML tag. In other words, if you want to tell your Web browser to display a word in bold, you type the opening HTML tag followed by the word you want bolded and te closing HTML tag. HTML tags are always enclosed in brackets, and the closing tag is always preceded with a slash.
For example, if you want the sentence "The sun is yellow" to display online as "The sun is yellow," you tell your Web browser to do so as follows:
the sun is <start bold>yellow<end bold>
This is a laymans example, it would actually appear:
The sun is <b>yellow</b
Looking at the coding example above you can determine that the HTML tag <b> tells your Web browser to bold the text that follows the tag. The HTML tag</b> tells your Web Browser to stop bold.


To help you get started, following are some of the most common HTML tags that bloggers use.
  • Bond; <b> and </b>
  • Italics: <i> and </i>
  • Underline: <u> and </u>
  • Paragraph: <p>and </p>
  • Line break <br>
  • Hyperlink: <a href="ENTER URL HERE">text you want to appear as the link</a>
  • Font size: <font size=2>and </font>
  • Font color:<font color=green> and </font>
  • Numbered list: <ol> to start the list, <li> before each line item, <ol> fo end the list
  • Bulleted list: <ul> to start the list, <li> before each line item, </ul> to end the list

XHTML

Yes, XHTML is just slightly more structured HTML. Always lower case, and
XHTML forces you to rely on Cascading Style Sheets (CSS) for your formatting.

No comments:

Post a Comment