Main content
Computer programming
Course: Computer programming > Unit 2
Lesson 1: Intro to HTMLWelcome to the web!
Want to join the conversation?
- how can you make a website and post it on the internet(137 votes)
- create Your Own Website With The help of html and Css and Search For Some Webhosting websites and go Throgh the Procedure to Host Your Website...:-)(85 votes)
- Hey!I got another question:If i started making a web page in HTML,can I continue working on it in CSS?Or will I have to start it all over again?Thank you!(52 votes)
- You can continue it with CSS, thats how you style your webpage. Type this <title>CSS Basics</title>
under this <meta charset="utf-8">(15 votes)
- Im in 8th grade, and im in webdesign...and i just did the write a poem challenge...and my web design teacher told me to write the code like this
<body>
<h1>...</h1>
<p>...</p>
<p>...</p>
</body>
(Just for the body)
Could this also be correct?(46 votes)- Yes. It seems to be the correct answer.(33 votes)
- What is the difference between a server and a client?(28 votes)
- A server is a host while a client visits the webpage that is serving. I hope that answers your questions =)(8 votes)
- hi all, I'm working about network system, I'm 31 years old, is it too late to learning about computer science ?(18 votes)
- No! It's never too late to learn computer science. Sure, it is a complicated subject and, like everyone, some topics may take time to understand, but given time you can definitely learn it.(41 votes)
- if you make a website how can u get .com for free?(19 votes)
- If you want to make a free website you should use Weebly.com . A great place to make websites for free. You could create a website by dragging tool boxes. Very Easy!(27 votes)
- Do HTML, CSS, and Java all work together to create a website? So would you have to know all 3 to create a website?(16 votes)
- NOTE: Java is a programming language that's different from JavaScript. They aren't really related except that they both happen to have "Java" in their names. Programmers like coffee, I guess. The language you use on web pages is usually JavaScript, not Java.
You can make a page on the web that doesn't use HTML, CSS, or JavaScript. You could make a file called myFile.html and put only "asdf" in the file, with no code. It would display the words. You could add some formatting with HTML, but CSS is much better for formatting, so it's better to use that. If you want to make it more interactive, you can add JavaScript. There are more languages you can learn to make sites even better.(29 votes)
- but how do you make web of your own(14 votes)
- You could buy a domain, This will cost you annually but the price can vary depending on which domain you choose to buy.(6 votes)
- Is HTML is things like fridges?(7 votes)
- HTML is found in the web, on things like Google. So HTML is generally for websites.
Fridges are programmed using other programming languages like (but not limited to) C++, Python, maybe Java.
HTML could be found in fridges if you have a web-enabled fridge.(16 votes)
- What client/browser are you using? I'm using Google Chrome on a laptop.(12 votes)
Video transcript
- Welcome, let's talk about the web, the thing that you're using right now. The web is this fast network
of connected computers, and as of 2014, there
are literally more than a billion websites - a billion! When I was a kid, we only had one million, and we thought we were cool. What do we use websites for? Well in the beginning,
researchers used websites to share their research, like on
high-energy particle colliders. But now everybody uses it
for pretty much everything. Maybe you use a social network
to chat with your family, a photo website for sharing photos of your adorable kitty cats, a travel website to decide
where to go on an exotic trip, or a news website to figure out what's going on in the world. And of course, you must be using the Khan Academy website to learn. So what's your favorite website? Actually, I have a better question. What website do you wish
existed, but doesn't yet? Maybe a website about yourself or about something that you love? The cool thing is you can
program a website yourself, and you can learn how to
do it here on Khan Academy. Start brainstorming what you want to make because you'll be able
to do it soon enough. First, let's back up a bit
and clear up some terminology. What is the "web," exactly? Well, like I said, it's a bunch of connected computers that have websites. When a computer is connected to the web and spitting out a website, we
call that computer a "server" because it's "serving" the website. A website is written
using three languages: HTML, for marking up the website content; CSS, for styling it; and JavaScript, for making it interactive. How do users like you
actually see those websites? Well you use an app dedicated
for website browsing, like Chrome, Firefox,
or Internet Explorer, and we call those apps "browsers." Browsers try to all show the
same website the same way, but they do have their
differences, which is why we sometimes say, "Oops,
there's a bug in that browser. "Try another one." Which browser are you using right now? Well you must be using that browser from some sort of device, like a laptop, phone, tablet, or even a smart TV, and we call those devices "clients." Clients can be really different. Some are way smaller than others, some have touchscreens,
others have keyboards, some are black and white. So websites have to try to work well in all sorts of clients. What client are you using right now? And that's the web. Well, the two-minute version. There's lots more to learn about the web, but now I think it's about
time to start having you write some HTML and CSS to
make your own web pages.