iFocus.Life News News - Breaking News & Top Stories - Latest World, US & Local News,Get the latest news, exclusives, sport, celebrities, showbiz, politics, business and lifestyle from The iFocus.Life,

<div> Tag Styles

104 11

    What do Tags Do?

    • The tag is the fundamental portion of an HTML document. It sets up where the individual elements are supposed to go and also sections off properties for specific elements. Tags are used like a red rope, dividing a document into its primary sections. There are about 50 or so regularly used HTML tags which all serve a different purpose. These tags also include the style tag.

    <head> and <body> Tags

    • Two tags that nearly every HTML document will have are the <head> and the <body> tags. The <head> tag is located at the top of the document and contains all of the code that will affect the remainder of the Web page. You might find necessary JavaScript in this section or CSS code to provide style. In addition, you could place any calls to separate files that should be incorporated in the overall website's structure. The <body> tag is where you place the Web page's content. Here you will find the text, tables and graphics that make up what you see on a popular Web page.

    <table>, <td> and <tr> Tags

    • There are many ways to develop the structure of your HTML page. One is through the use of tables. Tables can help you organize the overall layout of your design. You accomplish this through the use of various table tags. The first is the <table> tag which indicates the beginning of the table. The <tr> tag defines a row and the <td> tag defines a cell. With these, you can begin to develop your framework.

    <style> Tag

    • A <style> tag is used to define style properties either in an element or throughout a document. The <style> tag is actually the beginning of a different type of code, referred to as CSS, which lets you manipulate the style properties of large documents with great ease. As an example, you could change all of the page headings to the color red with one line of code using the <style> tag, appropriate HTML tags and CSS.

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
You might also like on "Technology"

Leave A Reply

Your email address will not be published.