D
D
Danya Maksimov2019-07-03 14:31:05
HTML
Danya Maksimov, 2019-07-03 14:31:05

How to complete task 16 with HTML?

I sat on Yandex.Practice.
It seems everything was easy until this task came across (screenshot)
I can’t complete it .
Help

<!DOCTYPE html>
<html>
<head>
  <title>Я просто код</title>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <style>
    h1 { 
         font-size: 90px;"
    }

    h5 {
        font-style: italic; 
        font-size: 30px;
      
    }

    a {
         color: steelblue;
      font-size: 20px;
    }
  </style>
</head>
<body>
  <h1 "font-size: 90px;">Я бы</h1>
  <h2>обнял</h2>
  <h3>тебя</h3>
  <h4>— но —</h4>
  <h5 >я просто</h5>
  <p><a href="http://embrace.t-radya.com/" target="_blank" "color: steelblue; font-size: 20px;">код</a></p>
  <div align="center"><img src="https://pictures.s3.yandex.net/code.gif" alt="мой код" width="512"></div>
</body>
</html>

5d1c924314053893027165.png

Answer the question

In order to leave comments, you need to log in

3 answer(s)
N
NaN, 2019-07-03
@KornevaViktoria

<h4>, <h5>should be in div, inside which the picture is (by assignment), now they are just in<body>

M
Maxim K, 2019-07-03
@mkvmaks

So will it pass?

<!DOCTYPE html>
<html>
<head>
  <title>Я просто код</title>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <style>
    h1 { 
         font-size: 90px;"
    }

    h5 {
        font-style: italic; 
        font-size: 30px;
      
    }

    a {
         color: steelblue;
      font-size: 20px;
    }
  </style>
</head>
<body>
  <h1 "font-size: 90px;">Я бы</h1>
  <h2>обнял</h2>
  <h3>тебя</h3>
  <div align="center"> 
      <h4>— но —</h4>
      <h5 >я просто</h5>
      <p><a href="http://embrace.t-radya.com/" target="_blank" "color: steelblue; font-size: 20px;">код</a></p><img src="https://pictures.s3.yandex.net/code.gif" alt="мой код" width="512"></div>
</body>
</html>

U
UncleMisha, 2019-07-04
@UncleMisha

And what exactly is the problem?

<!DOCTYPE html>
<html>
<head>
  <title>Я просто код</title>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <style>
    h1,h2,h3 {
      text-align: center;
    }
    h1 { 
      font-size: 90px;"
    }

    h5 {
      font-style: italic; 
      font-size: 30px;

    }

    a {
      color: steelblue;
      font-size: 20px;
    }
  </style>
</head>
<body>
  <h1>Я бы</h1>
  <h2>обнял</h2>
  <h3>тебя</h3>
  <div align="center">
    <h4>— но —</h4>
    <h5 >я просто</h5>
    <p><a href="http://embrace.t-radya.com/" target="_blank">код</a></p>
    <img src="https://pictures.s3.yandex.net/code.gif" alt="мой код" width="512">
  </div>
</body>
</html>

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question