Home / Quiz / QUIZ – HTML Basics
0 of 10 questions completed
Questions:
The main purpose of our HTML quick quiz is to help you get a good start on the journey towards becoming a great web developer. HTML is the language of the web and it is imperative that you understand exactly what it can do and cannot.
So without further ado…
You have already completed the quiz before. Hence you can not start it again.
Quiz is loading...
You must sign in or sign up to start the quiz.
You have to finish following quiz, to start this quiz:
0 of 10 questions answered correctly
Your time:
Time has elapsed
You have reached 0 of 0 points, (0)
Average score |
|
Your score |
|
HTML is not a programming language. It is, however, a computer language. HTML lacks the basic elements of a programming language such as loops, conditional statements etc. The next question will make things even more clear.
HTML is not a programming language. It is, however, a computer language. HTML lacks the basic elements of a programming language such as loops, conditional statements etc. The next question will make things even more clear.
The main purpose of HTML is to structure web page content, especially web page text. Thus, one should use it ONLY to specify what should be a heading, a paragraph, a list etc. This is the right way to make web pages. HTML should not be used for “designing” web pages or directly dictate the position and color of elements. That job is left to CSS (Cascading Style Sheets)
If you got this one right, congratulations. You will always create “correct” web pages!
The main purpose of HTML is to structure web page content, especially web page text. Thus, one should use it ONLY to specify what should be a heading, a paragraph, a list etc. This is the right way to make web pages. HTML should not be used for “designing” web pages or directly dictate the position and color of elements. That job is left to CSS (Cascading Style Sheets)
If you got this one right, congratulations. You will always create “correct” web pages!
An HTML document can contain CSS and JavaScript code. However, it cannot contain an image. Yes, images are part of a web page (what you see in a browser window), they are separate entities that are embedded in the web page and NOT part of the HTML document.
An HTML document can contain CSS and JavaScript code. However, it cannot contain an image. Yes, images are part of a web page (what you see in a browser window), they are separate entities that are embedded in the web page and NOT part of the HTML document.
All browsers have HTML support. In fact, the main purpose of a web browser, whether it’s for a desktop computer, a mobile phone or a tablet, is to display web pages. Different web browsers support HTML in their own idiosyncratic way, however. For instance, old browser do not recognise new tags and the latest browsers may not render deprecated HTML tags correctly.
Now, there are some browsers on older mobile phones and PDAs that do not support HTML. I know I’m going back on my words, but these browsers, and the devices they run on, are gradually fading away. These old timers support WML (Wireless Markup Language) documents.
All browsers have HTML support. In fact, the main purpose of a web browser, whether it’s for a desktop computer, a mobile phone or a tablet, is to display web pages. Different web browsers support HTML in their own idiosyncratic way, however. For instance, old browser do not recognise new tags and the latest browsers may not render deprecated HTML tags correctly.
Now, there are some browsers on older mobile phones and PDAs that do not support HTML. I know I’m going back on my words, but these browsers, and the devices they run on, are gradually fading away. These old timers support WML (Wireless Markup Language) documents.
No! A web page needs to be in HTML to be displayed in a browser. I’m sure you would have come across web pages that have .php or .asp extensions instead of .html (or .htm). Even so, the server-side languages need to print ONLY HTML which can then be displayed by the browser. Open any web page and view the source code, it would always be HTML with a little Javascript and CSS.
No! A web page needs to be in HTML to be displayed in a browser. I’m sure you would have come across web pages that have .php or .asp extensions instead of .html (or .htm). Even so, the server-side languages need to print ONLY HTML which can then be displayed by the browser. Open any web page and view the source code, it would always be HTML with a little Javascript and CSS.
Each HTML document has a “head” and and a “body“. The <title> is part of the head section.
Each HTML document has a “head” and and a “body“. The <title> is part of the head section.
Web browsers will let you get away even if you don’t close the <img> tag. It had no closing tag originally. That was because the image tag is used to include an image object and that’s it. However, this would result in HTML validation error. The two ways you can close an image tag are – <img src=”…” alt=”…” /> and </img>. In the first option, one inserts the forward slash at the end of the <img> tag.
Web browsers will let you get away even if you don’t close the <img> tag. It had no closing tag originally. That was because the image tag is used to include an image object and that’s it. However, this would result in HTML validation error. The two ways you can close an image tag are – <img src=”…” alt=”…” /> and </img>. In the first option, one inserts the forward slash at the end of the <img> tag.
The image (<img> tag) is an inline element.
The image (<img> tag) is an inline element.
OK. So that was a tricky one. If you got it wrong and answered <ul>, don’t fret much. The <ul> is used to create an unordered list. Right! But the list element tag is <li>
OK. So that was a tricky one. If you got it wrong and answered <ul>, don’t fret much. The <ul> is used to create an unordered list. Right! But the list element tag is <li>
Nice for beginners
How do I view a deleted web page?
Is there a way to view a deleted web page - one that is no longer available? Yes there is and the solution is quite simple. [more...]
JavaScript was initially called LiveScript. The final name change is generally regarded as a clever marketing stunt by Netscape to ride on the popularity of Java, the hot new language at that time. So though the names are similar, JavaScript and Java have little in common. The language was created by Brendan Eich when he was working at Netscape Communications Corporation and it was first included in the beta releases of Netscape Navigator 2.0. Actually, if we go a little further in time, the language was called "Mocha" during development! JavaScript is now one of the most popular languages on the web and the term has been trademarked by Oracle Corporation. In the early days, Microsoft's implementation of the language was JScript. [more...]
We use cookies to give you the best possible website experience. By using WebDevelopersNotes.com, you agree to our Privacy Policy