Blog 2 - HTML
What is HTML?
HTML stands for Hyper Text Markup Language, and it is the core programming language used to render pages on the internet. A user can use HyperText to click a link and be redirected to a new page that the link refers to. Web browsers receive HTML documents from a web server or local storage and display them as multimedia web pages. HTML originally features cues for the document's aesthetic as well as semantic descriptions of a web page's structure.
Listed below is a basic HTML format:
<!DOCTYPE html> <html> <head> <title>Insert title here</title> <style></style> </head> <body> <div> <h1>Header</h1> <p>Paragraphs</p> </div> </body> </html>
HTML Element Breakdown
When creating an HTML document it is comprised of several elements. An HTML element is the combination of a tag and the material it contains. We can use a variety of tags to organize and display text and other forms of material, such as images.
- <html></html> - This element, often known as the root element, wraps all of the content on the page.
- <head></head> - This element serves as a contaienr for whatever you want to put on your HTML page that isn't the content you're displaying to your page's visitors. Normally, this is the area where you would put the style and title tags.
- <title></title> - This determines the title of your page, which is displayed in the browser tab in which it is loaded. When you bookmark/favorite a page, it is also used to describe the page.
- <style></style> - THe style HTML element specifies the style of a document. CSS is applied to the contents of the document containing the style element.
- <body></body> - This is where you put whatever you want to show web viewers when they visit your page, whether it's text, graphics, videos, games, playable audio files, or anything else.
- <h1></h1> - This tag is defined as the highest level of most essential heading in an HTML document and is defined by this element. This tag is normally used for heads. This tag can also go on as <h2>, <h3>, and <h4>, and the higher the number the smaller the header will get.
- <p></p> - This tag is represented as the paragraph tag. In visual media, paragraphs are typically portrayed as blocks of text separated by blank lines and/or first-line indentation, whereas HTML paragraphs can be any structural grouping of related material, such as photos or form fields.
Why is HTML important?
HTML is important for a lot of reasons, especially during a time where the internet is a very popular and widespread thing that people use everyday. With HTML users and marketing groups are able to build websites to their liking, and to match their personality or product. The possibilities are endless. Since HTML is also supported by every browser it makes it accesible to many different platforms. Learning HTML is also pretty simple and almost anyone can pick it up and learn it as it is a sort of programming language that is very easy to understand. As long as you have the proper structure you are able to build your very own website.