How to Create a Weblink

Save

Often software applications like word processors and email programs will automatically convert your www.somewebpage.com into a weblink. Knowledge of the hyper text markup language, or HTML, of weblinks will allow you to change the code or place links in documents that do not automatically make the conversion. A weblink is an HTML element that you can use in the code of any web page to link to another web page.

  • Add an opening tag and a closing tag to every element. The opening tag for a link is <a href=>, and the end tag is </a>. Put the URL of where you want to link in the bracket with the href like this: <a href="http://www.mywebpage.com">. Do not forget the http:// or the quotation marks.

  • Put the name for the link between the opening and closing elements. Here is your example: <a href="http://www.mywebpage.com"> Joey's Big Bad Blog! </a>. The link will show as Joey's Big Bad Blog!

  • Add the attribute target="_blank" in the opening element to have your weblink open in a new web page. The weblink now looks like this: <a href="http://www.mywebpage.com" target="_blank"> Joey's Big Bad Blog! </a>.

  • Use notepad software to start a new document. To make an HTML document, open with <html>, then put your link in as a separate line. Close with </html>.
    Save to your Windows desktop. The html tags make the document a web page. The complete html code looks like this:
    <html>
    <a href="http://www.mywebpage.com" target="_blank"> Joey's Big Bad Blog! </a>
    </html>

  • Find the new document on the Windows desktop and double-click it. It should open your web browser with the link to Joey's Big Bad Blog! Clicking the link will open a new web page.

Tips & Warnings

  • Missed punctuation will cause the html to not work. If you link is not working, check that all of the symbols and punctuation are correct. Extra spaces do not have an effect. Closing html tags are not always necessary, but it is a good habit to always use them.
  • If you use a regular word-processing program instead of notepad and save as a webpage, the software will automatically add more html, messing up your little bit of code.

References

Promoted By Zergnet

Comments

Resources

You May Also Like

Related Searches

M
Is DIY in your DNA? Become part of our maker community.
Submit Your Work!