Friday, April 1, 2016

HTML Basics

HTML, or Hyper Text Markup Language, requires several basic tags to be able to create a website. I am going to be discussing the ones for HTML5, the first being the <!DOCTYPE html>.

a picture from W3C's Introduction to HTML (http://www.w3schools.com/html/html_intro.asp)

  1. <!DOCTYPE html>
    Before the HTML tag, this must be declared to show the web browser which type of HTML it is reading.
  2. <html>
    This tag contains every other tag used in the HTML document, including the head, title, body, and other optional tags such as style, script, or etc. tags. At the very end of the document, there must be a closing </html> tag.
  3. <head>
    The head tag is where another essential tag, <title>, lies. Inside the head tag, things like the CSS and meta tags are placed. Information about the HTML document will be contained in here.
  4. <title>
    This tag is basically what it says: the title of the document. This will show up on the tab of the browser.
  5. <body>
    The body tag is where the output code is placed. There are different types of formatting settings that a developer can use to create and customize such as the different heading tags (<h1>) and paragraph tags (<p>).
HTML files are very easy to create and test on personal computers at home. They can even be created on a basic text editor, meaning developers do not have to purchase advanced software right while first learning the language. If anyone is interested in IDEs, there are links on the right side bar.

2 comments:

  1. Thanks for the references! Check out my blog at https://artyougladididntsaybanana.wordpress.com/

    ReplyDelete