Jump to content


Photo

Is it really necessary to wrap the img tag inside a block?


  • Faça o login para participar
2 replies to this topic

#1 RyanCaleb

RyanCaleb

    Normal

  • Usuários
  • 70 posts
  • Sexo:Masculino
  • Localidade:Ryan

Posted 23/09/2017, 05:48

Good morning fellas. I'm writing a HTML layout and I came across this doubt: What's the point of wrapping the img element inside a div tag when there's only the img inside of it? Please look at my code: 

<!DOCTYPE <span class="searchword">html</span>>
02
<<span class="searchword">html</span>>
03
  <head>
04
    <meta charset="UTF-8" />
05
    <meta name="author" content="au.ceif." />
06
    <meta name="description" content="Analog Specialists Page" />
07
    <meta name="robots" content="index, follow" />
08
    <meta http-equiv="pragma" content="no-cache" />
09
    <meta name="viewport" content="width=device-width,
10
    height=device-height, initial-scale=1.0, user-scalable=no" />
11
  </head>
12
  <body>
13
    <div id="main-container">
14
        <img src="images/logo.gif" width="150" height="58"
15
        alt="Analog Specialists" title="Analog Specialists" />
16
        <ul>
17
          <li>Home</li>
18
          <li>For Sale</li>
19
          <li>Repairs</li>
20
          <li>About</li>
21
          <li>Contact</li>
22
        </ul>
23
        <img src="images/keys.jpg" width="600" height="150"
24
        alt="classic keyboards" title="classic keyboards"  />
25
        <p>
26
          We specialize in the sale and repair of classic keyboards,
27
          in particular the Fender Rhodes, Wurlitzer EP200, and Hohner Clavinet.
28
        </p>
29
    </div>
30
  </body>
31
</<span class="searchword">html</span>>

please help!
thank you!

 



#2 RonsisM

RonsisM

    Super Veterano

  • Usuários
  • 15724 posts
  • Sexo:Masculino
  • Localidade:Plovdiv

Posted 09/10/2017, 21:34

Amoxicillin And Beer Viagra Erfahrungen Forum Amoxicillin Virus Maculopapular buy viagra online Generique Propecia 1mg

#3 RonsisM

RonsisM

    Super Veterano

  • Usuários
  • 15724 posts
  • Sexo:Masculino
  • Localidade:Plovdiv

Posted 27/10/2017, 11:36

Priligy Utilisation Purchase Synthroid Online No Prescription Cialis Canada Viagra viagra online pharmacy Effets Secondaire Cialis 20 Amoxicillin Shelf Life Antibiotics Trusted Tablets Pharmacy




1 user(s) are reading this topic

0 membro(s), 1 visitante(s) e 0 membros anônimo(s)

IPB Skin By Virteq