10 Questions
Which HTML attribute is used to specify the source (URL) of an image?
src
What is the purpose of the 'alt' attribute in the HTML image element?
To provide an alternative text for the image
What is the function of a hyperlink in HTML?
To navigate to another website
How can an image be turned into a hyperlink in HTML?
By wrapping the image with an anchor tag
What is the purpose of an unordered list in HTML?
To display a list of items in no particular order
Which organization introduced CSS in 1996?
World Wide Web Consortium (W3C)
What is the main purpose of CSS?
To enable the separation of presentation and content
Which of the following is NOT a type of CSS?
Embedded CSS
What can CSS be used for?
Styling and layout of web pages
What is one of the effects that CSS can be used for?
Animation
Study Notes
Introduction to HTML and CSS
- Dr. Navneet Kaur is giving lectures on Internet Programming Laboratory at Lovely Professional University.
- The lecture outlines include topics such as images, hyperlinks, formatting text in HTML, section tags, and lists.
- The HTML element is used to embed images into the document, with attributes like src, alt, height, and width.
- Figure 1 shows an example of an image with a caption.
- Hyperlinks are clickable text or icons that direct to another website, created using the element and the href attribute.
- Image links can also be created by wrapping an image with an element.
- In the next lecture, Dr. Navneet Kaur will introduce Cascading Style Sheets (CSS) and cover topics like CSS syntax, types of CSS, and comments in CSS.
- CSS was designed to separate presentation and content, and was introduced by the W3C in 1996.
- CSS allows for the styling and layout of web documents, including basic text styling and effects like animation.
- CSS syntax is used to specify the styles and layout of elements in a document.
- CSS can be used for more advanced effects and customization of web pages.
- The lectures are part of the CSE326 Internet Programming Laboratory course at Lovely Professional University.
This quiz covers topics related to internet programming and HTML, including images, hyperlinks, formatting text, lists, and description lists. Test your knowledge on these concepts with this quiz by Dr. Navneet Kaur from Lovely Professional University.
Make Your Own Quizzes and Flashcards
Convert your notes into interactive study material.
Get started for free