Home > Blockchain >  Any html I write wont appear on the browser when I use copy full path
Any html I write wont appear on the browser when I use copy full path

Time:08-07

I have recently begun studying html, im trying to make a small crappy website, and when I copy full path and then paste it into the browser it just gives me a blank screen. Im sorry if this is simple, but nothing I do seems to change it. code:

<!DOCTYPE html>
<html lang="en" dir="ltr">

<head>
  <meta charset="utf-8">
  <title><strong>Stanislav Stanislavich</strong></title>
</head>
<table>
  <tr>
    <td>
      <img src="Doomer3.jpeg" alt="Sad_Slav_Boi.jpeg">
    </td>
    <td>
      <li>Just your average IT nerd in Eastern Europe</li>
    </td>
  </tr>
</table>
<hr>

its just not appearing, a blank screen.

CodePudding user response:

You are missing a <body> tag.

Everything you want to display on the page, goes in the <body> tag. Like this:

<!DOCTYPE html>
<html lang="en" dir="ltr">

<head>
  <meta charset="utf-8">
  <title><strong>Stanislav Stanislavich</strong></title>
</head>
<body>
<table>
  <tr>
    <td>
      <img src="Doomer3.jpeg" alt="Sad_Slav_Boi.jpeg">
    </td>
    <td>
      <li>Just your average IT nerd in Eastern Europe</li>
    </td>
  </tr>
</table>
<hr>
</body>
  •  Tags:  
  • html
  • Related