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.

 

6.168 comments

  1. valtrex 1000 mg

    valtrex price in canada

    paypal buy valtrex online canada

  2. Alexa Thurmon

    hey there and thank you for your information – I’ve definitely picked up anything new from right here. I did however expertise a few technical points using this site, as I experienced to reload the website a lot of times previous to I could get it to load correctly. I had been wondering if your web host is OK? Not that I am complaining, but slow loading instances times will sometimes affect your placement in google and can damage your high-quality score if ads and marketing with Adwords. Well I’m adding this RSS to my e-mail and could look out for much more of your respective exciting content. Make sure you update this again soon..

  3. 바카라 사이트

    I was curious if you ever considered changing the
    layout of your website? Its very well written; I love what youve got to say.
    But maybe you could a little more in the way
    of content so people could connect with it better.
    Youve got an awful lot of text for only having one or 2
    images. Maybe you could space it out better?

  4. game slot penghasil uang asli

    Thanks for ones marvelous posting! I definitely enjoyed reading it, you could be a great
    author. I will remember to bookmark your blog and will often come back in the foreseeable future.

    I want to encourage that you continue your great writing,
    have a nice afternoon!

  5. abetterwaymotors.net

    I do trust all of the ideas you have introduced for your
    post. They’re really convincing and will definitely work.
    Still, the posts are too brief for beginners.
    May just you please extend them a bit from next time?
    Thanks for the post.

  6. becamexbinhduong.net

    Terrific work! This is the type of info that should be shared across the web.
    Disgrace on the search engines for no longer positioning this put up upper!
    Come on over and discuss with my website .
    Thanks =)

  7. pest control Blacktown

    I have read a few just right stuff here. Certainly value
    bookmarking for revisiting. I wonder how so much effort you put to make one of
    these great informative web site.

  8. rdiet.ir

    What’s Happening i’m new to this, I stumbled
    upon this I’ve discovered It absolutely helpful and it has
    aided me out loads. I hope to give a contribution & assist different
    users like its helped me. Great job.

    Feel free to surf to my blog rdiet.ir

  9. sC7N7vJ8xK1

    I loved as much as you will receive carried out right here.
    The sketch is attractive, your authored subject matter stylish.

    nonetheless, you command get got an edginess over that you wish be delivering the following.
    unwell unquestionably come more formerly again as exactly the same nearly very often inside case you shield this hike.

  10. web

    Heya i am for the primary time here. I came across this board and I in finding It really useful & it helped me out much. I hope to provide something back and aid others like you aided me.

Tinggalkan Balasan

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