HTML

From Computer Science Wiki
Jump to navigation Jump to search
HTML [1]

HyperText Markup Language, commonly referred to as HTML, is the standard markup language used to create web pages. Along with CSS, and JavaScript, HTML is a cornerstone technology used to create web pages, as well as to create user interfaces for mobile and web applications. Web browsers can read HTML files and render them into visible or audible web pages.

HTML describes the structure of a website semantically along with cues for presentation, making it a markup language, rather than a programming language.[2]

Introduction

Content gratefully used with permission [3]

HTML tags

Html elements.png

For example, consider the following line of text: <syntaxhighlight lang="html"> My cat is very grumpy </sytaxhighlight>

If we wanted the text to stand by itself, we could specify that it is a paragraph by enclosing it in a paragraph (

) element:

My cat is very grumpy

Note: Tags in HTML are case-insensitive. This means they can be written in uppercase or lowercase. For example, a <title> tag could be written as <title>, <TITLE>, <Title>, <TiTlE>, etc., and it will work. However, it is best practice to write all tags in lowercase for consistency, readability, and other reasons.

Do I understand this?




Helpful resources

See also

References