I recommend the following "structure" for web pages:
<!DOCTYPE html5> <html> <head> <title> Page Title </title> Meta elements <style type="text/css"> CSS definitions </style> <script type="text/javascript"> JavaScript </script> </head> <body> Body Content </body> </html>The indentation is there for illustration; you can either keep it or remove the indentation.
Meta elements you might choose to use includes
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> or
<meta charset="UTF-8"> (which tells the browser the document uses UTF-8; otherwise, if you save the page as a local file, browsers assume it uses some "legacy encoding", like Windows-1252 or ISO 8859-1), and the
<meta name="viewport" content="width=device-width, initial-scale=1"> T3sl4co1l suggested.
If you don't have any CSS, omit the
<style type="text/css"></style>.
If you don't need any JavaScript, omit the
<script type="text/javascript"></script>.
Finally, you might wish to use the W3 validator facilities at
https://validator.w3.org/ to see what it says about your HTML code. I disagree with some of its warnings (especially "... is not needed and should be omitted" and "Consider adding ..." ones), but it is definitely a nice sanity check.