Tip 1: How to insert a link

World Wide Web pages are built on the markup language HTML.Every day we use it, browsing sites, going to different pages and sections of visiting online resources.All these transitions within and between sites possible through hyperlinks.
Guide
1
hyperlinks (links, links - from the English. "Link") - this site addresses, their sections, pages and files on the Internet, hosted on web pages.To insert links in HTML-code of the page is not enough to register the address "http://www.kakprosto.ru".Of course, this can be done visually, but it is necessary to take into account the standards of language Web razmetki.Chtoby paste the link into the page code, you must use the standard: TEXT , where the URL - the page address in the format "http://kakprosto.ru",and TEXT - any text that will be perceived as a reference to the browser.If you refer to a file, you must specify its resolution.For example, a music file in * .mp3 format has the full name is not "track", as it appears in the operating system, a
nd "track.mp3".It's the same with Web pages.Apart from * .html, often common formats like * .htm, * .xhtml, * .php and others.
2
to the page that leads link opens in a new window, use the code: TEXT
3
To insert an image in the page, use the standard: ,where IMAGE_URL - the address of the image on the hosting.Do not forget that the image also have an extension, so specify it after the image name, eg "image.jpg" or "image.gif".
4
in forums and message boards links can be inserted in this format: [url = URL] TEXT [/ url]
5
To insert HTML-code e-mail usethe following standard: TEXT , where EMAIL - email address format address@server.com .Clicking on the link will automatically start mail client, if installed on the PC.

Tip 2: How to insert a page into a link

Links - an essential tool for navigating html-pages.Without links the modern Internet is simply inconceivable.Html - hypertext markup language, post links to it using very simple language.You can refer to the pages of the same site or an entirely different make link to a file or media item.
Links - one of the most important elements of any web page
you need
  • web page editor
Guide
1
code to reference the following:
2
If you want to link displayed with a prompt and not as a mere address where clicking on link , can move a user, you can use the following code:
Text clue to link
3
links also may be an image.In this case, by clicking on any of the images, the user enters the address of the page you specify.Use the following code:
4
Links have different attributes.For example, if you want the page to be opened in a new window, add a reference parameter string target = "_ blank".The code would look like this:
Text clue to link
5
You can make references to the files.Some of them are likely to be opened by the browser, for example, pdf-documents, while others will be downloaded to the computer and then viewed.Link to the file is the same as for regular pages, but instead of the address of the page you need to write the address of the file:
Text hint file
Note
The simplest kinds of links - created withusing the language of html.You can also generate links different scripting languages, the most common of which is JavaScript.Some server-side language to create a page and insert a link to them on the fly.
Sources:
  • html Lesson 6 - links

Search

Related Posts

Categories