Z
Z
ZakenChannel2019-05-07 18:31:58
Yandex
ZakenChannel, 2019-05-07 18:31:58

Where is the HTML error (Yandex Practicum 12 question)?

<!DOCTYPE html>
<html>
<head>
  <title>Я просто код</title> <meta charset='UTF-8'>
  <meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>
 <h1>Я бы</h1> <h2>обнял</h2> <h3>тебя</h3> <h4>— но —</h4> <h5>я просто</h5> <p><a href=# target=_blank> код </a></p> <div align=center><img src=https://pictures.s3.yandex.net/code.gif alt="мой код" width=512></div>   
</body>
<h1 style="font-size: 90px;"
   </html>

Writes: The opening tag lacks the style attribute , it's about the line<h1>
<h1 style="font-size: 90px;"

Answer the question

In order to leave comments, you need to log in

2 answer(s)
B
bkosun, 2019-05-07
@bkosun

Code - is outside , tag is not closed<h1 style="font-size: 90px;"bodyh1

<!DOCTYPE html>
<html>
<head>
    <title>Я просто код</title>
    <meta charset='UTF-8'>
    <meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>
<h1 style="font-size: 90px;">Я бы</h1>
<h2>обнял</h2>
<h3>тебя</h3> <h4>— но —</h4> <h5>я просто</h5>
<p><a href=# target=_blank> код </a></p>
<div align=center><img src=https://pictures.s3.yandex.net/code.gif alt="мой код" width=512></div>
</body>
</html>

Y
yastas, 2019-05-08
@yastas

Hey! It seems that the right answer is already here, but if suddenly something happens, we have an educational support service that can answer just such (and not only) questions. You can write in any convenient way from this page: https://yandex.ru/support/praktikum/feedback.html, we are always happy and ready to help.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question