0% found this document useful (0 votes)
17 views

Doctype HTML

Uploaded by

soranexiaibrahim
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
17 views

Doctype HTML

Uploaded by

soranexiaibrahim
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

<!

DOCTYPE html>

<html lang="en">

<head>

<meta charset="UTF-8">

<meta name="viewport" content="width=device-width, initial-scale=1.0">

<title>Simple HTML Website</title>

<style>

/* Reset margin and padding */

*{

margin: 0;

padding: 0;

box-sizing: border-box;

body {

font-family: Arial, sans-serif;

line-height: 1.6;

background-color: #f4f4f4;

color: #333;

/* Header Styles */

header {

background-color: #333;

color: white;

padding: 10px 0;

text-align: center;

}
header h1 {

margin: 0;

/* Navigation Bar Styles */

nav {

background-color: #444;

display: flex;

justify-content: center;

padding: 10px;

nav a {

color: white;

padding: 12px 20px;

text-decoration: none;

margin: 0 10px;

nav a:hover {

You might also like