Register - Login
Views: 99805173
Main - Memberlist - Active users - Calendar - Wiki - IRC Chat - Online users
Ranks - Rules/FAQ - Stats - Latest Posts - Color Chart - Smilies
05-03-22 07:48:00 AM
Jul - Computers and Technology - HTML Question New poll - New thread - New reply
Next newer thread | Next older thread
Deleted User
Collection of nobodies
Posted on 07-23-07 11:51:07 PM Link | Quote
So what exactly is <a>? It seems to be the same as span because I can do <a style="blah"> or <span href="blah"> and produce the same results as if I had done it the other way around.

Also, on a related note, what exactly is the difference between span and div? And I suppose, between "a" "span" and "div".

____________________


===================
[Posted by NightKev]
Deleted User
Collection of nobodies
Posted on 07-23-07 11:56:24 PM Link | Quote
<a> is a link tag.

____________________


===================
[Posted by Grey Mario]
Deleted User
Collection of nobodies
Posted on 07-24-07 12:00:50 AM Link | Quote
Originally posted by Grey Mario
<a> is a link tag.
Well it's confusing. It seems like all these tags do the same thing. And you missed my other question which was "What's the difference between div and span?"

____________________


===================
[Posted by NightKev]
Deleted User
Collection of nobodies
Posted on 07-24-07 12:03:55 AM Link | Quote
Divs are positionable wherever you want them and are more customizable than spans.

Span tags don't affect an entire area, just text and images.

____________________


===================
[Posted by Grey Mario]
Deleted User
Collection of nobodies
Posted on 07-24-07 12:04:31 AM Link | Quote
Ok, thanks.

____________________


===================
[Posted by NightKev]
Rena
I had one (1) message in Discord deleted and proceeded to make a huge, huge mess about how it was a violation of free speech and how moderators are supposed to be spam janitors and nobody should have the right to tell me not to talk about school shootings
Level: 135


Posts: 274/5390
EXP: 29075638
For next: 259367

Since: 07-22-07

Pronouns: he/him/whatever
From: RSP Segment 6

Since last post: 342 days
Last activity: 342 days

Posted on 07-24-07 04:35:00 AM Link | Quote
JL2 - Post #274 - 07-23-07 11:35 PM
Day 1, rank 7; Level 11 (84.6%)
1329/1571 (5743/5985)
GPP: 31; GT: 48.246
Officially: span is inline, div is block.
Reality: span completely ignores all sizing parameters, div has a line break inserted before and after it.

____________________
Lyskar
12210
-The Chaos within trumps the Chaos without-
Level: 192


Posts: 236/12211
EXP: 99321410
For next: 552161

Since: 07-03-07

From: 52-2-88-7

Since last post: 7.4 years
Last activity: 7.3 years

Posted on 07-24-07 05:32:24 AM Link | Quote
07-23-07 11:32 PM
236 posts
20 days
Member

230
And nobody mentions that <a> is short for <a href="blah"> which allows you to link to things, <a name> which allows you to link to (or assign a name) to sections of a webpage, etc. etc.?

____________________
Dennis, on the Future of Remixing: "i think that it's going to become a sentient being that will destroy us all"Death to n00bs!
Rena
I had one (1) message in Discord deleted and proceeded to make a huge, huge mess about how it was a violation of free speech and how moderators are supposed to be spam janitors and nobody should have the right to tell me not to talk about school shootings
Level: 135


Posts: 293/5390
EXP: 29075638
For next: 259367

Since: 07-22-07

Pronouns: he/him/whatever
From: RSP Segment 6

Since last post: 342 days
Last activity: 342 days

Posted on 07-24-07 04:28:37 PM Link | Quote
JL2 - Post #293 - 07-24-07 11:28 AM
Day 2, rank 7; Level 12 (66.2%)
1281/1936 (7266/7921)
GPP: 37; GT: 49.919
Originally posted by Grey Mario
<a> is a link tag.



____________________
Lyskar
12210
-The Chaos within trumps the Chaos without-
Level: 192


Posts: 260/12211
EXP: 99321410
For next: 552161

Since: 07-03-07

From: 52-2-88-7

Since last post: 7.4 years
Last activity: 7.3 years

Posted on 07-24-07 10:22:56 PM Link | Quote
07-24-07 04:22 PM
260 posts
21 days
Member

260
Whoops... I saw that in reading this thread again. I think I thought of a different type of link... >.<

____________________
Dennis, on the Future of Remixing: "i think that it's going to become a sentient being that will destroy us all"Death to n00bs!
Deleted User
Collection of nobodies
Posted on 07-25-07 04:15:11 AM Link | Quote
<link rel>? (or whatever that is)

____________________


===================
[Posted by NightKev]
Tiden
Disgusting human being, just awful
Level: NaN


Posts: 280/-6493
EXP: NaN
For next: 0

Since: 07-03-07

Pronouns: they/them

Since last post: 4.1 years
Last activity: 3.6 years

Posted on 07-25-07 04:17:30 AM Link | Quote
Hmm...
Originally posted by NightKev
<link rel>? (or whatever that is)

The rel= attribute just states what relation the link has to the content. For example "stylesheet" simply states that the link will lead to a stylesheet (used by default, "alternate stylesheet" will just allow users to select other styles if their browser supports it.) It's only useful in the header of a document (<head></head>

____________________
This is some content for testing the signature class!
                
SquashMonster
Member
The sexiest yellow bastard you've ever met.
Level: 47


Posts: 25/465
EXP: 738013
For next: 28190

Since: 07-04-07


Since last post: 11.5 years
Last activity: 11.5 years

Posted on 07-25-07 10:32:54 AM Link | Quote
A is an anchor tag. It puts the HT in HTML. Technically, when you use a link, it doesn't go to a page, but rather to an anchor in a page. But most of us skip the part where you designate an anchor tag, so it defaults to the top.

Why they didn't make two tags, one anchor and one link, is beyond me. HTML is dumb.

____________________
Xkeeper

Level: 263


Posts: 1248/25353
EXP: 297141885
For next: 1818568

Since: 07-03-07

Pronouns: they/them/????????

Since last post: 3 days
Last activity: 47 min.

Posted on 07-25-07 10:28:44 PM Link | Quote

Daily Cycle II ~ 1248
Originally posted by SquashMonster
Why they didn't make two tags, one anchor and one link, is beyond me. HTML is dumb.

Eh, it seems to make sense since you access both with the same method (e.g. "a href=whatever.php#midpage")

I use them, for example, in the links

____________________

Next newer thread | Next older thread
Jul - Computers and Technology - HTML Question New poll - New thread - New reply


Rusted Logic

Acmlmboard - commit 47be4dc [2021-08-23]
©2000-2022 Acmlm, Xkeeper, Kaito Sinclaire, et al.

29 database queries.
Query execution time: 0.088113 seconds
Script execution time: 0.022670 seconds
Total render time: 0.110783 seconds