Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6472013
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T06:17:32+00:00 2026-05-25T06:17:32+00:00

Viewing the Twitter source and i came across this. Strange to see an ‘

  • 0

Viewing the Twitter source and i came across this. Strange to see an ‘a‘ element without a href attribute. When the user clicks the link, all that happens is a pop up appears, it doesn’t go to a different page, a la normal hyperlinks. Are they gaining any semantic kudos by using an ‘a‘ element without a href or is this very very bad markup? Why would they not just use the span with an id?

<a id="new-tweet" original-title="New Tweet">
      <span>New Tweet</span>
</a>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T06:17:32+00:00Added an answer on May 25, 2026 at 6:17 am

    An anchor is giving them the click appearance without having to style it in (e.g. cursor: pointer; cursor: hand;). It also allows them to make a more uniform feel across the page, instead of styling the “normal links” and ajax links separately.

    A’s can be used without a href attribute (they used to be used to reference sections of a page (combined with the name attribute, then link.html#name) before IDs started being the more definitive way to reference portions of a page).

    I would say they’re just keeping it “slim and trim”.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

While viewing the source of a web page, I came across this CSS, applied
Was viewing the source of Gmail for purely academic purposes and I came across
My chrome extension wont inject javascript when viewing twitter. My JSON is this content_scripts:
Im viewing an element with IE's F12 developer tools. I can see the styles
Viewing source, I have table data formatted exactly like this: <tr class=even> <td>apple</td> <td>pear</td>
I am trying to view Twitter comments in the source html, however on viewing,
When viewing this url http://dl.dropbox.com/u/1550420/jquery/flickr.html , we see a list of images pulling from
From viewing the source code that this code makes it looks like itemValue generate
When viewing lots of webpages' source code (like JS,CSS,HTML), I find them in one
While viewing jQuery's uncompressed source code I stumbled upon something I don't quite understand.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.