Атрибут name
Описание
Указывает имя фрейма.
Синтаксис
<iframe name='...'>...</iframe>
Пример
<!DOCTYPE html>
<html lang='ru'>
<head>
<meta charset='UTF-8'>
<meta name='viewport' content='width=device-width, initial-scale=1.0'>
<title>Document</title>
</head>
<body>
<iframe name='frame-one' frameborder='5'></iframe>
<br>
<a style='color: blue; text-decoration: underline;' href='https://gki-webik.ru/' target='frame-one'>Наш сайт</a>
</body>
</html>
Читайте также
Тег <embed>. Атрибут align
Определяет, как выравнивать объект.
Тег <area>. Атрибут target
Документ, расположенный по ссылке по умолчанию откроется в текущей вкладке. Это можно поменять с ...
Тег <a>. Атрибут rel
Задает отношения между ссылаемым и текущим документами.<br>Большинство браузеров rel не под...
Тег <canvas>. Атрибут height
Задает высоту холста. По умолчанию 300px.
Тег <a>. Атрибут shape
Определяет на изображении область, которая служит ссылкой. Применяется к элементу <span class&...