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.

 

4.759 comments

  1. Century Seasons

    Great delivery. Outstanding arguments. Keep up the amazing work.

  2. Overstocks

    I must thank you for the efforts you’ve put in writing this website.
    I really hope to check out the same high-grade content by you later on as well.
    In truth, your creative writing abilities has
    inspired me to get my own, personal website now 😉

  3. Download Firefox for Mac

    Undeniably imagine that that you stated. Your favorite justification appeared to be at the net the
    simplest factor to have in mind of. I say to you, I certainly get irked even as other folks think
    about concerns that they just don’t know about. You managed
    to hit the nail upon the highest as neatly as defined out the entire thing with no need side
    effect , other people can take a signal. Will probably be back to get more.
    Thank you

  4. Lynne

    I could not resist commenting. Exceptionally well written!

  5. read this Porsche Taycan Vs Audi E Tron

    Your style is so unique compared to other folks I have read stuff from.
    Thank you for posting when you have the opportunity, Guess
    I will just book mark this web site.

  6. taoli99.com

    Hi, Ⲛeat рost. Тhere’s an issue with your site in ѡeb exрlorer, may check this?
    IE stіll іs the market chief and a large component to other peoрle will misѕ your wonderful wгitіng because of this problem. http://taoli99.com/comment/html/?274794.html

  7. windows 8.1

    I’ve been browsing online more than three hours today, yet I never found any interesting article like yours. It is pretty worth enough for me. In my opinion, if all webmasters and bloggers made good content as you did, the net will be a lot more useful than ever before.

  8. Get A Loan

    [url=http://ssoloans.com/]payday loans online lenders[/url] [url=http://pskloans.com/]loan type[/url]

  9. LGBT la gi và Deo Nhan Ngon Nao

    Hi there I am so grateful I found your webpage,
    I really found you by accident, while I was researching on Bing for
    something else, Anyhow I am here now and would
    just like to say thanks a lot for a incredible post and a all round thrilling blog
    (I also love the theme/design), I don’t have time to look over it all at
    the moment but I have book-marked it and also added your RSS feeds, so when I have time I will
    be back to read much more, Please do keep up the superb job.

  10. https://phungkhoi.com/

    I think the admin of this web page is in fact working hard in support of his web
    page, because here every information is quality based information.

  11. http://r.os.ade.li.aander.s.o.nc.o.1986@taoli99.com

    Hey would yoou mіnd stating ᴡһich blog platform you’re using?

    I’m lookin tto start my own blog soon but I’m having a tough time cһoosing between BlogEngine/Wordpress/B2evоlᥙtion andd Drᥙpal.
    The reason I asк іs becaսse your design sedms different
    then most blogs and I’m looking for sometһing unique.
    P.S Sorry for beinmg off-topic but I had to ask! http://r.os.ade.li.aander.s.o.nc.o.1986@taoli99.com/comment/html/?273605.html

  12. onlinegamblingsg.blogspot.com

    I was very happy to discover this website. I want to to
    thank you for your time just for this fantastic read!!
    I definitely enjoyed every little bit of it and i also have
    you book-marked to look at new information on your blog.

  13. Homepage

    Hello, you used to write magnificent, but the last few posts have been kinda boring… I miss your super writings. Past several posts are just a little bit out of track! come on!

  14. https://88poker.co/

    I love the efforts you have put in this, appreciate
    it for all the great blog posts.

  15. Kimkam

    [url=https://indocindrug.com/]indocin medication[/url]

  16. Miakam

    [url=https://zyloprimallopurinol.com/]allopurinol online pharmacy[/url] [url=https://cialistore.com/]discount cialis tablets[/url] [url=https://finasteridepropecia.com/]propecia for sale canada[/url] [url=https://arimidexanastrozole.com/]buy arimidex tablets[/url] [url=https://chloroquinelab.com/]online chloroquine[/url]

  17. http://kreditbezspravki.ru

    В данном разделе собраны компании, которые дают возможность взять
    деньги в долг без кредитной истории – выбирайте условия кредитования и оформляйте заявку
    онлайн. … До 30 дней. До 30000 руб.
    От 0.83% в день. Получение: Займ онлайн на карту срочно без справок и поручителей!
    Решение за 15 мин.

Tinggalkan Balasan

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