Results 1 to 6 of 6

Thread: Need Semantic HTML tags and attributes

  1. #1
    Join Date
    Feb 2010
    Posts
    701

    Need Semantic HTML tags and attributes

    Hi all,

    I build a website over HTML interface. I need to use semantics and the default style in my web page. I need some tags that allow everyone an intuitive understanding of markup and attributes of the purpose and role. Please suggest some Semantic HTML tags and attributes. Thanks in advance.

  2. #2
    Join Date
    Jan 2008
    Posts
    1,521

    Need Semantic HTML tags and attributes

    The benefits of semantic web pages, the most important thing is search engine friendly, but also a good structure and semantics of your content is naturally easy to be search engines to crawl your site to promote it could save a lot of effort. The specific semantics and use in, XHTML1.0 TAG Reference have been used.
    Code:
    <Hx>
    <h1>, <h2>, <h3>, <h4>, <h5>, <h6>, as the title to use, and based on the importance of decreasing. <h1> is the highest rating
    .

  3. #3
    Join Date
    Feb 2008
    Posts
    1,852

    Re: Need Semantic HTML tags and attributes

    You can also use <p> tag. Paragraph marks, know <p> as a paragraph, you will no longer use <br/> to wrap, and it does not require <br/> <br/> to distinguish paragraphs and paragraphs. <p> </ p> The text will automatically wrap, but wrap is better than the <br>. The gap between the paragraphs and paragraphs can also use CSS to control, it is easy and clear to distinguish paragraphs and paragraphs. In the use of line-height of the definition of easy travel distance, and then sinking effect of the definition of the word first, then quite perfect. Check and reply.

  4. #4
    Join Date
    May 2008
    Posts
    2,389

    Re: Need Semantic HTML tags and attributes

    I am using <ul> tag that unordered list, it is common to all widely used, <ol> ordered list is also quite common. In the web standardization process, <ul> also more for the navigation bar, originally the navigation bar is a list, it would be entirely correct, but if your browser does not support CSS when the navigation links are still good so that the aesthetics not quite right. Check and reply.

  5. #5
    Join Date
    Oct 2005
    Posts
    2,393

    Re: Need Semantic HTML tags and attributes

    You can use dl that is the "definition list." For example, the interpretation of the word inside the dictionary to define a list that can be used. For example:

    Code:
    <dl>
    <dt> Dog </ dt>
    <dd> A carnivorous mammal of the family Canidae. </ dd>
    </ dl>

  6. #6
    Join Date
    May 2008
    Posts
    2,297

    Need Semantic HTML tags and attributes

    Forum and blog often used in reference to other people, to mark with <q> short single reference. Web browser will automatically identify the <q> between the content. Unfortunately, IE does not recognize, and in some cases, <q> give rise to a number of accessibility problem. Because of this, some people have suggested as far as possible not to use <q>, manually insert the reference mark. In a class that contains the appropriate <span> adding a reference to the contents of a single row, you can use CSS to give the reference design styles, but this is not semantic meaning. Best of luck.

Similar Threads

  1. Are HTML Tags available in Hindi
    By Glasney in forum Software Development
    Replies: 6
    Last Post: 30-12-2011, 04:45 PM
  2. Style HTML Elements With Specific Attributes
    By Bigga Lexx in forum Software Development
    Replies: 5
    Last Post: 02-02-2010, 04:45 AM
  3. <iframe> tag Standard Attributes for HTML
    By Jesus-Ernesto in forum Software Development
    Replies: 3
    Last Post: 08-12-2009, 02:31 AM
  4. html tags in windows
    By b.venu in forum Operating Systems
    Replies: 1
    Last Post: 17-09-2009, 12:28 PM
  5. About Hidden tags in HTML
    By OmiWalia in forum Software Development
    Replies: 3
    Last Post: 06-08-2009, 10:45 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,558,082.17393 seconds with 16 queries