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.

 

5.233 comments

  1. car ecu repair cost uk

    hello!,I love your writing very so much! proportion we communicate extra approximately your article
    on AOL? I require a specialist on this house to solve my problem.
    May be that’s you! Having a look forward to peer you.

    My web-site: car ecu repair cost uk

  2. mercedes ecu repairs

    It’s the best time to make some plans for the longer term and it’s time to be happy.

    I have read this submit and if I could I wish to counsel you some fascinating things or advice.
    Perhaps you can write next articles relating to this article.
    I desire to read even more things about it!

    Here is my web page: mercedes ecu repairs

  3. jav

    I’d like to find out more? I’d love to find out more details.

  4. akreditasi iso 17025

    Howdy! I could have sworn I’ve visited this blog before but after browsing
    through a few of the articles I realized it’s new to
    me. Anyways, I’m definitely pleased I found it and I’ll be bookmarking it and checking back often!

  5. bmw ecu repair

    Please let me know if you’re looking for a writer for your
    weblog. You have some really great articles and I feel I would be a good asset.
    If you ever want to take some of the load off, I’d absolutely
    love to write some material for your blog in exchange for
    a link back to mine. Please shoot me an email if interested.

    Thank you!

    Also visit my site: bmw ecu repair

  6. electric shaver

    Amazing issues here. I am very satisfied to see your article.
    Thanks a lot and I am taking a look forward to contact you.
    Will you kindly drop me a mail?

    Take a look at my blog post :: electric shaver

  7. togel online

    Nice post. I was checking continuously this blog and I’m
    inspired! Very useful information specially the final section 🙂 I care
    for such information a lot. I was seeking this particular info for a very lengthy time.
    Thanks and good luck.

  8. james monroe fun facts

    Someone necessarily assist to make severely articles
    I might state. This is the very first time I frequented your
    web page and thus far? I surprised with the research you made to make
    this actual publish incredible. Excellent task!

  9. Medigap Plan F

    You actually make it seem so easy with your presentation but I find this topic to be really something which
    I think I would never understand. It seems too complicated and very broad for me.
    I’m looking forward for your next post, I’ll try to get the
    hang of it!

  10. click here

    Attractive section of content. I just stumbled upon your weblog and in accession capital to
    assert that I get actually loved account your blog posts. Anyway
    I will be subscribing on your augment and even I success you get right of entry to
    consistently quickly.

  11. interesting

    I enjoy what you guys tend to be up too. This kind of clever
    work and exposure! Keep up the excellent works guys I’ve included you
    guys to our blogroll.

  12. Lora

    I am curious to find out what blog system you happen to be
    using? I’m having some minor security problems with
    my latest website and I’d like to find something more safeguarded.
    Do you have any solutions?

Tinggalkan Balasan

Alamat email Anda tidak akan dipublikasikan. Ruas yang wajib ditandai *