@eopen

Как в тег вставить тег?

Добрый день, как в тег <a> вставить тег<a>? Код представлен ниже.
Для примера того, что я хочу сделать, можно посмотреть по ссылке static.repubblica.it/repubblica/solidarieta/map
Смысл следующий, при нажатии на кружек, открывается подробное описание. В этом подробном описании, кроме текста надо вставить и ссылку. Как это реализовать то?
<!DOCTYPE html>
<html lang="en" >
<head>
<meta charset="utf-8" />
<title>Isometric interactive interior guide with CSS3 and jQuery | Script Tutorials</title>
<link href="css/layout.css" type="text/css" rel="stylesheet">
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.1/jquery.min.js"></script>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/jquery-ui.min.js"></script>
<script src="js/main.js"></script>
</head>
<body>
<header>
<h2>Isometric interactive interior guide</h2>
<a href="https://www.script-tutorials.com/isometric-interactive-interior-guide/" class="stuts">Back to original tutorial on <span>Script Tutorials</span></a>
</header>
<div class="container">
<div class="labels">
<a id="label1" class="label" href="#">sofa
<p>A sofa, is an item of furniture designed to seat more than one person, and providing support for the back and arms.</p>
<span />
</a>
<a id="label2" class="label" href="#">television
<p>Television (TV) is a telecommunication medium for transmitting and receiving moving images that can be monochrome (black-and-white) or colored, with or without accompanying sound.</p>
<span />
</a>
<a id="label3" class="label" href="#">chest
<p>In many video games, especially role-playing video games, treasure chests contain various items, currency, and sometimes monsters.</p>
<span />
</a>
<a id="label4" class="label" href="#">workplace
<p>A virtual workplace is a workplace that is not located in any one physical space.</p>
<span />
</a>
<a id="label5" class="label" href="#">entrance
<p>A door is a movable structure used to open and close off an entrance, typically consisting of a panel that swings on hinges or that slides or rotates inside of a space.</p>
<span />
</a>
<a id="label6" class="label" href="#">safe room
<p>A safe room or panic room is a fortified room which is installed in a private residence or business to provide a safe shelter, or hiding place, for the inhabitants in the event of a break-in, home invasion, tornado, or other threat.</p>
<span />
</a>
</div>
<div class="dialog">
<p></p>
<a class="close">X</a>
</div>
</div>
</body>
</html>
  • Вопрос задан
  • 444 просмотра
Пригласить эксперта
Ответы на вопрос 2
dimka-dooz
@dimka-dooz
front-end разработчик)
С точки зрения семантики это ад. Зачем это нужно, есть решения без этого маразма. Ссылка дожна иметь адрес и вести куда-то. А для триггера события можно использовать другие теги.
Ответ написан
Комментировать
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Войти через центр авторизации
Похожие вопросы
01 мая 2024, в 02:11
5000 руб./за проект
01 мая 2024, в 00:29
2000 руб./за проект
01 мая 2024, в 00:20
15000 руб./за проект