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. knew spanish

    You actually make it seem so easy with your presentation but I find this matter to be actually something that I
    think I would never understand. It seems too complex and extremely broad for
    me. I’m looking forward for your next post, I will try to get the hang of it!

    my web page; knew spanish

  2. Ryder

    Its like you read my mind! You seem to know so much about this,
    like you wrote the book in it or something. I think that you could do with a few pics to drive the message home a bit, but other than that, this is excellent blog.

    An excellent read. I will definitely be back.

  3. homepage

    Paragraph writing is also a excitement, if you be familiar with after that you can write
    otherwise it is complicated to write.

  4. browse around this site Porsche Taycan 4s Price

    You are so cool! I do not believe I’ve truly read through anything like that before.
    So great to discover somebody with genuine thoughts on this issue.

    Seriously.. thank you for starting this up. This website is one thing that’s needed on the internet, someone with a little originality!

  5. guitar tone knob

    Howdy! This post couldn’t be written much better!
    Looking through this article reminds me of my previous roommate!
    He constantly kept preaching about this. I will send this post
    to him. Fairly certain he’s going to have a great read.
    I appreciate you for sharing!

  6. Why Not Try This Out Porsche Taycan Model

    Appreciating the time and effort you put into your website
    and detailed information you provide. It’s awesome to come across a blog every
    once in a while that isn’t the same outdated rehashed information. Fantastic read!
    I’ve saved your site and I’m including your RSS feeds to my Google account.

  7. Richelle

    Assessment your credit card accounts and
    general finances.

  8. 부산스웨디시마사지

    After looking over a few of the blog posts on your site, I honestly
    appreciate your technique of writing a blog. I bookmarked it to
    my bookmark webpage list and will be checking back in the
    near future. Please visit my website too and tell me how you feel.

  9. Richard

    I know this if off topic but I’m looking into starting my own weblog and was curious what all is required to get setup?
    I’m assuming having a blog like yours would cost a pretty penny?
    I’m not very internet savvy so I’m not 100% positive.

    Any suggestions or advice would be greatly
    appreciated. Many thanks

  10. Aurelia

    Simply wish to say your article is as amazing. The clearness to your put up is just nice and i could think you are knowledgeable in this subject.
    Fine along with your permission allow me to clutch your feed to keep
    up to date with drawing close post. Thanks 1,000,000 and please carry on the rewarding work.

  11. gallerychoi.com

    I blog frequently and I truly appreciate your information. This article
    has truly peaked my interest. I am going to bookmark your blog and keep checking
    for new details about once per week. I subscribed to your RSS feed as
    well.

  12. Informacion de instagram

    It’s actually a nice and helpful piece of info.

    I’m satisfied that you shared this helpful information with us.

    Please stay us up to date like this. Thanks for sharing.

  13. Tennis Shoes Reviews

    A person necessarily assist to make severely posts
    I would state. This is the very first time I frequented your
    website page and up to now? I amazed with the research you made to make this particular submit incredible.

    Magnificent task!

  14. publitodi.com

    My brother suggested I would possibly like this website. He was once totally right.
    This put up truly made my day. You can not imagine just
    how so much time I had spent for this info! Thank you!

  15. Wilson

    Oh my goodness! Awesome article dude! Thanks, However I am encountering issues with your RSS.
    I don’t understand why I am unable to subscribe to it.
    Is there anybody having identical RSS issues?
    Anyone who knows the answer can you kindly respond?
    Thanks!!

  16. Tennis Shoes Reviews

    Great blog you have got here.. It’s difficult to find good
    quality writing like yours nowadays. I truly appreciate individuals like you!
    Take care!!

  17. seduce en whatsapp

    Hey there! This is my first visit to your blog!
    We are a team of volunteers and starting a new project in a community in the same
    niche. Your blog provided us valuable information to work on. You
    have done a outstanding job!

  18. elaads.com

    I wanted to thank you for this great read!! I
    certainly enjoyed every little bit of it.
    I’ve got you book-marked to check out new things you post…

  19. https://question2answer.00web.net

    Everything is very open with a clear clarification of the
    issues. It was definitely informative. Your website is very useful.
    Thank you for sharing!

  20. Renaldo

    Write more, thats all I have to say. Literally, it seems as though
    you relied on the video to make your point. You obviously know
    what youre talking about, why waste your intelligence on just posting videos to your weblog when you could
    be giving us something enlightening to read?

  21. plr course

    First of all I want to say awesome blog! I had a quick question which I’d
    like to ask if you don’t mind. I was interested to find out how you
    center yourself and clear your thoughts prior to writing.
    I’ve had difficulty clearing my thoughts in getting my ideas out.

    I truly do enjoy writing however it just seems like the first 10 to 15 minutes tend to
    be lost just trying to figure out how to begin. Any
    ideas or tips? Cheers!

  22. n95 mask for kids

    Your method of explaining everything in this article is actually good, every one be capable of effortlessly understand it, Thanks a lot.

Tinggalkan Balasan

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