Get the latest news, exclusives, sport, celebrities, showbiz, politics, business and lifestyle from The VeryTime,Stay informed and read the latest news today from The VeryTime, the definitive source.

What Kinds of Tags Are There?

14

    Paragraph Tag

    • The paragraph tag is one of the most straightforward tags, and is used to denote a paragraph on a Web page. To use the paragraph tag, first open the IDE (Integrated Development Environment) of your choice -- a simple text editor such as Notepad will suffice for basic HTML work -- and start with the first paragraph tag "<p>". Enter your paragraph text and close the paragraph tag as follows: "</p>". Your overall syntax should like:

      <p>Paragraph text here.</p>

    Bold Tag

    • The bold tag is used for making a section of text appear bold on a Web page. This tag is relatively straightforward, and is similar in syntax to the paragraph tag. Again, open the program you are using to edit HTML and start with the first tag: "<b>". Enter the text you want bold and close the tag as follows: "</b>". Your overall syntax should look like:

      <b>Text you want bold.</b>

    Break Tag

    • The break tag is a little different than the bold and paragraph tags, but is very useful as well. This tag defines a single line break. To use this tag, place it after a section of text in which you want a line break to occur. The break tag syntax is as follows:

      Section of text. <br />

      For example, the following HTML would be displayed as follows on a Web page:

      <p>This is an example<br />of using the break tag.</p>

      This is how it would look to the reader:

      This is an example

      of using the break tag.

    Script Tag

    • This tag may be necessary in more advanced situations. The text tag specifies a client-side script, such as Javascript, that you may need for a website. To use the script tag, first open the IDE of your choice. The syntax is as follows:

      <script>

      Enter script code here (ex: Javascript)

      </script>

      Save any necessary changes to your code. Using this knowledge, you should be able to use a number of HTML tags in a variety of contexts.

Source...
Subscribe to our newsletter
Sign up here to get the latest news, updates and special offers delivered directly to your inbox.
You can unsubscribe at any time

Leave A Reply

Your email address will not be published.