dcsimg
A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: How do you add a <br> tag?

  1. #1
    Senior Member flipsideguy's Avatar
    Join Date
    Dec 2000
    Location
    Sweden
    Posts
    834

    How do you add a <br> tag?

    Hi,

    I have a very basic xml file with html tags. But when I add a < br > tag I get problems. Probably because there is no < /br > tag.

    I need to be able to style the content like so:

    Client:
    Some Client

    Project:
    Web Design

    But I can't get it to work. So what do I have to do?

    Thanks for your help.

    /Flip
    Flipsideguy

  2. #2
    Senior Member
    Join Date
    Feb 2002
    Posts
    147
    You can just have < br/>. The slash at the end of the tag indicates that there is no closing tag. From the point of view of the XML validator, it means the same as < br>< /br>.

  3. #3
    Senior Member flipsideguy's Avatar
    Join Date
    Dec 2000
    Location
    Sweden
    Posts
    834
    Nice one!
    Thanks a bunch. Funny they don't mention this much at the various resource sites out there. Is < br / > the same as < br/ > ?

    Again, thanks for your help.

    Now I can meet the May 1 reboot date

    /Flip
    Flipsideguy

Posting Permissions

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




Click Here to Expand Forum to Full Width

HTML5 Development Center