I'm making my own website wherein it lists all of my games. But the problem is I have to hard code every game I have, is there something that I can you know not to make so many tags and html files? thank you.
What I mean is to avoid making too many tags and html files by making a duplicate and not typing it again and again.
My current code is this:
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>My games</title>
</head>
<body>
<h1>My Games</h1><br>
<h3>Games that are made by ME!<br>With dedication and hard work :)</h3><br>
<hr>
<a href="square_game.html">Square game</a><br>
<a href="blocks.html">Blocks</a><br>
<a href="magestic.html">Magestic</a><br>
<a href="dave_the_painter.html">Dave The Painter</a><br>
<a href="paintball_jack.html">Paintball jack</a><br>
<a href="cat.html">Cat</a><br>
<a href="cat_sequence.html">Cat: The sequence</a><br>
<a href="pedro.html">The Blacksmith Named: Pedro</a><br>
</body>
</html>
Is there a way I can write the same thing but with less code?
Aucun commentaire:
Enregistrer un commentaire