473,385 Members | 1,341 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Unbreaking link text

Given a choice between:

1. <A HREF=z><NOBR>Non breaking link</NOBR></A>
2. <NOBR><A HREF=z>Non breaking link</A></NOBR>

.... a nothing else; absolutely nothing else, is there any reason to
chose one in preference to the other? There's no visible difference in
any browser that I've tried.

--
Steve Swift
http://www.swiftys.org.uk/swifty.html
http://www.ringers.org.uk
May 23 '07 #1
3 2675
Scripsit Steve Swift:
Given a choice between:

1. <A HREF=z><NOBR>Non breaking link</NOBR></A>
2. <NOBR><A HREF=z>Non breaking link</A></NOBR>

... a nothing else; absolutely nothing else, is there any reason to
chose one in preference to the other?
Hardly. Well, there's a slight (imaginary) chance that some software
analyzes links in a manner that gets disturbed by extra markup inside the A
element, so when forced to choose, I'd probably choose option 2.

--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/

May 23 '07 #2
Steve Swift wrote:
Given a choice between:

1. <A HREF=z><NOBR>Non breaking link</NOBR></A>
2. <NOBR><A HREF=z>Non breaking link</A></NOBR>

... a nothing else; absolutely nothing else, is there any reason to
chose one in preference to the other?
Technically, no.
I'd prefer the first since it links the whole context of the link text,
formatting and all.
It would be better to create a style for non-wrapping link text rather
than do that inline. Likely you do this in more than one place, yes?

--
jmm (hyphen) list (at) sohnen-moe (dot) com
(Remove .AXSPAMGN for email)
May 23 '07 #3
Steve Swift wrote:
Given a choice between:

1. <A HREF=z><NOBR>Non breaking link</NOBR></A>
2. <NOBR><A HREF=z>Non breaking link</A></NOBR>

... a nothing else; absolutely nothing else, is there any reason to
chose one in preference to the other? There's no visible difference in
any browser that I've tried.
I like neither and prefer CSS:

A { white-space: nowrap; }

--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
May 25 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Matt Adams | last post by:
As well known I could specify the text color in the body tag like: <BODY TEXT=WHITE LINK=WHITE VLINK=RED ALINK=WHITE> What I want to achieve now is that always (!) the text of the last visited...
6
by: Olly | last post by:
I've found a basic script, however I also need to add alt and title attributes as well, how would I go about doing this? Here's the script I found: Thanks <script language="JavaScript"> <!--...
2
by: Kevin Lyons | last post by:
Hello, Can anyone assist me with what I am trying to do with the following code (six different scenarios to try to make the functionality work correctly)? I want to always (and ONLY) display...
4
by: kevinm3574 | last post by:
I've got a link defined in my html as href="abc123.html" in a <div id="abc123"> block. The link text displays just fine but the link won't show as an available link. If I change the <div id from...
4
by: Franklin | last post by:
WITHOUT KNOWING ANYTHING ABOUT THE CURRENT COLORS, I want to swap the foreground/background colors of a link when someone hovers over it. Is this possible with HTML, CSS, DOM, & JavaScript? If...
6
by: Karl | last post by:
Hi, Ok so on a given page I have 4 text links: see it in black see it in blue see it in red see it in green using the standard swap image behavior, clicking on one of the above links
3
by: nick | last post by:
I have the following code in my master page: <%@ Master Language="C#" AutoEventWireup="true" CodeFile="MasterPage.master.cs" Inherits="MasterPage" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0...
7
by: D.M. Procida | last post by:
<http://www.w3.org/QA/Tips/noClickHeresays: When calling the user to action, use brief but meaningful link text that: * provides some information when read out of context * explains...
4
by: farhanm84 | last post by:
I have a requirement to display the link in colum format in IE browser. The link text is associated with an image (double arrow). Since the text of the link is large enough to set in one of the...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.