www.webdeveloper.com
Results 1 to 7 of 7

Thread: What is the html tag that indicates a line break?

Hybrid View

  1. #1
    Join Date
    Dec 2012
    Posts
    1

    What is the html tag that indicates a line break?

    What is the html tag that indicates a line break?

  2. #2
    Join Date
    Mar 2012
    Posts
    1,122
    Why don't you look it up in an HTML on line manual. Then you will know where to look in future as well...

    But anyway, there is an explicit line break <br> but that is often unnecessary. Many tags (like <p> <ul> <ol> etc...) default to block mode, which has an implied line break. So look up "block mode", "inline mode" and "inline-block mode" as well.

    Good luck...

  3. #3
    Join Date
    Dec 2012
    Posts
    19
    Most common is <br> or you could use <hr> what leave a white line in between the hr element can be styled aswell like. . .


    <style>
    hr {
    border-top:1px solid #333;
    border-left:1px solid #333
    border-right:1px solid #666;
    border-bottom:1px solid #666;
    }
    </style>


    example . . . .

    <p>my papa smurf wants to brake dance on a pile of cow muc<hr>Becuase he is a legend</p>

  4. #4
    Join Date
    Dec 2012
    Location
    Melbourne
    Posts
    3
    or Use CSS

    br '{
    clear: right;
    }


    Which will make sure you start with a new line

  5. #5
    Join Date
    Sep 2012
    Posts
    4
    Br is the html tag which is used to break a line.

  6. #6
    Join Date
    Dec 2012
    Location
    India
    Posts
    4
    <br> tag most commonly used for break a line

  7. #7
    Join Date
    Dec 2012
    Posts
    52
    <img src=about_logo.gif" style="width:137px; height:48px; border: none; float: left;" alt="About.com" />
    This text will be to the right of the image.<br />
    This will be too.<br clear="left" />

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles