Learn HTML programming: you should know that
Related Videos: HTML Full Course - Build a Website Tutorial (May 2024).
Today billions of websites can be found on the Internet. You can get started with HTML programming in this practical tip. We also explain the most important terms to you.
WWW, URL, HTML and Co. - What do these abbreviations mean?
When it comes to website programming, various terms quickly emerge. But what exactly do these terms mean?
- "WWW" is the abbreviation for the "World Wide Web". This is a system of networked websites that are offered on the Internet. The WWW is only part of the whole Internet.
- "Hyperlinks" are references to other websites.
- A "hypertext system" or "hypermedia system" is a networked structure. Hyperlinks are used to link texts and other display units for information. The WWW is also a hypermedia system, since information is passed on in the form of websites and multimedia units.
- The "browser" is used for navigation in a hypermedia system. This requests the website from a "web server".
- A "web server" is a computer to which (almost) all people have access via the Internet.
- The abbreviation "URL" means "Uniform Resource Locator" and serves to uniquely identify and locate web documents. The basic structure of the URL looks like this: Protocol: // computer address / document address
- "HTML" means "Hypertext Markup Language" because it is a language for describing hypertexts.
HTML programming - you should know that
Programming an HTML page is not that difficult these days. For programming you can either use the normal Windows editor or Notepad ++.
- At the very beginning there is always the document type declaration, which will be important later in the validation. So add the "" command to the beginning of your file.
- In HTML, opening and closing tags are used. It always starts with the opening day "". At the end you should add the closing tag "". You can also add attributes to these tags. Simply replace the "" with a "". In this case, the browser also knows which language is used. However, you do not have to add this attribute to the closing day.
- You can start the header of the website with "". However, don't forget the closing day at the end. In the header you can, for example, define a title with "". You should also use the "" command to specify the character set you are using.
- In addition to the header there is also the "", in which you can anchor the actual page content. With "
"You can add a new paragraph of text. This way, the entire text can be structured more clearly. But don't forget to close the tag again. The command" is also very practical.
", with which the text is arranged in the center. You can use"
" Add. - Add headings with "
", "
", and so on.
- You can get a list with "
- "(" ordered list ") or"
- " create.
- A table can be easily opened with a command such as "
"create with"
"add a new table row. You can use" "(Bold) or" "(Normal font). - Add a hyperlink with "". You can use the "
"If the image cannot be loaded, the value that is stored at" old "is output instead. - To make your texts more beautiful, you can also format them in HTML. With " " you can have a text displayed in italics. The " " command, in turn, is bold, and the "" command allows you to add a quote.
- However, adding a soundtrack is a little more complicated. First write the command "". In this case the soundtrack is played automatically. Then write the command "
- A video works similarly. To do this, use the "" command to set the size of your video. Then use the command "
HTML: Validation of websites
To ensure that there are no display errors, you should make your website valid.
- A validator is an "HTML expert" who recognizes errors in the source text.
- Browsers usually try to ignore inconsistencies and still generate a meaningful page, due to the algorithmic processing of the browsers. However, this does not always succeed.
- Since there are many different HTML versions, the document type declaration is very important. An HTML document is valid if it follows all the rules of the HTML language, the HTML version described in the document type declaration.
- For example, you can test a validator for HTML5 here.
We will explain in the next practical tip how you can decode QR codes by hand without a scanner.
You May Also Like...
- Add a hyperlink with "". You can use the "
- "(" unordered list "). Here you can use"