/    Sign up×
Community /Pin to ProfileBookmark

Is this correct use of ‘&nbsp’ ??????

<P><CENTER><B><U>I GAVE THIS MY BEST TRY BUT<br><br>I AM NO GOOD AT HTML &nbsp&nbsp&nbsp&nbsp<IMG SRC=”checkmark.gif”>

could not get this to work putting opening and closing tags, does this command not use them, if I am wrong here, please give an example, the code above does seem to work fine !!??

to post a comment
HTML

8 Comments(s)

Copy linkTweet thisAlerts:
@FangNov 07.2004 — [URL=http://www.w3schools.com/css/default.asp]read[/URL]
Copy linkTweet thisAlerts:
@MstrBobNov 07.2004 — <i>
</i>&lt;p&gt;I gave this my best try.&lt;/p&gt;
&lt;p&gt;But, I don't know &lt;acronym title="Hyper Text Markup Language"&gt;HTML&lt;/acronym&gt; very well.&lt;img src="checkmark.gif" alt="A Checkmark" width="10" height="10" style="margin-left:4em;"&gt;&lt;/p&gt;


And for future reference, it is &amp;nbsp; which is then rendered as a non-breaking space.

http://www.asciitable.com/
Copy linkTweet thisAlerts:
@carpetpaulauthorNov 07.2004 — holy Jesus? - I thought this was a question for which there was an easy answer, have I not seen &nbsp on some big-ish sites ? - I've seen it applied with a whole strig of them, for which I could imagine there was a better way. For my purpose, only to space my 'tick' mark a couple of spaces further on, is it still wrong ?

As for the gent above who pointed me towards the 'css' tutorial, I've only scratched the surface of the style stuff, and was not aware that it could be put to use to do what I need, an axample would be great if it's easy for anyone to do.

Re : mstrBob's post:-

<p>I gave this my best try.</p>

<p>But, I don't know <acronym title="Hyper Text Markup Language">HTML</acronym> very well.<img src="checkmark.gif" alt="A Checkmark" width="10" height="10" style="margin-left:4em;"></p>

I've tried this, and thankyou, it works great !

1, can the <acronym> have any length of description attatchd ?

2, does the style="margin-left:4em;"> put space to the left of the 'tick' what measurement is 4em ?





I know I had missed the 'Alt and the 'size' bits out but if I had posted <img src="checkmark.gif" style="margin-left:4em;"></p>

this is better than the &nbsp ?
Copy linkTweet thisAlerts:
@carpetpaulauthorNov 07.2004 — the majority of what was on http://www.asciitable.com/ I didn't really understand, but I can tell you my best reaction time was 0.25seconds, and my hand is aching from the mouse ticking game, with a score of 53. I am blaming my mouse for that score whatever !

hehe

Paul
Copy linkTweet thisAlerts:
@MstrBobNov 07.2004 — (1) The acronym tag's title should hold the definiton of the acronym, and can very in length

(2) An em is a relative unit of measure. It's great to use for fonts, but can also be used of other measurements. It's better than pixels (px) because it is relative, as in if the user increases their text size, the em will increase. I used 4 em because you used for non-breaking spaces, and I figured it would be rather close to that as well.

(3) &amp;nbsp; should scarecly be used. If it's being used, and especially in a string, than the designer doesn't know what they're doing. If they're doing that, then they're probably using other obsolete things like the <font> or <center> tag. CSS should control all your page's styling.

(4) Always give an image alternate text describing the image, and define it's dimensions. Alternative text is necessary for search engines, and devices that don't support images, and if your images for some reason don't show up. Defining the dimensions of the image helps the browser better render your site. If not, it can cause things to jump around and you may have some issues. Plus, if the image doesn't show, the height space is still preserved.
Copy linkTweet thisAlerts:
@carpetpaulauthorNov 07.2004 — thanks for the great advice, why do all the beginner tutorials teach you <font> <center> etc ?

Anyway, I'll read up about css, based on what you have said, it certainly seems the way to go

Cheers for all your help !

-Paul
Copy linkTweet thisAlerts:
@MstrBobNov 08.2004 — Most of the articles for beginners are actually older, and most of the writers still don't know how to properly build a webpage today.
×

Success!

Help @carpetpaul spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.18,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...