Essential Href Code sollution_SEO Optimization
Essential href attributes HTML code for Best SEO
''href - Specifies the URL of the linked webpage or resource.
Example: <a href="https://example.com">Link Text</a>
target - Specifies where to open the linked webpage.
Example: <a href="https://example.com" target="_blank">Link Text</a>
rel - Specifies the relationship between the current document and the linked document or resource.
Example: <a href="https://example.com" rel="nofollow">Link Text</a>
download - Specifies that the target will be downloaded when clicked.
Example: <a href="https://example.com/file.pdf" download>Download Link Text</a>
type - Specifies the MIME type of the linked resource.
Example: <a href="https://example.com/file.pdf" type="application/pdf">Link Text</a>
media - Specifies the media type of the linked resource.
Example: <link href="styles.css" rel="stylesheet" media="screen">''
Other Code:
''<a charset='ISO-8859-1' href='http://www.w3.org/'/>
<a href='https://example.com'>Link Text</a>
<a href='https://example.com' target='_blank'>Link Text</a>
<a href='https://example.com' rel='nofollow'>Link Text</a>
<a href='https://example.com/file.pdf'>Download Link Text</a>
<a href='https://example.com/file.pdf' type='application/pdf'>Link Text</a>
<a href='https://example.com'/>
<link href='https://example.com/styles.css' rel='stylesheet'/>
<link href='https://example.com/favicon.ico' rel='shortcut icon'/>
<link href='styles.css' media='screen' rel='stylesheet'/>
<link href='small.css' rel='stylesheet'/>
<link href='alternate_page.htm' media='handheld' rel='alternate'/>
<link href='https://example.com/?m=1' media='handheld' rel='alternate'/>
<link href='https://example.com/' rel='dns-prefetch'/>
<link href='Chapter3.html' rel='Next'/>
<link href='Chapter1.html' rel='Prev'/>
<link href='docB' rel='foo'/>
<link href='docA' rev='foo'/>
<link href='https://example.com/french-version' hreflang='fr' rel='alternate'/>
<link href='https://www.example.com/new-page' hreflang='x' rel='alternate'/>
<link href='http://example.com' hreflang='bd-bd' rel='alternate'/>
<link href='http://example.com' hreflang='am-et' rel='alternate'/>
<link href='http://example.com' hreflang='am-er' rel='alternate'/>
<link href='http://example.com/en-us' hreflang='en' rel='alternate'/>
<link href='http://example.com' hreflang='es-es' rel='alternate'/>
<link href='http://example.com/fr/' hreflang='fr-fr' rel='alternate'/>
<link href='http://example.com/pt/' hreflang='pt-pt' rel='alternate'/>
<link href='/apple-touch-icon.png' rel='apple-touch-icon' sizes='76x76'/>
<link href='/favicon-32x32.png' rel='icon' sizes='32x32' type='image/png'/>
<link href='/favicon-16x16.png' rel='icon' sizes='16x16' type='image/png'/>
<link color='#b3ca88' href='/safari-pinned-tab.svg' rel='mask-icon'/>
<link href='http://feeds.feedburner.com/OnlineSource_freeSource' rel='alternate' type='text/html'/>
<link rel='https://example.com' type='application/atom.xml'/>
<link rel='https://example.com' type='application/rss.xml'/>''
These are just a few examples of common href attributes used in HTML code. The specific attributes used may vary depending on the purpose and content of the webpage.
Comments
Post a Comment
Thanks for your Comments.