add img to html static test

This commit is contained in:
HorizonCode 2023-05-12 14:01:51 +02:00
parent c6cb48b4ff
commit 06695c5443
2 changed files with 5 additions and 0 deletions

View File

@ -1,3 +1,6 @@
h1 { h1 {
color: red; color: red;
} }
img {
margin-bottom: 15px;
}

View File

@ -57,6 +57,8 @@ httpServer.get("/site", (_req, rep) => {
</head> </head>
<body> <body>
<h1>Hello World!</h1> <h1>Hello World!</h1>
<img src="/assets/lucoa.gif" width="150" />
<br>
<button onclick="alert('bruh')">Useless button, do not press.</button> <button onclick="alert('bruh')">Useless button, do not press.</button>
</body> </body>
</html> </html>