, . , . , , . , , .
HTML () <a>, . , . (, , ); . - , .
<a href=«https://google.com/»> Google</a>
, HTML-, <a>. , ( HTML- ), « Google», , «». , , . !
<a>...</a>
, <a> – : </a>.
href — , .
https://google.com/ – , URL- , . . HTML.
<a href=«https://google.com/»> </a>
-.
HTML, . <a> . Google, <b></b> , . - , HTML , . «».
<a href=«https://google.com/»> <b></b></a>
:
<a href=«https://google.com/»> <b></b></a>
<b></b>
«».
, URL- , (.ru, .com, .org, .gov), :
:// /
: https://aol.com — , .com.
, . . — , , :
- http https — ; - ;
- ftp — ;
- mailto — , , .
(gopher, telnet), , .
HTML . , , , , , , .
-, , , , «».
name <a>:
<a name=«ya»> </a>
ya , – . , «», .
, «», HTML-, «»:
<a href=«#ya»> </a>
, .
:
- ;
- index.html;
- - (index.html/page2);
- ;
- ( , );
- ;
- .
, , HTML . , , . , .
, index.html, page2.html, img.png. :
<a href=«/page2.html/img.png»></a>
: , . , HTML .
, . - , , . target . .
target_blank | |
_self | ( ) |
_parent | |
_top | |
target:
<a href=«https://google.com/» target=«_blank»> </a>
«» .
: , .
, , . , , . HTML , .
<body> , HTML rgb (#00FF00) («green»). :
- link — ;
- vlink — , ;
- alink — . , .
:
<body link=«#330099» alink=«#FF0000» vlink=«#990066»>
<body>, - -, – , – - .
- , HTML . , . , , , , .
(<input type=«button»>) , - (GIMP, Photoshop).
, HTML:
<a href=«page2.html»><img src=«/images/img1» alt=«--» width=«50» height=«46»></a>
<img> , , .
html5 , , . HTML , :
<a href="tel:+79xxxxxxxxx">......</a>
«» , . ( ).
, , (, ), VoIP-, 0,5 /. . , , .
, - , HTML, , , :
- , . , – .
- , , . title, . :
<a href=«http://yandex.ru/» title=« -»>Yandex</a>
, 99% .
-Seo
, HTML, . , () . , -.
, , – «» -. , HTML, , . - (CSS, JavaScript, PHP) . , OnMouseOver JavaScript -. , . , . , , .
Soon, such sites fall into the “black list” of virus databases, security systems and among Internet users themselves. Such sites do not live for a long time, and they have to change their names, migrate endlessly on the Internet, changing host providers. This does not contribute to the promotion of the site, which its creator always strives for, will never make it a megaportal, such as, for example, social networks. Among other things, such tricks cause a lot of negative emotions in people affected by these actions.