Computing.Net > Forums > Programming > Newline in HTML title text

Newline in HTML title text

Reply to Message Icon

Original Message
Name: esu (by Raj)
Date: December 15, 2003 at 13:03:49 Pacific
Subject: Newline in HTML title text
OS: Windows 2000
Comment:


Hi,

Quick question:
What is the exact HTML code that is required to insert a newline in the title text property of HTML elements like . Currently, I am making do with Shift-Enter character (practically invisible).
Both HTML number and HTML code would be appreciated.

Thanks


Report Offensive Message For Removal


Response Number 1
Name: Click_er
Date: December 15, 2003 at 15:21:59 Pacific
Reply: (edit)


means break will give you a newline


Report Offensive Follow Up For Removal

Response Number 2
Name: Click_er
Date: December 15, 2003 at 15:26:15 Pacific
Reply: (edit)

sorry for the error in my previous post
for some reason tags cannot be displayed on this site

you're looking for the BR (Break) tag in HTML

<_BR_> - ignore the underscore i'm using it so this tag would show up in the post


Report Offensive Follow Up For Removal

Response Number 3
Name: Sci-Guy
Date: December 16, 2003 at 02:33:38 Pacific
Reply: (edit)

<Tags can be displayed here.>
<BR> = Break
<HR> = Horizontal rule


Report Offensive Follow Up For Removal

Response Number 4
Name: SN
Date: December 16, 2003 at 06:56:31 Pacific
Reply: (edit)

I have no idea what the original question is...Are you trying to figure out how to make the TITLE element have a line break in it? This isn't possible, to my knowledge. I don't know what other sorts of HTML elements have title properties other than the base <HTML> element...

Good luck,
-SN


Report Offensive Follow Up For Removal

Response Number 5
Name: raylu
Date: December 31, 2003 at 11:56:26 Pacific
Reply: (edit)

[br] would give you a break, but not in the title tag. I don't quite understand the question either. You can't have a line break in the title.

I think what you are looking for is something like &-n-b-s-p-; and &-#-1-6-0-; (ignore the dashes, I had to do it so it would display correctly). However, that one is for space. I don't think there is one for a line break.


Report Offensive Follow Up For Removal


Response Number 6
Name: Code One
Date: January 4, 2004 at 11:00:35 Pacific
Reply: (edit)

a line break in the title .... what the fu...

that poposterous....

anyway....

if you guys use a little VB you can place codes here like so:

[code]
click me
[/code]


Report Offensive Follow Up For Removal






Use following form to reply to current message:

   Name: From My Computing.Net Settings
 E-Mail: From My Computing.Net Settings

Subject: Newline in HTML title text

Comments:

 


  Homepage URL (*): 
Homepage Title (*): 
         Image URL: 
 
Data Recovery Software




Have you ever used OpenOffice?

Yes, as my main suite.
Yes, occationally.
Yes, but only once.
No, never.


View Results

Poll Finishes In 5 Days.
Discuss in The Lounge