HTML Basics : New Paragraph, Line Break, Bold, Centering text, Change text color, Changing font face, Blinking Text, Scrolling Text.

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 Basics

Before I get started, you should know that HTML code almost always uses beginning and ending tags. These tags surround the text that will be affected by the code.

A beginning tag is generally a word surrounded by brackets. The closure tag is surrounded by the same brackets but with a forward slash right after the opening bracket.

For example, if you want to bold a portion of a sentence, then you would use for the opening tag and for the closing.

Let’s say you want to bold the word "Hello!" in the sentence below. Then your HTML code would look like this:

Hello! My name is Carla.

The output would be:

Hello! My name is ..........

Only the word "Hello!" is bolded because the tags surround that word. If you wanted to bold the entire sentence, then you would have put the closure tag, , after the word "Carla". Be sure to always include your closing tag because if you forget, your entire page will be affected by the tag.

You can apply this same concept to many other HTML codes. Here are several of the basics...

0 comments:

Post a Comment