HTML Basic Concept

An overview:

  • HTML provides the basic structure of sites, which is enhanced and modified by other technologies like CSS and JavaScript.
  • CSS is used to control presentation, formatting, and layout.
  • JavaScript is used to control the behavior of different elements.

Now, let’s go over each one individually to help you understand the roles each plays on a website and then we’ll cover how they fit together. Let’s start with good ol’ HTML.

HTML

HTML is at the core of every web page, regardless the complexity of a site or number of technologies involved. It’s an essential skill for any web professional. It’s the starting point for anyone learning how to create content for the web. And, luckily for us, it’s surprisingly easy to learn.null

Let me show you what I mean. Take a look at the article below. If I were to ask you to label the types of content on the page, you’d probably do pretty well: There’s the header at the top, then a subheader below it, the body text, and some images at the bottom followed by a few more bits of text.

magazine-page-example

Markup languages work in the same way as you just did when you labeled those content types, except they use code to do it — specifically, they use HTML tags, also known as “elements.” These tags have pretty intuitive names: Header tags, paragraph tags, image tags, and so on.

Every web page is made up of a bunch of these HTML tags denoting each type of content on the page. Each type of content on the page is “wrapped” in, i.e. surrounded by, HTML tags.

For example, the words you’re reading right now are part of a paragraph. If I were coding this web page from scratch (instead of using the WYSIWG editor in HubSpot’s COS), I would have started this paragraph with an openingparagraph tag: <p>. The “tag” part is denoted by open brackets, and the letter “p” tells the computer that we’re opening a paragraph instead of some other type of content.

Once a tag has been opened, all of the content that follows is assumed to be part of that tag until you “close” the tag. When the paragraph ends, I’d put a closing paragraph tag: </p>. Notice that closing tags look exactly the same as opening tags, except there is a forward slash after the left angle bracket. Here’s an example:

<p>This is a paragraph.</p>

Using HTML, you can add headings, format paragraphs, control line breaks, make lists, emphasize text, create special characters, insert images, create links, build tables, control some styling, and much more.

To learn more about coding in HTML, I recommend checking out our guide to basic HTML, and using the free classes and resources on codecademy — but for now, let’s move on to CSS.

