<html>
<head>
<title>Document name goes here</title>
</head>
<body>
Visible text goes here
</body>
</html> (more…)
<html>
<head>
<title>Document name goes here</title>
</head>
<body>
Visible text goes here
</body>
</html> (more…)
Html colors - it goes in the “body” tag at the beginning of your document. If you don’t have a “body” tag, you can put one right after your /title or /head tags. This can be seen in the example for this page . (more…)
Color Property
we want all headlines in a document to be dark red. The headlines are all marked with the HTML element<h1>. The code below sets the color of <h1> elements to red.
Colors can be entered as hexadecimal values as in the example above (#ff0000), or you can use the names of the colors (”red”) or rgb-values (rgb(255,0,0)). (more…)
HTML images are defined <img> tag.
The <img> tag is empty, it contains attributes only and it has no closing tag. (more…)