Programming an HTML page is not even that hard nowadays. You can use either the normal Windows editor or Notepad + + to program.
At the very beginning there is always the document type declaration, which becomes important later in the validation. So add the command to the top of your file <!doctype html> .
HTML uses opening and closing tags. At the beginning there is always the opening tag “<html>”. In the end, you should see the closing tag “</html> “Add. In addition, you can add attributes to these tags. Simply change the<html> “by a “<html lang=””de””>. In this case, the browser will also know which language is used. However, you do not need to add this attribute to the closing tag.
The header of the Web page can be<head>Start. However, do not forget the closing tag at the end. For example, in the header section, you can<title> “Set a title. You should also use the ” <meta charset=”utf-8″”> ” command to specify the character set you are using.
Next to the headboard there is still the “<body> “Where you can anchor the actual page content. With “<p>You can add a new paragraph of text. This way the overall text can be structured more clearly. However, do not forget to close the tag again. Also very handy is the command “<p align=””center””>, which is used to arrange the text in the middle. A blank line can be<br> “Add.
Headings add with “<h1>”, “<h2> “, and so on.
You can create a list using “<ol>” ( “ordered list “) or “<ul>” ( “unordered list “). Here you can then select individual list points with<li>Create.
A table can be easily used with a command such as “<table border=””1″”>Create. With “<tr> “Add a new table row. You can use a single cell with a<th>bold or<td>(normal font).
Add a hyperlink with “<a href=””…””>”. In turn, you can use the “<img src=””…”” alt=””…””>” command to insert images. If the image cannot be loaded, the value that is stored at “alt” is displayed instead.
To make your texts more beautiful, you can also format them in HTML. You can use “<em>” To print a text in italics. The “” command is<strong>bold, and you can use the “” command to add<q>a citation.
However, adding a soundtrack is a bit more complicated. To do this, first write the command “<audio controls=”” autoplay=””>”. In this case, the soundtrack is played automatically. Then write the command<source src=””…”” type=””audio/mpeg””>and adjust it to your audio file. Again, you must insert the closing tag</source></audio>.
A video works similarly. To do this, use the “<video width=””320″” height=””240″” controls=””>” command to set the size of your video. Then use the “<source src=””…”” type=””video/mp4″”>” command to specify the source. Also, don’t forget the “</source></video>” At the end.</q> </strong> </em> </a></td></th></tr></table></li></ul></ol></h2></h1></body></title></head></html></html>