25 comments

  1. tariq

    Good day!
    Philadelphia Holistic Clinic quickly became the leading Acupuncture, homeopathy, and hypnotherapy center in the metro area. Dr. Tsan – Medical Director of the clinic has 40+ years of academic and practical experience in Internal Medicine (OB-GYN and Naturopathy). Victor Tsan, MD – an internationally recognized specialist in Traditional Chinese Medicine, Classical Homeopathy, and Clinical Hypnotherapy graduated from the most famous medical schools in Europe, Asia, and the USA.
    In our philosophy, each patient is a unique entity and not a case of a particular disease. The disease is a result of the bodily, psychic, public and ecological discrepancy. Thus, natural treatment becomes effective when all the fragments of human being converted into an appropriate set of balances. The holistic treatment techniques (Traditional Chinese Medicine, Homeopathic Medicine, Clinical Hypnotherapy, and Reiki, we teach your body systems to heal itself.
    Philadelphia Holistic Clinic accommodates five major departments:
    Philadelphia Acupuncture Clinic
    Philadelphia Homeopathic Clinic
    Philadelphia Hypnotherapy Clinic
    Philadelphia Addiction Center
    Philadelphia Weight Loss Clinic
    More information on this link. http://bit.ly/2U6DMgB

    Thank you for your attention.

  2. cbd vape pen

    I’m the business owner of JustCBD company (justcbdstore.com) and I am currently seeking to broaden my wholesale side of business. It would be great if anybody at targetdomain share some guidance 🙂 I considered that the very best way to do this would be to talk to vape shops and cbd stores. I was really hoping if anyone could recommend a reputable site where I can get Vape Shop B2B DATA I am presently taking a look at creativebeartech.com, theeliquidboutique.co.uk and wowitloveithaveit.com. Not exactly sure which one would be the most ideal choice and would appreciate any guidance on this. Or would it be easier for me to scrape my own leads? Ideas?

  3. website hosting companies

    Everything is very open with a really clear description of the
    issues. It was really informative. Your site is very helpful.
    Thanks for sharing!

  4. website host

    I like reading through a post that can make men and women think.
    Also, thank you for allowing me to comment!

  5. Http://Www.cinston.com/plus/guestbook.php

    Hey! I’m at work browsing your blog from my new apple iphone!
    Just wanted to say I love reading through your blog and look forward to all your posts!
    Keep up the excellent work!

  6. duta mpo slot

    For most recent news you have to pay a quick visit internet and on web I found this web page as a best web page for most recent updates.

  7. web hosting

    Great beat ! I would like to apprentice while you amend your web site, how could i subscribe for
    a weblog web site? The account helped me a applicable deal.
    I were a little bit acquainted of this your broadcast provided vivid transparent idea

  8. best website hosting

    whoah this weblog is great i really like studying your posts.
    Stay up the great work! You realize, a lot of people are searching
    round for this information, you can aid them greatly.

  9. web hosting providers

    Great post. I used to be checking constantly this blog and I am impressed!

    Extremely helpful info particularly the last phase 🙂 I
    handle such information much. I was looking for this certain info for a
    very long time. Thanks and good luck.

  10. cheap flights

    Hi there I am so excited I found your webpage, I really found you by mistake, while I was searching on Yahoo
    for something else, Anyways I am here now and would just
    like to say cheers for a incredible post and a all round
    entertaining blog (I also love the theme/design), I don’t have time to
    read through it all at the minute but I have book-marked it
    and also added your RSS feeds, so when I have time I will be back to read a great deal more,
    Please do keep up the fantastic b. cheap flights 32hvAj4

  11. cheap flights

    whoah this blog is fantastic i really like reading your posts.
    Stay up the good work! You realize, a lot of persons are
    hunting around for this information, you could help them greatly.
    3gqLYTc cheap flights

  12. cheap flights

    Hello There. I found your blog using msn. This is an extremely well written article.
    I will be sure to bookmark it and come back to read more of your useful
    information. Thanks for the post. I will certainly return. 2CSYEon cheap flights

  13. web hosting company

    Hello, I think your website might be having browser compatibility issues.
    When I look at your blog site in Chrome, it looks fine but when opening in Internet Explorer, it has some overlapping.
    I just wanted to give you a quick heads up!
    Other then that, terrific blog!

  14. cheap flights

    It’s actually a nice and useful piece of information. I’m happy that you just shared
    this useful info with us. Please keep us up to date like this.
    Thanks for sharing. cheap flights 34pIoq5

  15. cheap flights

    Asking questions are really nice thing if you are not understanding
    something totally, but this post offers good understanding
    even.

  16. cheap flights

    If some one wishes expert view concerning blogging then i
    recommend him/her to visit this website, Keep up the good
    work.

  17. cheap flights

    Simply desire to say your article is as astonishing. The clearness in your post is simply
    nice and i could assume you are an expert on this subject.
    Well with your permission let me to grab your
    RSS feed to keep up to date with forthcoming post. Thanks a million and
    please keep up the gratifying work.

  18. cheap flights

    Do you have a spam issue on this blog; I also am a blogger, and I was
    wondering your situation; many of us have developed some nice methods and we are looking to trade
    strategies with others, be sure to shoot me an email
    if interested.

  19. cheap flights

    Do you mind if I quote a couple of your articles as long as I provide credit and sources back to your site?
    My blog is in the exact same niche as yours and my visitors would truly benefit
    from a lot of the information you provide here.
    Please let me know if this okay with you. Regards!

  20. black mass

    Hello just wanted to give you a quick heads up. The text in your post seem to be running off the screen in Internet explorer.
    I’m not sure if this is a formatting issue or something to
    do with browser compatibility but I figured I’d post to let you know.
    The style and design look great though! Hope you get the
    problem fixed soon. Thanks

  21. black mass

    Hey there! I’m at work surfing around your blog
    from my new iphone 3gs! Just wanted to say I love reading
    through your blog and look forward to all your posts!
    Keep up the great work!

  22. web hosting reviews

    I’m curious to find out what blog platform you happen to be working with?
    I’m experiencing some small security problems with my latest blog and I’d like to find something more secure.

    Do you have any suggestions?

  23. webhosting

    I am regular visitor, how are you everybody? This piece of writing posted at this website is actually good.

  24. website hosting services

    What’s up, its fastidious piece of writing about media print, we
    all be aware of media is a impressive source of information.

  25. web hosting company

    When I originally commented I appear to have clicked on the -Notify me when new
    comments are added- checkbox and from now on whenever a comment is added I get 4 emails with the
    exact same comment. Perhaps there is a way you are able to remove me from that service?
    Kudos!

Leave a Reply

Your email address will not be published. Required fields are marked *