»
S
I
D
E
B
A
R
«
+
More
Recent News and Links
  • No bookmarks avaliable.
Anchor Text: The meat of the link
Jun 11th, 2009 by webpaws

Anchor Text: the meat of links, the nervous system of the Web

Anchor text is the visible text that is anchored to a hyperlink (web link on a web page).  This is important because the internets primary purpose is to display pages and link them to other pages of relevant content to enhance your browsing experience.  There are many kinds of links, but the primary static text/image linked links are the most common and found on most every web page on the internet.  Further examination of links in XHTML (Extensible Hypertext Markup Language) of a hyperlink code may look like this:

CODE:
<a href="http://web.marketing.webpaws.com/">WebPaws.com&rsquo;s Internet Marketing Services</a>

HOW YOUR BROSWERS DISPLAYS IT:
WebPaws.com’s Internet Marketing Services

We will now review the XHTML code including the meat of the link, the anchor text.  An “a” tag means the anchor or start of a link, where we start the hyperlink code.  The “href” is the hyperlink reference or the URL (Uniform Resource Locator) that tell your computer’s browser where to go for the specific information (linked page) and download and pull it up in your browser.  The anchor text is text sandwiched between the opening <a> tag and the closing </a> tag.  In this example, the anchor text is “WebPaws.com’s Internet Marketing Services” and is the text that is associated with the link “http://web.marketing.webpaws.com/”.

This is an important key factor in increasing your search engine rankings because the search engines use this (anchor) text to aid in determining the relevance of the linked page to the anchor text used as incoming keywords.  The use of this particular anchor text will help the domain, web.marketing.webpaws.com, perform better in search engine results for the keyword “WebPaws.com’s Internet Marketing Services” and similar keyword phrases too (e.g., “Internet Marketing”, “Marketing Services”, WebPaws.com, etc.)

VN:F [1.8.4_1055]
Rating: 10.0/10 (1 vote cast)
VN:F [1.8.4_1055]
Rating: 0 (from 0 votes)
 
Take a piece of the Web from WebPaws.com: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • MisterWong
  • Y!GG
  • Webnews
  • Digg
  • del.icio.us
  • StumbleUpon
  • De.lirio.us
  • eKudos
  • email
  • Facebook
  • Fleck
  • Google Bookmarks
  • Hype
  • LinkedIn
  • MySpace
  • Print
  • Technorati
  • YahooMyWeb
Conversion from type ‘DBNull’ to type ‘String’ is not valid
Jun 1st, 2009 by webpaws

In a VB.net application, retrieving variables from a database, if the value was null, it would cause the error, “Conversion from type ‘DBNull’ to type ‘String’ is not valid”.  A work-around to stop this error was to create a function that would evaluate the imported database variable for a null value as an object then convert it to a string for use without error in your code.

Here is the VB.net code:


Function checkNull(Byval variable as object) as String
If IsDBNull(varialbe) Then
Return("")
Else
Return (variable)
End If
End Function

VN:F [1.8.4_1055]
Rating: 6.8/10 (4 votes cast)
VN:F [1.8.4_1055]
Rating: -1 (from 1 vote)
 
Take a piece of the Web from WebPaws.com: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • MisterWong
  • Y!GG
  • Webnews
  • Digg
  • del.icio.us
  • StumbleUpon
  • De.lirio.us
  • eKudos
  • email
  • Facebook
  • Fleck
  • Google Bookmarks
  • Hype
  • LinkedIn
  • MySpace
  • Print
  • Technorati
  • YahooMyWeb
»  Substance: WordPress   »  Style: Ahren Ahimsa
© Copyright by WebPaws.com 2009. All Rights Reserved.

WebPaws.com is Digg proof thanks to caching by WP Super Cache