Maison  >  Questions et réponses  >  le corps du texte

Comment insérer des images à l'aide du sélecteur de pseudo-classe CSS

<!doctype html>
<html>
 <head>
  <meta charset="UTF-8">
  <meta name="Générateur" content="EditPlus®">
  < meta name="Auteur" content="">
  <meta name="Mots clés" content="">
  <meta name="Description" content="">
  <title>Document</ title>
  <style>
table{
    background-image:url(图片/222.jpg);
 font-size:50px; text-align:center;
 background-color:rgb(255,0,0);
}
</style>
 </head>
 <body>
  <table border="1" width= "300px" height="200px">
  <tr>
  <td>1</td>
  <td>2</td>
  <td>3</td>
  </tr>
   <tr>
  <td>4</td>
  <td>5</td>
  <td>6</td>
  </tr>
   <tr>
  <td>7</td>
  <td>8</td>
  <td>9</td>
  </tr>
  </table>
 </body>
</html>



粉红色粉红色1778 Il y a quelques jours1963

répondre à tous(0)je répondrai

Pas de réponse
  • Annulerrépondre