• HTML Tutorial
  • HTML Exercises
  • HTML Attributes
  • Global Attributes
  • Event Attributes

HTML Interview Questions

  • DOM Audio/Video
  • HTML Examples
  • Color Picker
  • A to Z Guide
  • HTML Formatter

HTML Interview Questions and Answers (2024)

  • HTML Interview Questions and Answers (2024) - Intermediate Level
  • HTML Interview Questions and Answers (2024) – Advanced Level

CSS Interview Questions

  • CSS Interview Questions and Answers

JavaScript Interview Questions

  • JavaScript Interview Questions and Answers
  • JavaScript Interview Questions and Answers (2024) - Intermediate Level
  • JavaScript Interview Questions and Answers (2024) - Advanced Level

TypeScript Interview Questions

  • TypeScript Interview Questions and Answers (2024)

jQuery Interview Questions

  • jQuery Interview Questions and Answers (2024)
  • jQuery Interview Questions and Answers | Set-2
  • jQuery Interview Questions and Answers | Set-3

Angular Interview Questions

  • AngularJS Interview Questions and Answers (2024)

React Interview Questions

  • React Interview Questions and Answers
  • React Interview Questions and Answers (2024) - Intermediate Level
  • React Interview Question and Answers (2024) - Advance Level

Node Interview Questions

  • Node.js Interview Questions and Answers
  • Node Interview Questions and Answers (2024) - Intermediate Level
  • Node Interview Questions and Answers (2024) - Advanced Level

MERN Interview Questions

  • Top MERN Stack Interview Questions

PHP Interview Questions

  • PHP Interview Questions and Answers (2024)
  • PHP Interview Questions and Answers (2024) | Set-2

Tailwind CSS Interview Questions

  • Tailwind CSS Interview Questions and Answers
  • Frontend Developer Interview Questions

In this article, you will learn HTML interview questions and answers that are most frequently asked in interviews. Before proceeding to learn HTML interview questions, first learn the complete HTML Tutorial .

HTML Interview Questions and Answers

HTML Interview Questions and Answers

This article contains the list of the top 20 most common & frequently asked HTML & HTML 5 interview questions with their explanations for beginner level.

Similar Articles

Html interview questions and answers (2024) – intermediate level html interview questions and answers (2024) – advanced level, 1. what is html.

HTML stands for HyperText Markup Language. It is used to design web pages using a markup language. HTML is a combination of Hypertext and Markup language. Hypertext defines the link between the web pages. The markup language is used to define the text document within the tag which defines the structure of web pages. HTML is used to structure the website and is therefore used for Web Development.

2. Difference between HTML and XHTML

3. what are the various markup languages available.

  • HTML : Hypertext Markup Language
  • KML: Key whole Markup Language
  • MathML : Mathematical Markup Language
  • SGML : Standard Generalized Markup Language
  • XHTML : eXtensible Hypertext Markup Language
  • XML : eXtensible Markup Language

4. What is the difference between HTML and HTML 5?

Please refer to the Difference between HTML and HTML5 article for a detailed description.

5. What is the current version of HTML?

HTML 5 is the fifth and current version of HTML.

6. What is !DOCTYPE?

A doctype or document-type declaration is an instruction that tells the web browser about the markup language in which the current page is written. The doctype is not an element or tag, it lets the browser know about the version of or standard of HTML or any other markup language that is being used in the document. The DOCTYPE for HTML5 is case-insensitive and can be written as shown below:

 Please refer to the HTML Doctypes article for a detailed description.

7. What are elements and tags, and what are the differences between them?

HTML Tags : Tags are the starting and ending parts of an HTML element. They begin with < symbol and end with > symbol. Whatever is written inside < and > are called tags.

HTML elements : Elements enclose the contents in between the tags. They consist of some kind of structure or expression. It generally consists of a start tag, content, and an end tag.

 Difference between HTML Tag & HTML Element:

8. What are the various heading tags and their importance?

There are 6 levels of headings defined by HTML. These six heading elements are H1, H2, H3, H4, H5, and H6; with H1 being at the highest level and H6 at the least.

Importance of Heading:

  • Search Engines use headings for indexing the structure and content of the webpage.
  • Headings are used for highlighting important topics.
  • They provide valuable information and tell us about the structure of the document.

9. How to redirect to a particular section of a page using HTML?

One can use the anchor tag to redirect to a particular section on the same page. You need to add “id attribute” to the section that you want to show and use the same id in href attribute with “#” in the anchor tag. So that On click a particular link, you will be redirected to the section that has the same id mentioned in the anchor tag.

Example: When the user clicks on the “Contact Us” link, he will be redirected to the “Contact Us section” on the same page.

Please refer to the How to redirect to a particular section of a page using HTML or jQuery article for a detailed description.

10. What are attributes?

An attribute is used to provide extra or additional information about an element.

  • All HTML elements can have attributes. Attributes provide additional information about an element.
  • It takes 2 parameters ie., name and value. These define the properties of the element and are placed inside the opening tag of the element. The name parameter takes the name of the property we would like to assign to the element and the value takes the property value or extent of the property names that can be aligned over the element.
  • Every name has some value that must be written within quotes.

11. Are <b> and <strong> tags same? If not, then why?

HTML strong tag: The strong tag is one of the elements of HTML used in formatting HTML texts. It is used to show the importance of the text by making it bold or highlighting it semantically.

HTML bold tag: The bold tag or <b> is also one of the formatting elements of HTML. The text written under the <b> tag makes the text bold presentationally to draw attention.

The main difference between the <bold> tag & <strong> tag is that the strong tag semantically emphasizes the important word or section of words while the bold tag is just offset text conventionally styled in bold . Click Here to know more.

12. What is the difference between <em> and <i> tags?

<i> tag: It is one of the elements of HTML which is used in formatting HTML texts. It is used to define a text in technical terms, alternative mood or voice, a thought, etc.

<em> tag : It is also one of the elements of HTML used in formatting texts. It is used to define emphasized text or statements.

By default, the visual result is the same but the main difference between these two tags is that the <em> tag semantically emphasizes the important word or section of words while the <i> tag is just offset text conventionally styled in italic to show alternative mood or voice. Click Here to know the difference between them.

13. How are comments added in HTML?

The comment tag (<!– Comment –>) is used to insert comments in the HTML code.

Types of HTML Comments: There are three types of comments in HTML which are:

  • Single-line comment
  • Multi-lines comment
  • Using <comment> tag

14. What are the different formats in which colors in HTML can be declared?

The color of an element can be defined in the following ways:

  • Built-In Color
  • RGBA Format
  • Hexadecimal Notation
  • Hue: Hue is the degree of the color wheel. Its value lies between 0 to 360 where 0 represents red, 120 represents green and 240 represents blue color.
  • Saturation: It takes a percentage value, where 100% represents completely saturated, while 0% represents completely unsaturated (gray).
  • Lightness: It takes a percentage value, where 100% represents white, while 0% represents black.

15. How to create a link in HTML?

A Link is a connection from one Web resource to another. A link has two ends, An anchor and a direction. The link starts at the “source” anchor and points to the “destination” anchor, which may be any Web resource such as an image, a video clip, a sound bite, a program, an HTML document, or an element within an HTML document.

HTML Link Syntax: Links are specified in HTML using the “a” tag.

Explanation:

  • href: The href attribute is used to specify the destination address of the link used.
  • Text link: The text link is the visible part of the link.

16. What is the use of the target attribute in the <link> tag?

The HTML <link> target Attribute is used to specify the window or a frame where the linked document is loaded. It is not supported by HTML 5.

Attribute Values:

  • _blank: It opens the link in a new window.
  • _self: It opens the linked document in the same frame.
  • _parent: It opens the linked document in the parent frameset.
  • _top: It opens the linked document in the full body of the window.
  • framename: It opens the linked document in the named frame.

17. What is the use of alt attribute in images?

The <img> alt attribute is used to specify the alternate text for an image. It is useful when the image is not displayed. It is used to give alternative information for an image.

18. What are the HTML tags used to display a table?

  • <table>: It is used to define a table.
  • <tr>: It is used to define a row in a table.
  • <th>: It is used to define a header cell in a table.
  • <td>: It is used to define a cell in a table.
  • <caption>: It is used to define the table caption.
  • <colgroup>: It is used to define a group of one or more columns in a table for formatting.
  • <col>: It is used with <colgroup> element to specify column properties for each column.
  • <tbody>: It is used to define a group of body content in a table.
  • <thead>: It is used to group the header content in a table.
  • <tfooter>: It is used to group the footer content in a table.

19. What are the different types of lists in HTML?

A list is a record of short pieces of related information used to display the data or any information on web pages in the ordered or unordered form. HTML offers 3 ways for specifying lists of information. All lists must contain one or more list elements. The types of lists that can be used in HTML are:

  • Unordered List: It will list the items using plain bullets.
  • Ordered List: It will use different schemes of numbers to list your items.
  • Definition List: It arranges your items in the same way as they are arranged in a dictionary.

20. What is the difference between block and inline elements?

Every element in HTML has a default display value which depends upon the element type. Block or inline is the default display value for most of the elements.

Block-Level Elements: A block-level element always starts on a new line and stretches out to the left and right as far as it can.

  • div element: The div element is used as a container for other HTML elements. It has no required attributes. Style , class, and id are the commonly used attributes.
  • span element: The span element is used as a container for text. It has no required attributes. Style , class, and id are the commonly used attributes.

Please Login to comment...

Similar reads.

  • HTML Interview-Questions
  • HTML-Questions
  • Web Technologies

advertisewithusBannerImg

Improve your Coding Skills with Practice

 alt=

What kind of Experience do you want to share?

Adaface Sample HTML/CSS Questions

Programming languages, data science, software engineering basics, data engineering, cloud engineering, test engineering, trusted by recruitment teams in enterprises globally.

Amazon

We evaluated several of their competitors and found Adaface to be the most compelling. Great library of questions that are designed to test for fit rather than memorization of algorithms.

Swayam Narain, CTO, Affable

hashtag image

[email protected]

  • Product Tour
  • Integrations
  • AI Resume Parser
  • Aptitude Tests
  • Coding Tests
  • Psychometric Tests
  • Personality Tests
  • Skills assessment tools
  • 52 pre-employment tools compared
  • Compare Adaface
  • Compare Codility vs Adaface
  • Compare HackerRank vs Adaface
  • Compare Mettl vs Adaface
  • Online Compiler
  • Guide to pre-employment tests
  • Check out all tools

Singapore (HQ)

32 Carpenter Street, Singapore 059911

Contact: +65 9447 0488

WeWork Prestige Atlanta, 80 Feet Main Road, Koramangala 1A Block, Bengaluru, Karnataka, 560034

Contact: +91 6305713227

🌎 Pick your language

ada

A Space for Creative Growth

6 Web Design Case Studies We Can Learn From

Convey your thought processes and skills - and show future clients who you are as a designer

case study questions in html

  • Apr 11, 2019

We all know the importance of having a good online design portfolio. It’s your opportunity to show off your masterpieces to the world, while having full control over all aspects, from the layout, to animations, navigation and more. This way, you can have an impact on the way your work is perceived and experienced by potential clients or employers.

That’s all very well, but when it comes to web design projects, why not simply add a link to the website itself and let your visitors browse freely over there? Sure – you should link to any websites you’ve designed, but there are many ways to effectively showcase your web design projects on your portfolio.

Creating a case study that explains your work process and final results can elevate your projects to a whole other level. It can help your site visitors gain a better understanding of who you are, the way you work, your decision-making processes and more. Just like any other design project, a case study should tell a story. It should take your site visitors on a journey through your process, from color palette choices, to icons created specifically for the project, ‘before and after’ pics and more.

We’ve gathered six designers who have chosen diverse ways to expertly showcase their web design projects on their Wix portfolios. Dive in for some inspiration:

1. Brown Owl Creative for Creative House Group

> Showcasing custom-made icons and full-length screenshots

Multidisciplinary design company, Brown Owl Creative, chose to place a fullscreen gif on the top fold of this project page, instantly setting the tone. Directly beneath, a brief sentence introduces the client they were working with, plus the discipline involved and a link to the final result: the website itself. A generous use of white space helps put the focus on the text.

Scrolling down, you’ll find full-length screenshots of their website design, with a simple non-obtrusive gray border. They’ve also chosen to display a section of the client’s website on a laptop, offering an alternative perspective. Another nice touch is the emphasis they’ve put on three animated icons that are featured on the final site. And let’s not forget some basic UX principles they’ve taken care of: a ‘Back to top’ button and a ‘Next project’ button to ensure fluid navigation.

2. Miki Twersky for Nosta Fragrances

> Merging video screenshots with atmospheric photos

There are many subtle additions to NYC-based designer Miki Twersky’s portfolio that make it such a success. The comic footer, delightfully honest ‘ About ’ page and spacious layout make for a browsing experience that is both smooth and entertaining.

It comes as no surprise that her inner project pages are crafted with just as much care and attention to detail. This web design case study starts with a mood-setting image, followed by a brief explanation of the brand and some additional basic details, such as the date, her roles within the project and any other contributors. A slider invites you to scroll through to view the various stages involved in the logo design process.

Further down, Miki has seamlessly integrated video screenshots of the website, enabling her to choose which aspects of her design to put a spotlight on. The page ends with a few product photos that help strengthen the look-and-feel and tie everything together, while presenting more of her branding work.

3. Adelaide Wang for Humm.ly

> Thorough case study incorporating texts, images and videos

San Francisco-based product designer, Adelaide Wang, definitely knows the ins and outs of creating an intriguing and comprehensive case study. Having worked on many aspects of this project for Humm.ly , a music healthcare platform and app, she was able to share her and her team’s full work process.

The long-scrolling page takes you on a journey through some of the major stages of any design project. It starts by presenting their search for a defined visual identity. It then moves on to the details of the app’s various screens and navigation, putting an emphasis on the accessibility of the website’s design . Lastly, Adelaide presents the website itself on various devices, including a video screenshot of the website on mobile.

A consistent layout is used throughout the page, with titles, subtitles and paragraph text all retaining the same style. Two alternating shades of gray make up the website’s background, creating a clear, but subtle, separation between folds, and ultimately contributing to a successful user experience.

Learn more about how to nail your website’s UX design with these professional examples.

4. Studio&more for Din7

> Presenting color choices, logo design and more

Here’s another example of a detailed web design case study, by graphic design studio, Studio&more. In this project for industrial design company, Din7, they worked on both branding and UX. As a result, they had the material necessary to cover everything from color palette and typography choices, to the development of the company’s logo design, illustration style, website and various applications of the visual identity.

Each section of the case study is numbered and presented with a succinct selection of images. They’ve also used the visual language they came up with for the brand in the background, creating a strong and clearly defined tone of voice. Lastly, the studio has picked out a few of their website design’s screens to showcase separately, drawing attention to them.

5. Ariel Sun for her wedding website

> Telling a story through text and images

NYC-based artist and designer, Ariel Sun, created this web design case study for her own wedding website. There are many ways to write copy for your design portfolio – and here, Ariel’s gone for a friendly and personal tone of voice to provide site visitors with an inviting summary of the project. She also clearly explained what she and her partner’s different roles were in the process, giving everyone the credit they deserve.

Two simple, static screenshots of the website design follow, presenting the most prominent pages of the site. These are accompanied by an illustration of the couple and an image of the wedding invitation, helping us get a feel for the vibe they were going for. All of this is presented in a highly aesthetic way, using a clean grid, plus a fixed menu at the top for comfortable navigation.

6. Liron Ashkenazi for The-Artery

> Including mobile and tablet view, process, and more

Multidisciplinary design director, Liron Ashkenazi, worked with a team of 3D artists, designers and developers to come up with the award-winning design for The-Artery ’s website. Liron’s case study of the project is made up of a selection of beautifully designed screenshot videos, short explanatory titles, the 3D model design process and accompanying text. The layout is concise, while including all the relevant details.

A thin column on the left provides us with background information on the client, The-Artery, as well as a breakdown of the various roles and the people involved. It also includes a list of links where the website has been featured.

Scrolling down the page, you see the development of the 3D animated models that appear on the final website. There’s also an image that showcases the website on three different devices. Incorporating elements from the design outside of the screenshots, makes for an intriguing visual representation of the overall project. The text above and on each image clarifies which page you’re looking at and who’s responsible for which elements, while not distracting from the design itself. Finally, Liron has included the design for a 404 page – a welcome addition, especially when it looks this good.

MORE POSTS LIKE THIS:

Apr 23, 2024

Stay curious: 5 web-design inspiration sites

case study questions in html

Apr 15, 2024

Mentor Spotlight with Guy Banaim

case study questions in html

Apr 8, 2024

Designer Spotlight with Pauline Esguerra

Simply Coding

Web Designing

case study questions in html

HTML: Question Bank

  • Categories Web Designing , HTML , HTML

This post contains 1 mark questions on the topic of HTML, including head section, lists, special characters and unclosed tags in the form of MCQs, fill in the blanks and true or false statements. These questions are in accordance with the new revised format of 2020.

Html introduction, fill in the blanks:.

  • HTML is a subset of __________ .
  • The tag that requires a opening as well as closing tag is called __________ .

Ans. container tag

  • <BR> tag is an ___________ element tag.              
  • The textual content that appears in the source HTML document but is not rendered by the browser is called ___________.                             

Ans. Comment

  • An element that only has a starting tag and no ending tag is __________ element.

Multiple Choice Questions:

  • scripting language
  • markup language
  • All of the above
  • none of the above
  • Both a and b
  • None of the above
  • HTML command
  • HTML Header
  • HTML statement
  • None of these
  • Browser    
  • Document To Document
  • Dynamic Type Definition
  • Document Type Definition
  • Direct Type Definition
  • Hyper Text Marker Language
  • Hyper Tag Markup Language
  • Hyper Text Markup Language
  • Hyper Transfer Markup Language
  • curly brackets
  • square brackets
  • double quotes
  • angular brackets
  • <html><head></head><body></body></html>
  • <html><head><body></body></head></html>
  • <html><head></body></body></head></html>
  • <html><<head></head></body></body></html>
  • It is easier to use
  • all browsers can display the document
  • It works on all platform
  • <HTML>
  • <HEAD>
  • <BODY>
  • <TAG>
  • starting tag
  • starting and ending tags
  • in uppercase
  • case sensitive
  • in lowercase
  • not case sensitive
  • tags only for hypertext
  • user defined tags
  • tags only for linking
  • fixed tags defined by the language
  • Pair element
  • Twin Element
  • Container Element
  • Empty Element
  • Dreamweaver
  • Microsoft Visual Studio
  • All of these
  • text editor
  • Web browser
  • Both (a) and (b)

State whether the following statements are true or false:

  • HTML is a case sensitive Web language.
  • HTML is a programming language
  • <Head> tag is used to define meta data

Ans. True   

  • <TITLE> tag is used in the HEAD section of HTML document.

HTML List Tags

Fi ll in the blanks:.

  • The unordered list starts with __________ tag.              

Ans. <UL>

  • _________ tag creates a bulleted list. 
  • _________value of type attribute displays a hollow circle for an unordered lists.

Ans. Circle

  • <LI> tag
  • <UL> tag
  • <I> tag
  • <OL> tag
  • Disc, circle, square
  • Square, polygon
  • Disc, circle, rectangle
  • Disc, oval, polygon
  • <UL type=”circle”>
  • <OL type= “square”>
  • <ULtype=”square”>
  • <UL start= “square”>
  • Arabic numbers
  • Roman numerals
  • <OL type=”A”>
  • <OL start=”A”>
  • <OL begin=”A”>
  • <OL starts=“a”>
  • <OL start=”3″>
  • <OL type=”3″>
  • <OL value=”3″>
  • Any of these
  • <UL type=”round”>
  • <OL start=”l”>
  • <UL =”circle”>
  • <UL type =”circle”>
  • <OL type=”r”>
  • <OL type=”u”>
  • type attribute
  • style attribute
  • start attribute
  • none of these

HTML Special Characters

Fill in the following blanks:.

  • To display an & on the web page, __________ is used in the source HTML code.

Ans. &amp;

  • ________ tag is used to create subscripts on a Web page.

Ans.  <sub>

HTML Head Section

  • both of the above
  • head and body
  • html and body
  • html and head
  • Title and Body

State whether the following is true or false

  • Extension of an any SGML file is .html.

Fill in the blank:

  • The _________ tag is used to define basic font size for the HTML page.

Ans. <BASEFONT>

Unclosed HTML Tags

Multiple choice question:.

  • <rule>     
  • <BR> tag has its closed tag as </BR>
  • <P> tag has no closing tag
  • < HR> tag is same as <BR>
  • <tab> tag is used to display tables
  • Line breaks are given through <BR>
  • _________ tag is used to bring the text to new line.                              

Ans. <BR>

  • HR tag is used for  _________     

Ans. horizontal line

  • _________ attribute of <HR> tag specifies the width of a horizontal line.
  • noshade is an attribute of _________ tag.              

Ans. <HR>

  • By default <HR> produces a __________ rule.
  • Comments are enclosed in __________ and _________ tags

Ans. <!–, –>

HTML Link Tags

  • _________ is a word or image that when clicked take us to another Web page.

Ans. Hyperlink

  • __________ tag is used to connect Web pages.                              

Ans. <a>

  • __________ are used to connect Web pages. They are created with <a> tag. 

Ans. Hyperlinks

  • The _________attribute is used for specifying the URL of the anchor tag.
  • An _________ link allows a link to another Web page or another Website. 

Ans. external

  • The _________ attribute of <a> tag is used to provide information or a title for the linked document or Web page.              
  • A link allows a link to another section on the same or different Web page.

Ans. internal

  • A visited link on a Website is generally underlined and __________ in color.

Ans. purple

  • The default color of alink attribute is __________ .                             
  • __________ is used to change the colour of a visited link. 
  • __________ Attribute is used with <A>tag to specify the URL of link              
  • An __________ link allowed a; link to another section on the same webpage

Ans. Internal

  • The default colour of a hyperlink on a webpage is __________              
  • The attribute ___________ is used for specifying the URL of the anchor tag
  • a container tag
  • an empty tag
  • a closing tag
  • <start>
  • <a link = “page.htm”> </a>   
  • <a href = “page.htm”>page</a>
  • <a connect = “page.htm”></a>
  • <a attach = “page.htm”></a>
  • <a href = “URL”>Text</a>
  • <a href=”ABC.html”><img src =”graphic.gif”>Click Here</a>
  • <a ref=mailto:<img src = graphic.gif>Click Here</a>
  • the image tag should be within anchor tag
  • the anchor tag should be within image tag
  • the image tag should be before the anchor tag
  • the image tag should be after the anchor tag
  • Only in framesets
  • <LINK SRC = “ABC .HTML”>
  • <BODY LINK = “ABC HTML “>
  • A SRC = “ABC HTML”>
  • <HREF = “ABC. HTML”>
  • <A HREF = [email protected]> </A>
  • <A HRFF= maitro:xx @yy.com”></A>
  • <A MAILHREF = xx@yy .com></A>
  • Border is an attribute of <a> tag. 
  • The <a> tag is called the align tag. 
  • The anchor tag <a> signals the beginning of the text.
  • The color of the hyperlinks in an HTML document can be changed.

Ans. True          

  • Hyperlinks can also be created for links within the same document. Linking within the same document is called external linking.
  • It is not possible to create link within current document. 
  • The name attribute of the <a> tag allows the user to create links within the same document. 

Ans. True          

  • Target attribute with <A> tag is used to open a link in anew window.

User Avatar

Previous post

Internet and WWW: Question Bank

Bubble sort, you may also like.

HTML Table tags

HTML Table Tags

HTML List

HTML Audio and Video tags

Leave a reply cancel reply.

You must be logged in to post a comment.

Login with your site account

Remember Me

Not a member yet? Register now

Register a new account

I accept the Terms of Service

Are you a member? Login now

HTML: An Introduction

Class 6 - apc understanding computer studies, choose the correct option.

In an HTML document, what does the letter H mean?

Reason — The full form of HTML is Hyper Text Markup Language.

Which of the following is the correct representation of html tags?

  • {..........}

<..........>

  • (..........)
  • all of the above

Reason — Tags are marked by the angle braces (<...>). For example, <HTML>, <TITLE>, <HEAD> , etc. are tags.

Which of the following heading tags will display the largest heading size?

Reason — Heading tag includes six different levels of headings which vary from <H1> to <H6> . <H1> tag is used to define the largest heading whereas, <H6> defines the smallest heading.

Which of the following is created using HTML?

  • Web browser

Reason — A 'Web Page' is a document that is written in Hypertext Markup Language (HTML).

Which of the following contents of HTML is enclosed within opening and closing tags?

Reason — In HTML, the content written within an opening tag and closing tag is called the element.

Fill in the blanks

HTML means Hyper Text Markup Language .

A set of pages of information on the Internet about a particular subject is called a website .

The language used to create web pages is known as HTML .

Every HTML document begins with <HTML> and ends with </HTML> tags.

The tags which require start and end tags are called container tags .

Empty tags do not require a closing tag in an HTML document.

An HTML document has two parts <Head> and <Body> .

The content written within the <Title> tag does not appear on the web page.

An HTML file is generally created on Notepad .

Question 10

An HTML document is saved with the extension .html .

Write the HTML codes for the following by using superscript and subscript tags

p 2 + q 2 - r 2

a 2 b 3 - c 4 d 5

Case-Study Based Questions

Generally, the web browser displays an HTML document with background white and foreground black. However, you can change the appearance of the document by changing the background as well as the text colour. Now, answer the following to perform the given tasks on an HTML code.

(a) Name a web browser which executes HTML code.

(b) What is the default text colour of an HTML document?

(c) A syntax is defined as: <BODY bgcolor = "color name"> What does bgcolor specify in this syntax?

(d) What does color name specify in the syntax given in part (c)?

(a) Google Chrome

(c) Attribute

Explain the following with reference to HTML

Container tags

When the opening and closing tags are used in pairs in an HTML document, they are known as container tags. They are also known as ON tag and OFF tag respectively. ON tag uses angle bracket whereas, OFF tag uses forward slash (/) after the opening of the angle bracket (<). The contents are written within these tags in the document.

The format of HEAD container tag is as follows-

The tags which do not require a closing tag in an HTML document are called ‘Empty Tags'. This means that an empty tag has only an ON tag in the document which is understood by the web browser. For example, <br> , <hr> , etc.

Heading tag

HTML allows you to highlight headings in a web page by using the heading tags. They are container tags. They include six different levels of headings which vary from <H1> to <H6> .

<Hl> tag defines the largest heading whereas, <H6> tag defines the smallest heading.

The syntax of heading tag is as follows:

<Heading tag> string of text for heading </Heading tag>

Body tag contains the main HTML document that we want to display on the web page. The attributes of the body tag (bgcolor, text etc) can be used to change the appearance of the main document.

The syntax of the body tag is as follows:

Paragraph tag

The Paragraph Tag <P> is a container tag. The opening tag <P> is added at the beginning of a paragraph and the closing tag </P> at the end of the paragraph. With the use of the paragraph tag, a single line is inserted before and after the enclosed paragraph.

The syntax of the paragraph tag is as follows:

Line breaks

The line break tag <BR> is an empty tag. It works in the same way as pressing the 'Enter' key in a word processor. It helps the user to change the line.

An example of the line break tag is as follows:

Short Answer Questions

What is HTML?

Hyper Text Markup Language is a markup language used to design and display web pages or documents on the internet using web browsers. It includes text as well as graphics. It also provides the means to link the pages on the internet. The pages contain text as well as graphics.

HTML uses special tags or symbols while writing a piece of information. For example, the text in bold is written as:

<B> Understanding Computer Sciences </B>

Here, <B> and </B> are HTML tags. The HTML will make the text bold as Understanding Computer Science .

What is the basic structure of an HTML document?

Every HTML document is written inside <HTML> and </HTML> tags which represent the beginning and the end of a web page, respectively. An HTML document mainly consists of two main parts. They are:

  • HEAD — It contains the title of a web document and written within <HEAD> and </HEAD> tags. The tag include <TITLE> tag within it. The content written within the <TITLE> and </TITLE> tags does not appear on the web page.
  • BODY — It is the main HTML document that we want to display on the web page. It is written within <BODY> and </BODY> tags.

The basic structure of an HTML document is as follows:

What is meant by HTML tags?

Tags are the keywords used in an HTML document. They are marked by the angle braces (< and >) to write instructions and define how the content will be displayed by the web browsers. For example, <HTML> , <TITLE> , <HEAD> , etc. are tags.

Name the two features of an HTML document.

The two features of an HTML document are:

  • Every HTML document is written inside <HTML> and </HTML> tags which represent the beginning and the end of a web page respectively.
  • The main document is written within <BODY> and </BODY> tags.

Name two web browsers which are used to view an HTML document.

Two web browsers which are used to view an HTML document are-

  • Microsoft Edge
  • Google Chrome

Distinguish between <P> and <BR> tags.

Write all the steps

To start writing an HTML document.

To start writing an HTML document on Notepad, follow these steps:

Step 1: Click ‘Start' followed by clicking 'Notepad' from the pop up menu. OR Click on shortcut icon ‘Notepad', if available on the desktop. OR Click on ‘Notepad' icon, if available on the taskbar. An untitled notepad will appear on the screen.

Step 2: Now, one can start writing the HTML code by using the following tags:

To view an HTML document on a web page.

To view an HTML document on a web page, follow these steps:

Step 1: Locate the file where you have saved the file. Select the file and right-click on it.

Step 2: Select 'Open with' followed by clicking 'Microsoft Edge'.

The document saved will appear on the web browser.

To save an HTML document.

To save an HTML document, follow these steps:

Step 1: Click 'File' from the file menu.

Step 2: Select 'Save As' from the drop-down list.

Step 3: Enter the file name with the extension '.HTML' (say, MYFILE.HTML) in the box provided.

Step 4: Click the 'Save' option.

The file MYFILE.HTML will be saved and the untitled file will become MYFILE on Notepad.

Answer the following

Write an HTML document by using paragraph and line tags to format the following poem 'Two Little Dicky Birds'.

TWO LITTLE DICKY BIRDS TWO LITTLE DICKY BIRDS SITTING ON A WALL ONE NAMED PETER, ONE NAMED PAUL FLY AWAY PETER, FLY AWAY PAUL COME BACK PETER, COME BACK PAUL

The format of an HTML document is given below. Rearrange the format so that it can be understood by the web browser.

5 inspiring web design case studies

A good case study makes for a top calling card; check out these examples.

The reality of web design is that once you've finished a project, you hopefully move straight onto the next one. However, every site you deliver is an essential portfolio piece that demonstrates your skills and abilities, and while you'll usually want to link to your recent work on your site, it pays to do the job properly.

Rather than simply grabbing a screenshot of a landing page and a link and adding it to your online portfolio, writing up an engaging case study on your work can be a lot more worthwhile. Case studies don't need to be lengthy essays; they just need to give readers a taste of your process and provide some insight into the challenges you've faced over the course of a web build and how you solved them. 

They're a great way to let potential clients know how you work, and they can also provide inspiration for other designers and developers; here are five of our favourite recent examples. Make sure you also check out our top web design tips .

  • How to write engaging case studies for your portfolio

01. Museum of Science and Industry of Chicago

Web design case studies: Museum of Science and Industry of Chicago

For a really inspiring case study, it's hard to beat DogStudio's extensive piece chronicling its work for the Museum of Science and Industry of Chicago. The museum is a vast and highly respected American institution, and you can't help but get the impression that DogStudio was punching well above its weight when it won the commission to rethink and revamp its web platform, but as this case study reveals, it carried the job off with aplomb.

Packed with revealing wireframes, imagery and animations, it's a fascinating insight into a massive and challenging build that had to cater for more than five million online visitors wanting to do everything from buy tickets through to figuring out where to park and finding information about individual exhibits. 

02. National Geographic: A Bear's-Eye View of Yellowstone

Web design case studies: National Geographic: A Bear's-Eye View of Yellowstone

Sometimes it's better to show rather than tell. For this captivating look at Yellowstone National Park as seen by four bears fitted with camera collars and GPS, Hello Monday had a wealth of footage, data and expert analysis to work with. And rather than go into dry details of how it fitted everything together, it keeps things brief in its case study , providing a short outline of the project and deliverables before moving on to an entirely visual essay that demonstrates just how much work went into creating this digital feature.

As well as a good helping of footage and screenshots showcasing what the site's all about, what we really love about this study is a section dedicated to how Hello Monday stamped its own personality on the project, breathing extra life into the feature with animation, watercolour illustrations and pencil-drawn portraits of each bear.

Get the Creative Bloq Newsletter

Daily design news, reviews, how-tos and more, as picked by the editors.

03. Once Upon a Time in… Hollywood

Web design case studies: Once Upon a Time in… Hollywood

Currently doing big business at the box office, Quentin Tarantino's Once Upon a Time in… Hollywood is a love letter to 1960's cinema that recreates its era with Tarantino's typical attention to detail. And to create an online presence that captured the feel of 1969 Hollywood as well as the film, LA agency Watson went the extra mile to create a digital magazine that feels like it could have come off a newsstand 50 years ago.

In this case study the Watson team explain not only the thinking behind the magazine and its pitch-perfect adverts, but also how they create a physical print run of the mag that got handed out at the premiere and first-night screenings, creating a whole other social buzz as movie fans posted shots of their magazine to prove that they were there. If you're looking for ideas on how to run a strong social campaign, there's some great material here. 

04. British Red Cross

Web design case studies: British Red Cross

Kota's case study on its recent work with the British Red Cross is a clear and concise piece that provides valuable insight on the challenges – and opportunities – of working on a campaign with an institution with clear-cut brand guidelines that need to be adhered to. In the case of the British Red Cross's OneKindThing campaign, Kota had to create a platform that stood out from previous campaigns while staying within the society's pretty epic brand guidelines.

With a handful of images and a couple of paragraphs, Kota outlines how it managed just that, and also covers some of the technical hurdles that had to be overcome to deliver the finished site. The end result was well worth the effort, as the British Red Cross testimonial at the end of the case study reveals.

05. Stonewall Forever

Web design case studies: Stonewall Forever

To mark the 50th anniversary of the Stonewall Riots, an event that helped bring about the Pride movement, Stink Digital partnered with The LGBT Community Center to create Stonewall Forever, an immersive digital experience that features key narratives and previously unheard stories from LGBTQ+ history. 

Stink Digital's case study explains how it built a living monument to 50 years of Pride, based in Christopher Park, New York, but accessible anywhere through a website or AR app, and goes into some detail of the challenges of creating a WebGL monument that consists of over 10,000 individual shards with post-processing effects, but still runs at 60fps, even on low-end devices. 

Beyond the technical challenges, though, this is an absorbing and insightful piece on a project that explores life before, during and after the Stonewall Riots.

Related articles:

  • The hottest web design trends of 2019
  • How to refine your design portfolio
  • Get the perfect website layout in 27 steps

Thank you for reading 5 articles this month* Join now for unlimited access

Enjoy your first month for just £1 / $1 / €1

*Read 5 free articles per month without a subscription

Join now for unlimited access

Try first month for just £1 / $1 / €1

Jim McCauley

Jim McCauley is a writer, performer and cat-wrangler who started writing professionally way back in 1995 on PC Format magazine, and has been covering technology-related subjects ever since, whether it's hardware, software or videogames. A chance call in 2005 led to Jim taking charge of Computer Arts' website and developing an interest in the world of graphic design, and eventually led to a move over to the freshly-launched Creative Bloq in 2012. Jim now works as a freelance writer for sites including Creative Bloq, T3 and PetsRadar, specialising in design, technology, wellness and cats, while doing the occasional pantomime and street performance in Bath and designing posters for a local drama group on the side.

Related articles

Minimalist website design: 12 striking examples

Build a Quiz Application with HTML, CSS, and JavaScript | Step-by-Step Guide

Faraz

By Faraz - June 01, 2023

Learn how to create a quiz application from scratch using HTML, CSS, and JavaScript. Follow our step-by-step guide and build an interactive quiz experience. Source Code Included.

Quiz Application with HTML, CSS, and JavaScript.jpg

Table of Contents

  • Project Introduction
  • JavaScript Code

Quiz applications are a fantastic way to engage and entertain users on websites. Whether you want to test knowledge, provide educational content, or simply offer a fun activity, building a quiz application using HTML, CSS, and JavaScript is an excellent choice. In this step-by-step guide, we will walk you through the process of creating a quiz application from scratch.

By the end of this tutorial, you will have a fully functional quiz application that you can customize to fit your specific needs. We will start by setting up the HTML structure, where we'll define the layout and elements required for the quiz. Then, we'll move on to designing the user interface using CSS, making the application visually appealing and engaging.

Next, we'll dive into the JavaScript implementation, where we'll handle the logic behind displaying questions, capturing user responses, and calculating the score. JavaScript will be the backbone of our quiz application, allowing us to dynamically generate content, validate user inputs, and provide interactive feedback.

Throughout this tutorial, we'll provide code snippets, examples, and clear explanations to help you understand each step of the process. Even if you're a beginner to web development, don't worry! We've designed this guide with simplicity in mind, making it accessible for anyone looking to improve their front-end development skills.

So, Let's start making an amazing quiz application using HTML, CSS, and JavaScript step by step.

Join My Telegram Channel to Download the Projects Source Code: Click Here

Prerequisites:

Before starting this tutorial, you should have a basic understanding of HTML, CSS, and JavaScript. Additionally, you will need a code editor such as Visual Studio Code or Sublime Text to write and save your code.

Source Code

Step 1 (HTML Code):

To get started, we will first need to create a basic HTML file. In this file, we will include the main structure for our quiz application.

After creating the files just paste the following codes into your file. Make sure to save your HTML document with a .html extension, so that it can be properly viewed in a web browser.

Here is an explanation of each element:

<!DOCTYPE html> : This is a declaration that specifies the HTML version being used, in this case, HTML5.

<html> : The root element of an HTML document. It encapsulates all other elements on the page.

<head> : This element contains metadata and other information about the web page that is not directly displayed on the page itself.

<title> : This element sets the title of the web page, which appears in the browser's title bar or tab.

<link rel="stylesheet" href="styles.css"> : This line links an external CSS stylesheet file named "styles.css" to the HTML document. It is used to apply styles to the elements on the page.

<body> : The main content of the web page is placed within this element.

<div class="container"> : This <div> element acts as a container for grouping and organizing other elements.

<h1> Quiz App </h1> : This <h1> heading element displays the text "Quiz App" as the main heading of the web page.

<div id="quiz"> </div> : This <div> element with the id attribute "quiz" will serve as a placeholder for dynamically generated quiz questions.

<div id="result" class="result"> </div> : This <div> element with the id attribute "result" and class attribute "result" will be used to display the quiz result.

<button id="submit" class="button"> Submit </button> : This <button> element with the id attribute "submit" and class attribute "button" represents a button labeled "Submit." Users can click this button to submit their quiz answers.

<button id="retry" class="button hide"> Retry </button> : This <button> element with the id attribute "retry" and class attribute "button hide" represents a button labeled "Retry." It is initially hidden (hide class), and will be displayed when the user wants to retry the quiz.

<button id="showAnswer" class="button hide"> Show Answer </button> : This <button> element with the id attribute "showAnswer" and class attribute "button hide" represents a button labeled "Show Answer." It is initially hidden (hide class), and will be displayed to allow users to see the correct answers.

<script src="script.js"> </script> : This line includes an external JavaScript file named "script.js" that contains the logic and functionality for the quiz app. The JavaScript code will be executed when the browser encounters this script tag.

This is the basic structure of our quiz application using HTML, and now we can move on to styling it using CSS.

i built a clone of google using html and css.png

Step 2 (CSS Code):

Once the basic HTML structure of the quiz application is in place, the next step is to add styling to the quiz application using CSS.

Next, we will create our CSS file. In this file, we will use some basic CSS rules to create our quiz application.

Let's go through each section and explain what it does:

1. @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;700&display=swap'); : This line imports the Poppins font from Google Fonts, with different font weights (400, 500, and 700). The display=swap ensures that the text is displayed using fallback fonts until the Poppins font is fully loaded.

2. body : This selector targets the element of the HTML document. It sets the following properties:

  • font-family: 'Poppins', sans-serif; : It specifies the font family for the entire body text, using Poppins as the preferred font. If Poppins is not available, it falls back to the generic sans-serif font.
  • background: #b9b3a9; : It sets the background color of the body to a light grayish-brown color (#b9b3a9).
  • display: flex; : It makes the body a flex container.
  • justify-content: center; : It horizontally centers the flex items (content) within the body.

3. .container : This selector targets an element with the class "container". It sets the following properties:

  • width: 450px; : It sets the width of the container to 450 pixels.
  • padding: 20px; : It adds 20 pixels of padding around the content of the container.
  • margin-top: 80px; : It creates a top margin of 80 pixels for the container.
  • background-color: #fff; : It sets the background color of the container to white (#fff).
  • box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); : It applies a box shadow to the container, creating a subtle shadow effect.
  • border-radius: 20px; : It adds rounded corners to the container, with a border radius of 20 pixels.

4. h1 : This selector targets all <h1> elements. It sets the following property:

  • text-align: center; : It aligns the text within the <h1> element to the center.

5. .question : This selector targets an element with the class "question". It sets the following properties:

  • font-weight: bold; : It makes the text within the element bold.
  • margin-bottom: 10px; : It adds a bottom margin of 10 pixels to the element.

6. .options : This selector targets an element with the class "options". It sets the following property:

  • margin-bottom: 20px; : It adds a bottom margin of 20 pixels to the element.

7. .option : This selector targets an element with the class "option". It sets the following property:

  • display: block; : It makes the element a block-level element, causing it to take up the full width available.

8. .button : This selector targets an element with the class "button". It sets the following properties:

  • display: inline-block; : It makes the element an inline block.
  • padding: 10px 20px; : It adds 10 pixels of padding on the top and bottom and 20 pixels of padding on the left and right.
  • background-color: #428bca; : It sets the background color of the button to a shade of blue (#428bca).
  • color: #fff; : It sets the text color of the button to white (#fff).
  • border: none; : It removes the border around the button.
  • cursor: pointer; : It changes the cursor to a pointer when hovering over the button.
  • font-size: 16px; : It sets the font size of the button text to 16 pixels.
  • border-radius: 4px; : It adds rounded corners to the button, with a border radius of 4 pixels.
  • transition: background-color 0.3s; : It adds a transition effect to the background color property, with a duration of 0.3 seconds.
  • margin-right: 10px; : It adds a right margin of 10 pixels to the button.

9. .button:hover : This selector targets the button when it is being hovered over. It sets the following property:

  • background-color: #3071a9; : It changes the background color of the button to a darker shade of blue when hovered.

10. .result : This selector targets an element with the class "result". It sets the following properties:

  • text-align: center; : It aligns the text within the element to the center.
  • margin-top: 20px; : It adds a top margin of 20 pixels to the element.

11. .hide : This selector targets an element with the class "hide". It sets the following property:

  • display: none; : It hides the element by setting its display property to "none".

This will give our quiz application an upgraded presentation. Create a CSS file with the name of styles.css and paste the given codes into your CSS file. Remember that you must create a file with the .css extension.

Step 3 (JavaScript Code):

Finally, we need to create a function in JavaScript to sets up a simple quiz game. Let's go through the code step by step:

The code defines an array called quizData that contains multiple objects. Each object represents a question in the quiz and has properties such as question (the question itself), options (an array of answer options), and answer (the correct answer).

The code then defines variables to store references to various elements in the HTML document, such as the quizContainer , resultContainer , submitButton , retryButton , and showAnswerButton . These elements are identified using their respective IDs.

Two variables, currentQuestion and score , are initialized to keep track of the current question being displayed and the player's score, respectively. Additionally, an array called incorrectAnswers is created to store any incorrect answers provided by the player.

The code includes a function called shuffleArray , which takes an array as input and shuffles its elements randomly. This function is used to randomize the order of answer options for each question.

The displayQuestion function is defined to render the current question and its answer options on the page. It retrieves the question data from the quizData array based on the currentQuestion index. It creates HTML elements dynamically to display the question and options, and appends them to the quizContainer .

The checkAnswer function is responsible for validating the player's answer. It retrieves the selected option using a CSS selector, checks if an option is selected, compares the selected answer with the correct answer from quizData , and increments the score or adds the question to the incorrectAnswers array accordingly. It then updates the currentQuestion index, clears the selected option, and either displays the next question or the result if there are no more questions.

The displayResult function is called when all the questions have been answered. It hides the quiz container and submit button, and shows the retry and show answer buttons. It displays the player's score and the number of questions in the resultContainer .

The retryQuiz function is called when the player clicks the retry button. It resets the currentQuestion , score, and incorrectAnswers to their initial values, displays the quiz container and submit button, and hides the retry and show answer buttons. It also clears the result container and calls displayQuestion to start the quiz again.

The showAnswer function is called when the player clicks the show answer button. It hides the quiz container, submit button, and show answer button. It generates HTML to display the player's score and lists all the incorrect answers with the corresponding correct answers.

Event listeners are attached to the submit, retry, and show answer buttons, which call their respective functions when clicked.

Finally, the displayQuestion function is called initially to start the quiz by displaying the first question.

Create a JavaScript file with the name of script.js and paste the given codes into your JavaScript file and make sure it's linked properly to your HTML document, so that the scripts are executed on the page. Remember, you’ve to create a file with .js extension.

Final Output:

See the Pen JavaScript Quiz Application by Faraz ( @codewithfaraz ) on CodePen .

Responsive Navbar with Multi-Level Dropdown Menu using Tailwind CSS.jpg

Conclusion:

Congratulations on completing this step-by-step guide on building a quiz application using HTML, CSS, and JavaScript! You have learned essential techniques and concepts that will enable you to create interactive and engaging quiz experiences for your website visitors.

Throughout this tutorial, we started by setting up the HTML structure, organizing the elements required for the quiz and providing a solid foundation for our application. We then moved on to designing the user interface using CSS, allowing us to style the quiz and make it visually appealing.

The JavaScript implementation was a crucial part of our quiz application, as it provided the logic to display questions, capture user responses, and calculate scores. By leveraging JavaScript's capabilities, we were able to create dynamic and interactive functionalities that enhance the user experience.

Remember, this guide serves as a starting point for your quiz application. Feel free to experiment with different designs, features, and functionalities to make your quiz application unique and tailored to your specific audience.

Building a quiz application not only provides entertainment but also offers educational opportunities and a way to engage with your website visitors. By integrating quizzes into your website, you can assess knowledge, provide learning materials, or simply create an enjoyable experience for your users.

We hope you found this guide valuable and that it has helped you develop your front-end development skills. Keep exploring and building upon what you've learned here, and don't hesitate to dive deeper into HTML, CSS, and JavaScript to expand your web development repertoire.

Now it's time for you to take the knowledge and skills you've acquired and start building your very own quiz application. Get creative, have fun, and provide an engaging quiz experience for your users. Happy coding!

That’s a wrap!

I hope you enjoyed this post. Now, with these examples, you can create your own amazing page.

Did you like it? Let me know in the comments below 🔥 and you can support me by buying me a coffee.

And don’t forget to sign up to our email newsletter so you can get useful content like this sent right to your inbox!

Thanks! Faraz 😊

Subscribe to my Newsletter

Get the latest posts delivered right to your inbox, latest post.

Create Your Own Bubble Shooter Game with HTML and JavaScript

Create Your Own Bubble Shooter Game with HTML and JavaScript

Learn how to develop a bubble shooter game using HTML and JavaScript with our easy-to-follow tutorial. Perfect for beginners in game development.

Build Your Own Nixie Tube Clock using HTML, CSS, and JavaScript (Source Code)

Build Your Own Nixie Tube Clock using HTML, CSS, and JavaScript (Source Code)

April 20, 2024

Create a Responsive Popup Contact Form: HTML, CSS, JavaScript Tutorial

Create a Responsive Popup Contact Form: HTML, CSS, JavaScript Tutorial

April 17, 2024

Create a Responsive Customer Review Using HTML and CSS

Create a Responsive Customer Review Using HTML and CSS

April 14, 2024

Create a URL Shortening Landing Page using HTML, CSS, and JavaScript

Create a URL Shortening Landing Page using HTML, CSS, and JavaScript

April 08, 2024

How to Create a Scroll Down Button: HTML, CSS, JavaScript Tutorial

How to Create a Scroll Down Button: HTML, CSS, JavaScript Tutorial

Learn to add a sleek scroll down button to your website using HTML, CSS, and JavaScript. Step-by-step guide with code examples.

How to Create a Trending Animated Button Using HTML and CSS

How to Create a Trending Animated Button Using HTML and CSS

March 15, 2024

Create Interactive Booking Button with mask-image using HTML and CSS (Source Code)

Create Interactive Booking Button with mask-image using HTML and CSS (Source Code)

March 10, 2024

Create Shimmering Effect Button: HTML & CSS Tutorial (Source Code)

Create Shimmering Effect Button: HTML & CSS Tutorial (Source Code)

March 07, 2024

How to Create a Liquid Button with HTML, CSS, and JavaScript (Source Code)

How to Create a Liquid Button with HTML, CSS, and JavaScript (Source Code)

March 01, 2024

Build a Number Guessing Game using HTML, CSS, and JavaScript | Source Code

Build a Number Guessing Game using HTML, CSS, and JavaScript | Source Code

April 01, 2024

Building a Fruit Slicer Game with HTML, CSS, and JavaScript (Source Code)

Building a Fruit Slicer Game with HTML, CSS, and JavaScript (Source Code)

December 25, 2023

Create Connect Four Game Using HTML, CSS, and JavaScript (Source Code)

Create Connect Four Game Using HTML, CSS, and JavaScript (Source Code)

December 07, 2023

Creating a Candy Crush Clone: HTML, CSS, and JavaScript Tutorial (Source Code)

Creating a Candy Crush Clone: HTML, CSS, and JavaScript Tutorial (Source Code)

November 17, 2023

Create Image Color Extractor Tool using HTML, CSS, JavaScript, and Vibrant.js

Create Image Color Extractor Tool using HTML, CSS, JavaScript, and Vibrant.js

Master the art of color picking with Vibrant.js. This tutorial guides you through building a custom color extractor tool using HTML, CSS, and JavaScript.

Build a Responsive Screen Distance Measure with HTML, CSS, and JavaScript

Build a Responsive Screen Distance Measure with HTML, CSS, and JavaScript

January 04, 2024

Crafting Custom Alarm and Clock Interfaces using HTML, CSS, and JavaScript

Crafting Custom Alarm and Clock Interfaces using HTML, CSS, and JavaScript

November 30, 2023

Detect User's Browser, Screen Resolution, OS, and More with JavaScript using UAParser.js Library

Detect User's Browser, Screen Resolution, OS, and More with JavaScript using UAParser.js Library

October 30, 2023

URL Keeper with HTML, CSS, and JavaScript (Source Code)

URL Keeper with HTML, CSS, and JavaScript (Source Code)

October 26, 2023

Creating a Responsive Footer with Tailwind CSS (Source Code)

Creating a Responsive Footer with Tailwind CSS (Source Code)

Learn how to design a modern footer for your website using Tailwind CSS with our detailed tutorial. Perfect for beginners in web development.

Crafting a Responsive HTML and CSS Footer (Source Code)

Crafting a Responsive HTML and CSS Footer (Source Code)

November 11, 2023

Create an Animated Footer with HTML and CSS (Source Code)

Create an Animated Footer with HTML and CSS (Source Code)

October 17, 2023

Bootstrap Footer Template for Every Website Style

Bootstrap Footer Template for Every Website Style

March 08, 2023

How to Create a Responsive Footer for Your Website with Bootstrap 5

How to Create a Responsive Footer for Your Website with Bootstrap 5

August 19, 2022

cbsencertsolutions

CBSE NCERT Solutions

NCERT and CBSE Solutions for free

HTML – II Class 10 Computer Science Notes and Questions

Please refer to HTML – II Class 10 Computer Science notes and questions with solutions below. These revision notes and important examination questions have been prepared based on the latest Computer Science books for  Class 10 . You can go through the questions and solutions below which will help you to get better marks in your examinations.

Class 10 Computer Science HTML – II Notes and Questions

Multiple choice questions

Question 1 What is the purpose/function of HTML Forms?

To accept input from user

Question 2 Which of the following is the most commonly used HTTP method?

GET and POST

Question 3 Can we create links in web page?

Question 4 An HTML form is a part of web page which have those placeholders where?

information is filled by user and then sent to web server

Question 5 A Container tag that allows multiple lines of input for a single data item is?

Fill in the blanks

Question 1 _____________ tag is used to create a link on a web page.

Question 2 _________ is used to fill information on a web server.

Question 3 You can use multiple lines of text using ____________ in a form.

Question 4 We can use _ to choose more than one options in a form.

Question 5 We can use ______________ button to clear all options from a Form.

Question 1 unvisited link is underlined and its colour is blue.

Question 2 <input type=”Password”> will display star (*) in text box.

Question 3 Selection list is used to represent drop down list.

Write Full Form

1. <A>: ANCHOR 2. HREF : HYPERTEXT REFFERENCE 3. URL : UNIFORM RESOURCES LOCATOR 4. BGCOLOR : BACKGROUND COLOR 5. SRC : SOURCE

Very Short Answer Type Questions

Question 1 Which tag is used to link a web page?

Question 2 When a form is submitted which attribute defines that where to send form data.

Question 3 This technique is used by user to encode filled data by using URL path and is sent to server.

Question 4 What is used to perform an action on a web page?

Long Answer Type Questions

Question 1 Explain different types of buttons with examples Ans: Buttons are main elements of HTML forms. These are used to perform an action on web page. These buttons are of different types. Some important buttons are: • Submit Button: This button is used to send Form data to web server. • Reset Button: This button is used to clear the Form Values. • Button: This function is used to call the JavaScript function code. • Image Button: This button is commonly used for creating hyperlinks Below examples represents the usage of Common buttons in HTML Form: <form action=”page1.php” method=”post”> <input type=”text” name=”user”> <input type=”reset” value=”Reset”> <input type=”submit” value=”Submit”> </form>

Question 2 What is selection list in HTML Form? Ans: Option list is called Selection list. This is an important element of HTML Form. User can select one or more than one options from a list using selection list. tag is used to make a selection list in HTML. Scrolling lists and drop down lists can be made with the help of this tag. To set options in these lists, tag is used in between and tags. For Example:<select name=”gender” <option value=”Male”>Male</option> <option value=”Female”>Female</option> </select>

Question 3 Explain Text Area with example. Ans: Text area is main element of form. This is used to accept multiple lines of text from user. For using textarea, we use tag in between <form> tag. It is a container tag. <textarea> tag has two attributes: rows and cols.<br /> Rows attribute defines number of lines in text area and cols define number of columns in text area. For Example:<br /> <form action=”page1.php” method=”post”</p> <textarea rows=3 cols=50></textarea> </form>

Question 4 What is the purpose of action and method in a form? Or What is a form? Explain. Ans: Form is a part of web page. A form is that area of web page which allows user to fill the information to be sent to web server. tag is used to create form in HTML. Action and method attributes of form tag are used to send filled data in form to web server. The action attribute of form has a filename as value which is used to process form’s data on web server. The method attribute of form tag represents the way of sending form to web server. Value of Method attribute can be GET or POST. Following example represents usage of these attributes: <form action=”page1.php” method=”post”> <input type=”text” name=”user”> <input type=”reset” value=”Reset”> <input type=”submit” value=”Submit”> </form>

Other Important Questions

Q:1 What is Hyperlink? OR Q: What is Anchor tag. Explain with example. Ans: Hyperlink is an important feature of HTML. It is used to create a link of text or image with some other document. Hyperlinks are also called links. Web Browsers show links in blue color with underline. Anchor tag is used to create links in HTML documents. tag is used for anchor tag in HTML. tag is a container tag. It begins with and ends with . The attribute HREF is used in anchor tag. This attribute is used to set the address (url) of the document to be attached with the link. Consider the following example: <A Href= “Http://www.google.com”>>goggle</a>

Question 2 Write the names of different types of links. Ans: Links can be created in HTML documents in many different ways. These different ways of creating links are called Types of Links. Common types of links are given below: 1. Links defined within a document. (Internal Links) 2. Links defined with outer documents. (External Links) 3. Representing Image as a link. 4. Creating links with emails.

Q:3 What are checkboxes? Ans: Checkboxes are the important elements of HTML Forms. These elements are used in those situations when we have to select more than one options at a time. These elements appears like a small square boxes. User can select or deselect them by click on it. Using tag in HTML Forms, we can make checkboxes. In the tag, we use type=”checkbox” attribute as shown in the example below: <input type= “checkbox” name= “hindi”>Hindi <input type= “checkbox” name= “pbi”>punjabi

HTML – II Class 10 Computer Science

We hope the above  HTML – II Class 10 Computer Science  are useful for you. If you have any questions then post them in the comments section below. Our teachers will provide you an answer. Also refer to  MCQ Questions for Class 10 Computer Science

Related Posts

DOS Commands Class 7 Computer Science

DOS Commands Class 7 Computer Science Notes and Questions

Multimedia Class 7 Computer Science

Multimedia Class 7 Computer Science Notes and Questions

Class 12 Economics Notes

Class 12 Economics Notes and Questions

47 case interview examples (from McKinsey, BCG, Bain, etc.)

Case interview examples - McKinsey, BCG, Bain, etc.

One of the best ways to prepare for   case interviews  at firms like McKinsey, BCG, or Bain, is by studying case interview examples. 

There are a lot of free sample cases out there, but it's really hard to know where to start. So in this article, we have listed all the best free case examples available, in one place.

The below list of resources includes interactive case interview samples provided by consulting firms, video case interview demonstrations, case books, and materials developed by the team here at IGotAnOffer. Let's continue to the list.

  • McKinsey examples
  • BCG examples
  • Bain examples
  • Deloitte examples
  • Other firms' examples
  • Case books from consulting clubs
  • Case interview preparation

Click here to practise 1-on-1 with MBB ex-interviewers

1. mckinsey case interview examples.

  • Beautify case interview (McKinsey website)
  • Diconsa case interview (McKinsey website)
  • Electro-light case interview (McKinsey website)
  • GlobaPharm case interview (McKinsey website)
  • National Education case interview (McKinsey website)
  • Talbot Trucks case interview (McKinsey website)
  • Shops Corporation case interview (McKinsey website)
  • Conservation Forever case interview (McKinsey website)
  • McKinsey case interview guide (by IGotAnOffer)
  • McKinsey live case interview extract (by IGotAnOffer) - See below

2. BCG case interview examples

  • Foods Inc and GenCo case samples  (BCG website)
  • Chateau Boomerang written case interview  (BCG website)
  • BCG case interview guide (by IGotAnOffer)
  • Written cases guide (by IGotAnOffer)
  • BCG live case interview with notes (by IGotAnOffer)
  • BCG mock case interview with ex-BCG associate director - Public sector case (by IGotAnOffer)
  • BCG mock case interview: Revenue problem case (by IGotAnOffer) - See below

3. Bain case interview examples

  • CoffeeCo practice case (Bain website)
  • FashionCo practice case (Bain website)
  • Associate Consultant mock interview video (Bain website)
  • Consultant mock interview video (Bain website)
  • Written case interview tips (Bain website)
  • Bain case interview guide   (by IGotAnOffer)
  • Digital transformation case with ex-Bain consultant
  • Bain case mock interview with ex-Bain manager (below)

4. Deloitte case interview examples

  • Engagement Strategy practice case (Deloitte website)
  • Recreation Unlimited practice case (Deloitte website)
  • Strategic Vision practice case (Deloitte website)
  • Retail Strategy practice case  (Deloitte website)
  • Finance Strategy practice case  (Deloitte website)
  • Talent Management practice case (Deloitte website)
  • Enterprise Resource Management practice case (Deloitte website)
  • Footloose written case  (by Deloitte)
  • Deloitte case interview guide (by IGotAnOffer)

5. Accenture case interview examples

  • Case interview workbook (by Accenture)
  • Accenture case interview guide (by IGotAnOffer)

6. OC&C case interview examples

  • Leisure Club case example (by OC&C)
  • Imported Spirits case example (by OC&C)

7. Oliver Wyman case interview examples

  • Wumbleworld case sample (Oliver Wyman website)
  • Aqualine case sample (Oliver Wyman website)
  • Oliver Wyman case interview guide (by IGotAnOffer)

8. A.T. Kearney case interview examples

  • Promotion planning case question (A.T. Kearney website)
  • Consulting case book and examples (by A.T. Kearney)
  • AT Kearney case interview guide (by IGotAnOffer)

9. Strategy& / PWC case interview examples

  • Presentation overview with sample questions (by Strategy& / PWC)
  • Strategy& / PWC case interview guide (by IGotAnOffer)

10. L.E.K. Consulting case interview examples

  • Case interview example video walkthrough   (L.E.K. website)
  • Market sizing case example video walkthrough  (L.E.K. website)

11. Roland Berger case interview examples

  • Transit oriented development case webinar part 1  (Roland Berger website)
  • Transit oriented development case webinar part 2   (Roland Berger website)
  • 3D printed hip implants case webinar part 1   (Roland Berger website)
  • 3D printed hip implants case webinar part 2   (Roland Berger website)
  • Roland Berger case interview guide   (by IGotAnOffer)

12. Capital One case interview examples

  • Case interview example video walkthrough  (Capital One website)
  • Capital One case interview guide (by IGotAnOffer)

13. Consulting clubs case interview examples

  • Berkeley case book (2006)
  • Columbia case book (2006)
  • Darden case book (2012)
  • Darden case book (2018)
  • Duke case book (2010)
  • Duke case book (2014)
  • ESADE case book (2011)
  • Goizueta case book (2006)
  • Illinois case book (2015)
  • LBS case book (2006)
  • MIT case book (2001)
  • Notre Dame case book (2017)
  • Ross case book (2010)
  • Wharton case book (2010)

Practice with experts

Using case interview examples is a key part of your interview preparation, but it isn’t enough.

At some point you’ll want to practise with friends or family who can give some useful feedback. However, if you really want the best possible preparation for your case interview, you'll also want to work with ex-consultants who have experience running interviews at McKinsey, Bain, BCG, etc.

If you know anyone who fits that description, fantastic! But for most of us, it's tough to find the right connections to make this happen. And it might also be difficult to practice multiple hours with that person unless you know them really well.

Here's the good news. We've already made the connections for you. We’ve created a coaching service where you can do mock case interviews 1-on-1 with ex-interviewers from MBB firms . Start scheduling sessions today!

The IGotAnOffer team

Interview coach and candidate conduct a video call

Case Study Research Method in Psychology

Saul Mcleod, PhD

Editor-in-Chief for Simply Psychology

BSc (Hons) Psychology, MRes, PhD, University of Manchester

Saul Mcleod, PhD., is a qualified psychology teacher with over 18 years of experience in further and higher education. He has been published in peer-reviewed journals, including the Journal of Clinical Psychology.

Learn about our Editorial Process

Olivia Guy-Evans, MSc

Associate Editor for Simply Psychology

BSc (Hons) Psychology, MSc Psychology of Education

Olivia Guy-Evans is a writer and associate editor for Simply Psychology. She has previously worked in healthcare and educational sectors.

On This Page:

Case studies are in-depth investigations of a person, group, event, or community. Typically, data is gathered from various sources using several methods (e.g., observations & interviews).

The case study research method originated in clinical medicine (the case history, i.e., the patient’s personal history). In psychology, case studies are often confined to the study of a particular individual.

The information is mainly biographical and relates to events in the individual’s past (i.e., retrospective), as well as to significant events that are currently occurring in his or her everyday life.

The case study is not a research method, but researchers select methods of data collection and analysis that will generate material suitable for case studies.

Freud (1909a, 1909b) conducted very detailed investigations into the private lives of his patients in an attempt to both understand and help them overcome their illnesses.

This makes it clear that the case study is a method that should only be used by a psychologist, therapist, or psychiatrist, i.e., someone with a professional qualification.

There is an ethical issue of competence. Only someone qualified to diagnose and treat a person can conduct a formal case study relating to atypical (i.e., abnormal) behavior or atypical development.

case study

 Famous Case Studies

  • Anna O – One of the most famous case studies, documenting psychoanalyst Josef Breuer’s treatment of “Anna O” (real name Bertha Pappenheim) for hysteria in the late 1800s using early psychoanalytic theory.
  • Little Hans – A child psychoanalysis case study published by Sigmund Freud in 1909 analyzing his five-year-old patient Herbert Graf’s house phobia as related to the Oedipus complex.
  • Bruce/Brenda – Gender identity case of the boy (Bruce) whose botched circumcision led psychologist John Money to advise gender reassignment and raise him as a girl (Brenda) in the 1960s.
  • Genie Wiley – Linguistics/psychological development case of the victim of extreme isolation abuse who was studied in 1970s California for effects of early language deprivation on acquiring speech later in life.
  • Phineas Gage – One of the most famous neuropsychology case studies analyzes personality changes in railroad worker Phineas Gage after an 1848 brain injury involving a tamping iron piercing his skull.

Clinical Case Studies

  • Studying the effectiveness of psychotherapy approaches with an individual patient
  • Assessing and treating mental illnesses like depression, anxiety disorders, PTSD
  • Neuropsychological cases investigating brain injuries or disorders

Child Psychology Case Studies

  • Studying psychological development from birth through adolescence
  • Cases of learning disabilities, autism spectrum disorders, ADHD
  • Effects of trauma, abuse, deprivation on development

Types of Case Studies

  • Explanatory case studies : Used to explore causation in order to find underlying principles. Helpful for doing qualitative analysis to explain presumed causal links.
  • Exploratory case studies : Used to explore situations where an intervention being evaluated has no clear set of outcomes. It helps define questions and hypotheses for future research.
  • Descriptive case studies : Describe an intervention or phenomenon and the real-life context in which it occurred. It is helpful for illustrating certain topics within an evaluation.
  • Multiple-case studies : Used to explore differences between cases and replicate findings across cases. Helpful for comparing and contrasting specific cases.
  • Intrinsic : Used to gain a better understanding of a particular case. Helpful for capturing the complexity of a single case.
  • Collective : Used to explore a general phenomenon using multiple case studies. Helpful for jointly studying a group of cases in order to inquire into the phenomenon.

Where Do You Find Data for a Case Study?

There are several places to find data for a case study. The key is to gather data from multiple sources to get a complete picture of the case and corroborate facts or findings through triangulation of evidence. Most of this information is likely qualitative (i.e., verbal description rather than measurement), but the psychologist might also collect numerical data.

1. Primary sources

  • Interviews – Interviewing key people related to the case to get their perspectives and insights. The interview is an extremely effective procedure for obtaining information about an individual, and it may be used to collect comments from the person’s friends, parents, employer, workmates, and others who have a good knowledge of the person, as well as to obtain facts from the person him or herself.
  • Observations – Observing behaviors, interactions, processes, etc., related to the case as they unfold in real-time.
  • Documents & Records – Reviewing private documents, diaries, public records, correspondence, meeting minutes, etc., relevant to the case.

2. Secondary sources

  • News/Media – News coverage of events related to the case study.
  • Academic articles – Journal articles, dissertations etc. that discuss the case.
  • Government reports – Official data and records related to the case context.
  • Books/films – Books, documentaries or films discussing the case.

3. Archival records

Searching historical archives, museum collections and databases to find relevant documents, visual/audio records related to the case history and context.

Public archives like newspapers, organizational records, photographic collections could all include potentially relevant pieces of information to shed light on attitudes, cultural perspectives, common practices and historical contexts related to psychology.

4. Organizational records

Organizational records offer the advantage of often having large datasets collected over time that can reveal or confirm psychological insights.

Of course, privacy and ethical concerns regarding confidential data must be navigated carefully.

However, with proper protocols, organizational records can provide invaluable context and empirical depth to qualitative case studies exploring the intersection of psychology and organizations.

  • Organizational/industrial psychology research : Organizational records like employee surveys, turnover/retention data, policies, incident reports etc. may provide insight into topics like job satisfaction, workplace culture and dynamics, leadership issues, employee behaviors etc.
  • Clinical psychology : Therapists/hospitals may grant access to anonymized medical records to study aspects like assessments, diagnoses, treatment plans etc. This could shed light on clinical practices.
  • School psychology : Studies could utilize anonymized student records like test scores, grades, disciplinary issues, and counseling referrals to study child development, learning barriers, effectiveness of support programs, and more.

How do I Write a Case Study in Psychology?

Follow specified case study guidelines provided by a journal or your psychology tutor. General components of clinical case studies include: background, symptoms, assessments, diagnosis, treatment, and outcomes. Interpreting the information means the researcher decides what to include or leave out. A good case study should always clarify which information is the factual description and which is an inference or the researcher’s opinion.

1. Introduction

  • Provide background on the case context and why it is of interest, presenting background information like demographics, relevant history, and presenting problem.
  • Compare briefly to similar published cases if applicable. Clearly state the focus/importance of the case.

2. Case Presentation

  • Describe the presenting problem in detail, including symptoms, duration,and impact on daily life.
  • Include client demographics like age and gender, information about social relationships, and mental health history.
  • Describe all physical, emotional, and/or sensory symptoms reported by the client.
  • Use patient quotes to describe the initial complaint verbatim. Follow with full-sentence summaries of relevant history details gathered, including key components that led to a working diagnosis.
  • Summarize clinical exam results, namely orthopedic/neurological tests, imaging, lab tests, etc. Note actual results rather than subjective conclusions. Provide images if clearly reproducible/anonymized.
  • Clearly state the working diagnosis or clinical impression before transitioning to management.

3. Management and Outcome

  • Indicate the total duration of care and number of treatments given over what timeframe. Use specific names/descriptions for any therapies/interventions applied.
  • Present the results of the intervention,including any quantitative or qualitative data collected.
  • For outcomes, utilize visual analog scales for pain, medication usage logs, etc., if possible. Include patient self-reports of improvement/worsening of symptoms. Note the reason for discharge/end of care.

4. Discussion

  • Analyze the case, exploring contributing factors, limitations of the study, and connections to existing research.
  • Analyze the effectiveness of the intervention,considering factors like participant adherence, limitations of the study, and potential alternative explanations for the results.
  • Identify any questions raised in the case analysis and relate insights to established theories and current research if applicable. Avoid definitive claims about physiological explanations.
  • Offer clinical implications, and suggest future research directions.

5. Additional Items

  • Thank specific assistants for writing support only. No patient acknowledgments.
  • References should directly support any key claims or quotes included.
  • Use tables/figures/images only if substantially informative. Include permissions and legends/explanatory notes.
  • Provides detailed (rich qualitative) information.
  • Provides insight for further research.
  • Permitting investigation of otherwise impractical (or unethical) situations.

Case studies allow a researcher to investigate a topic in far more detail than might be possible if they were trying to deal with a large number of research participants (nomothetic approach) with the aim of ‘averaging’.

Because of their in-depth, multi-sided approach, case studies often shed light on aspects of human thinking and behavior that would be unethical or impractical to study in other ways.

Research that only looks into the measurable aspects of human behavior is not likely to give us insights into the subjective dimension of experience, which is important to psychoanalytic and humanistic psychologists.

Case studies are often used in exploratory research. They can help us generate new ideas (that might be tested by other methods). They are an important way of illustrating theories and can help show how different aspects of a person’s life are related to each other.

The method is, therefore, important for psychologists who adopt a holistic point of view (i.e., humanistic psychologists ).

Limitations

  • Lacking scientific rigor and providing little basis for generalization of results to the wider population.
  • Researchers’ own subjective feelings may influence the case study (researcher bias).
  • Difficult to replicate.
  • Time-consuming and expensive.
  • The volume of data, together with the time restrictions in place, impacted the depth of analysis that was possible within the available resources.

Because a case study deals with only one person/event/group, we can never be sure if the case study investigated is representative of the wider body of “similar” instances. This means the conclusions drawn from a particular case may not be transferable to other settings.

Because case studies are based on the analysis of qualitative (i.e., descriptive) data , a lot depends on the psychologist’s interpretation of the information she has acquired.

This means that there is a lot of scope for Anna O , and it could be that the subjective opinions of the psychologist intrude in the assessment of what the data means.

For example, Freud has been criticized for producing case studies in which the information was sometimes distorted to fit particular behavioral theories (e.g., Little Hans ).

This is also true of Money’s interpretation of the Bruce/Brenda case study (Diamond, 1997) when he ignored evidence that went against his theory.

Breuer, J., & Freud, S. (1895).  Studies on hysteria . Standard Edition 2: London.

Curtiss, S. (1981). Genie: The case of a modern wild child .

Diamond, M., & Sigmundson, K. (1997). Sex Reassignment at Birth: Long-term Review and Clinical Implications. Archives of Pediatrics & Adolescent Medicine , 151(3), 298-304

Freud, S. (1909a). Analysis of a phobia of a five year old boy. In The Pelican Freud Library (1977), Vol 8, Case Histories 1, pages 169-306

Freud, S. (1909b). Bemerkungen über einen Fall von Zwangsneurose (Der “Rattenmann”). Jb. psychoanal. psychopathol. Forsch ., I, p. 357-421; GW, VII, p. 379-463; Notes upon a case of obsessional neurosis, SE , 10: 151-318.

Harlow J. M. (1848). Passage of an iron rod through the head.  Boston Medical and Surgical Journal, 39 , 389–393.

Harlow, J. M. (1868).  Recovery from the Passage of an Iron Bar through the Head .  Publications of the Massachusetts Medical Society. 2  (3), 327-347.

Money, J., & Ehrhardt, A. A. (1972).  Man & Woman, Boy & Girl : The Differentiation and Dimorphism of Gender Identity from Conception to Maturity. Baltimore, Maryland: Johns Hopkins University Press.

Money, J., & Tucker, P. (1975). Sexual signatures: On being a man or a woman.

Further Information

  • Case Study Approach
  • Case Study Method
  • Enhancing the Quality of Case Studies in Health Services Research
  • “We do things together” A case study of “couplehood” in dementia
  • Using mixed methods for evaluating an integrative approach to cancer care: a case study

Print Friendly, PDF & Email

  • Experiences

Case study: Crafting Code Responsibly: A Developer’s Odyssey with ChatGPT

Before starting this experience, please go through all of the “Foundations” readings and experiences.

Please read Crafting Code Responsibly: A Developer’s Odyssey with ChatGPT .

Questions for discussion

Choose one of the ethical discussion areas below:

  • Responsible Development: How can developers balance the benefits of using ChatGPT for coding assistance with the ethical responsibility to ensure accurate and reliable outputs?
  • Biased Training Data: What steps can developers take to mitigate the impact of biased training data on the responses generated by ChatGPT? How important is it to prioritize diverse and unbiased datasets in AI model training?
  • Mitigating Inappropriate Output: Discuss the strategies outlined in the article for mitigating the risk of inappropriate or offensive content generated by ChatGPT. How can developers ensure a positive and inclusive coding environment?
  • Securing User Data: What are some best practices for developers to prioritize data security when integrating ChatGPT into their applications? How can developers uphold transparency and obtain user consent in individual usage contexts?
  • Manipulative Use: Explore the ethical implications of using ChatGPT for manipulative purposes, such as spreading misinformation or engaging in social engineering. What role do developers play in promoting responsible AI usage within their coding communities?
  • Context and Intent: How does ChatGPT’s sensitivity to input phrasing impact its responses, and what strategies can developers employ to ensure accurate and relevant outputs? How can developers leverage contextual cues to enhance the model’s understanding?
  • Ethical Considerations in Code Generation: Discuss the importance of accuracy, transparency, responsible implementation, and security in code generation with ChatGPT. What ethical dilemmas might developers encounter when using AI models for code generation, and how can they navigate them effectively?
  • Continuous Monitoring and Evaluation: Why is it essential for developers to establish mechanisms for continuous monitoring and evaluation of ChatGPT’s responses, particularly in real-world applications? How can developers address biased outputs and ensure a fair and unbiased user experience over time?
  • User Trust and Bias Mitigation: How can developers build and maintain user trust in the quality of the code generated by ChatGPT? What strategies can developers implement to mitigate potential biases in code suggestions and ensure inclusivity?
  • Promoting Responsible AI Usage: What role do developers play in promoting responsible AI usage within their coding communities? How can developers contribute to creating a positive and trustworthy development environment while harnessing the capabilities of ChatGPT?

Ask ChatGPT (or other GenAI) to answer the questions in your chosen discussion area. Imagine that you were in situation where you on a position where you have to address the area you chose. Would you address it as suggested by ChatGPT? If possible, justify your answer by reference to either the ACM Code of Ethics or the Software Engineering Code of Ethics and Professional Practice .

Case Discussion

Sara, a talented software engineer with eight years of experience in the company, recently applied for a promotion to a senior software developer position. Sara has consistently demonstrated exceptional technical skills, leadership qualities, and a strong commitment to the company’s goals. She has contributed significantly to various projects, showing a deep understanding of software development principles and innovative problem-solving abilities.

However, despite her qualifications and years of service, Sara was passed up for the promotion in favor of Charlie, a relatively new employee with only two years of experience. Charlie, a tall white male, is known for his proficiency in using artificial intelligence (AI) for software development tasks. Charlie is now Sara’s manager, but she finds it difficult and unproductive to work with him due to his low competency, limited technical knowledge, and lack of experience in successfully developing software systems. She feels that she is continually educating Charlie on basic technical issues and tools (such as using GitHub) and what to do on the project.

While Charlie’s skills in AI are commendable, many in the company were surprised by the decision to promote him over Sara, given her extensive experience and proven track record Sara feels disheartened and demotivated by the outcome, questioning the fairness and transparency of the promotion process. She wonders if her gender or years of service played a role in the decision and whether she has been unfairly overlooked despite her qualifications and contributions to the company.

The decision has sparked concerns among employees about potential biases in the promotion process. Some speculate that unconscious biases, such as gender or racial bias, may have influenced the decision-making process. Others argue that Charlie’s proficiency in AI, a rapidly growing field in software engineering, may have been prioritized over Sara’s broader skill set and experience.

Take the companies position and argue why it was ethical to favor Charlie’s proficiency in AI over Sara’s broader skill set and experience. Now take the contrary position and argue why it was unethical to disregard Sara’s experience and proven track record in favor of Charlie’s proficiency in AI. If you were making the promotion decision, what would you decide and why?

  • Skip to main content
  • Skip to search
  • Skip to footer

Products and Services

Take your place as a technical leader in the fast-paced world of IT infrastructure.

Cisco Expert certifications

Take your place as a technical leader in the fast-paced world of IT infrastructure.

Distinguish yourself as the best of the best

Expert certifications validate your end-to-end IT lifecycle skills from planning and design to operating and optimizing. Among the industry's most widely recognized and respected certifications, Cisco Expert certifications tell the world in no uncertain terms that you know what you're talking about.

Average U.S. salary for CCIEs

$147,000 per year

Entry-level positions start at $125,000 per year. Most experienced workers make up to $180,000 per year.

CCIEs receive an estimated

75% increase in salary

Compared to other certifications, CCIE is the greatest return on investment by a considerable margin based on the salary potential.

case study questions in html

The Cisco Certified Internetwork Expert (CCIE) certifications are a series of technical certifications for senior networking professionals who design, build, implement, maintain, and troubleshoot complex enterprise networking infrastructures. The Cisco Certified Design Expert (CCDE) and the Cisco Certified DevNet Expert are also part of this program.

Ccie enterprise infrastructure.

Prove your skills with complex enterprise infrastructure solutions from designing and deploying to operating and optimizing.

CCIE Enterprise Wireless

Validate your ability to maximize the potential of any enterprise wireless solution from designing and deploying to operating and optimizing.

CCIE Collaboration

Validates you as an expert in end-to-end lifecycle skills for complex collaboration solutions.

CCIE Data Center

Shape the data centers of tomorrow with expertise in the end-to-end lifecycle for the most complex data center networks.

CCIE Security

Build cutting-edge skills to position yourself as a technical leader in the ever-changing landscape of security technologies and solutions.

CCIE Service Provider

Prove your skills with complex service provider solutions and delve deeper into core service provider technologies through the entire network lifecycle, from designing and deploying to operating and optimizing.

Arms you with a breadth of knowledge and skills to navigate the waters of complex IT projects in network architecture and design.

Cisco Certified DevNet Expert

case study questions in html

Learn about CCIE core and lab or practical exams

Expert-level certifications have two parts — a core exam and a lab or practical exam. Learn more about the process, access training materials, and find out how to sign up for an exam.

Cisco Expert certification benefits

Once you earn an expert-level certification, great resources and benefits are available to you. Explore the following resources and benefits to become familiar with the perks of being certified as an expert.

Certification kit and merchandise discounts

Certification kit.

Within 24 hours of passing your certification exam, you will receive an email with instructions to track your certification status and claim your digital certification kit. Make sure that your contact information is up to date in your Cisco Certification Tracking System profile. Your kit includes the following items:

  • Congratulatory letter from Chuck Robbins
  • Certificate of achievement
  • Personalized plaque
  • Sticker set
  • Certification resource document

Merchandise discounts

Visit the Cisco Store to shop for your discounted merchandise. Look for merchandise that is available to be personalized with your name and certification number.

Dedicated case routing

Service requests made to Cisco Technical Support (TS) by CCIEs in good standing, on behalf of an organization with a valid support contract, will be routed to the more experienced core TS support engineers. The routing is based on Cisco User ID. No special phone number or URL is required.

This benefit requires that you remain engaged until the issue is resolved.

The misuse of this CCIE Technical Assistance Center (TAC) case privilege and TAC Support Services is considered a violation of the Candidate Certification and Confidentiality Agreement (NDA) , and sanctions up to and including permanent decertification for noncompliance.

CCIE/CCDE Emeritus

As the Expert certification program continues to grow and develop, Cisco recognizes that the individuals certified within the program are also growing and developing. To recognize the long-term members of this program, the emeritus status has been created.

Discover self-study resources in the Cisco Learning Network Community

The Cisco Learning Network is more than just an online platform — it’s your global study group. Connect with peers, learn from other experts, and access a wealth of resources that empower your learning journey for your expert certification level.

IMAGES

  1. 15+ Case Study Examples, Design Tips & Templates

    case study questions in html

  2. How To Solve A Problem On A Case Study Question

    case study questions in html

  3. 15+ Case Study Examples, Design Tips & Templates

    case study questions in html

  4. 49 Free Case Study Templates ( + Case Study Format Examples + )

    case study questions in html

  5. 14 Best Case Study Questions to Ask Your Top Customers

    case study questions in html

  6. 49 Free Case Study Templates ( + Case Study Format Examples + )

    case study questions in html

VIDEO

  1. BEST CASE STUDY QUESTIONS ⁉️🤔| PART-2| CO

  2. HOW TO WRITE CASE STUDY QUESTIONS?

  3. IMPORTANT CASE STUDY QUESTIONS CLASS X MATHS CBSE

  4. 14 case study questions cbse 2023 paper maths class10| previous year case study maths Questions

  5. case study questions on 10th Math

  6. Case study QUESTIONS INDEX CA FINAL INTERNATIONAL TAXATION EXAM

COMMENTS

  1. HTML Exercises, Practice Questions and Solutions

    Benefits of HTML Exercises. Interactive Quizzes: Engage in hands-on HTML quizzes. Progress Tracking: Monitor your learning journey. Skill Enhancement: Sharpen coding skills effectively. Flexible Learning: Practice at your own pace. Immediate Feedback: Receive instant results and feedback. Convenient Accessibility: Accessible online, anytime.

  2. HTML Exercises

    We have gathered a variety of HTML exercises (with answers) for each HTML Chapter. Try to solve an exercise by editing some code. Get a "hint" if you're stuck, or show the answer to see what you've done wrong. Count Your Score. You will get 1 point for each correct answer. Your score and total score will always be displayed.

  3. W3.CSS Case Study

    W3Schools offers free online tutorials, references and exercises in all the major languages of the web. Covering popular subjects like HTML, CSS, JavaScript, Python, SQL, Java, and many, many more.

  4. HTML CSS Exercises: Practice and Solution

    Alongside studying HTML and CSS tutorials from w3resource, you need to practice HTML and CSS extensively to hone your Frontend Development skills. Here is a list of exercises we published till now. Subscribe to our RSS feed for more exercises. HTML Basic Exercises [HTML Tags and their Attributes, Hundreds of exercises] HTML and CSS [34 exercises]

  5. HTML Tutorial

    Well organized and easy to understand Web building tutorials with lots of examples of how to use HTML, CSS, JavaScript, SQL, Python, PHP, Bootstrap, Java, XML and more. ... Test yourself with multiple choice questions. Get Certified. Document your knowledge. ... You can study at W3Schools without using My Learning.

  6. HTML Interview Questions and Answers (2024)

    4. It is extended from SGML. It is extended from XML and HTML. 5. The format is a document file format. The format is a markup language. 6. All tags and attributes are not necessarily to be in lower or upper case. In this, every tag and attribute should be in lower case.

  7. 15 HTML Questions for Testing Your Knowledge

    Answer:itemscope. When the itemscope attribute is specified on an HTML element, it informs search engines and web browsers that descendants of the HTML element may be carrying machine-readable information about the HTML element. Search engine like Google, Microsoft, and Yahoo! use microdata markup to improve their search results.

  8. PDF HTML5 Case Studies (Full)

    developments to HTML and CSS. 2 About HTML5 As described in Wikipedia [1] HTML5 is a markup language for structuring and presenting content on the Web. HTML5 is the fifth version of the HTML ... Case Study 3: Re-Implementation of the Maavis Assistive Technology Using HTML5 by Steve Lee Case Study 4: Visualising Embedded Metadata by Mark ...

  9. Sample Questions for HTML/CSS

    Sample HTML/CSS questions to assess your candidates for on-the-job skills. Use skill tests for 500+ roles to identify the most qualified candidates. ... Blog Case studies Books Tools. About us. Login. Sign Up. Log In. Search test library by skills or roles. ⌘ K. All public questions HTML/CSS. TRY FOR FREE.

  10. Case study: travel blog website. The fourth challenge in the UX/HTML

    The fourth challenge in the UX/HTML/CSS Design and Code Challenge series is a travel blog website. This challenge continues to explore CSS Grid layout and adds support for responsive layouts for mobile, tablet, and desktop versions. ... FAANG UX case study: Our story and 5 tips for you. Designers, case studies don't have to be boring. Turn ...

  11. 6 Web Design Case Studies We Can Learn From

    4. Studio&more for Din7. > Presenting color choices, logo design and more. Here's another example of a detailed web design case study, by graphic design studio, Studio&more. In this project for industrial design company, Din7, they worked on both branding and UX. As a result, they had the material necessary to cover everything from color ...

  12. HTML: Question Bank

    This post contains 1 mark questions on the topic of HTML, including head section, lists, special characters and unclosed tags in the form of MCQs, fill in the blanks and true or false statements. These questions are in accordance with the new revised format of 2020. ... HTML is a case sensitive Web language. Ans. False. HTML is a programming ...

  13. Chapter 7: HTML: An Introduction

    Case-Study Based Questions Question 1. Generally, the web browser displays an HTML document with background white and foreground black. However, you can change the appearance of the document by changing the background as well as the text colour.

  14. 5 inspiring web design case studies

    Make sure you also check out our top web design tips. How to write engaging case studies for your portfolio. 01. Museum of Science and Industry of Chicago. DogStudio took on a massive job with this site, and delivered (Image credit: DogStudio) For a really inspiring case study, it's hard to beat DogStudio's extensive piece chronicling its work ...

  15. Build a Quiz Application with HTML, CSS, and JavaScript

    Step 2 (CSS Code): Once the basic HTML structure of the quiz application is in place, the next step is to add styling to the quiz application using CSS. Next, we will create our CSS file. In this file, we will use some basic CSS rules to create our quiz application.

  16. How to Write an Effective Case Study: Examples & Templates

    Case study examples. Case studies are proven marketing strategies in a wide variety of B2B industries. Here are just a few examples of a case study: Amazon Web Services, Inc. provides companies with cloud computing platforms and APIs on a metered, pay-as-you-go basis.

  17. HTML Question Paper and Answers (HTML Q&A) For CBSE Class 7, 8, 9, 10

    An HTML document has two main parts. 1. Head Part- Contains all head or title tags. 2. Body Part- Contains all main tags or information. Q. 20. Give some examples of empty tags with use of empty tags. A. <br> tag is used for break a line in a web page. <hr> tag is used for create an horizontal line in a web page.

  18. HTML

    Answer. Question 5 We can use ______________ button to clear all options from a Form. Answer. TRUE/FALSE. Question 1 unvisited link is underlined and its colour is blue. Answer. Question 2 <input type="Password"> will display star (*) in text box. Answer. Question 3 Selection list is used to represent drop down list.

  19. 47 case interview examples (from McKinsey, BCG, Bain, etc.)

    One of the best ways to prepare for case interviews at firms like McKinsey, BCG, or Bain, is by studying case interview examples.. There are a lot of free sample cases out there, but it's really hard to know where to start. So in this article, we have listed all the best free case examples available, in one place.

  20. What Is a Case Study?

    Revised on November 20, 2023. A case study is a detailed study of a specific subject, such as a person, group, place, event, organization, or phenomenon. Case studies are commonly used in social, educational, clinical, and business research. A case study research design usually involves qualitative methods, but quantitative methods are ...

  21. Case Study Research Method in Psychology

    Case studies are in-depth investigations of a person, group, event, or community. Typically, data is gathered from various sources using several methods (e.g., observations & interviews). The case study research method originated in clinical medicine (the case history, i.e., the patient's personal history). In psychology, case studies are ...

  22. Solved Basics of Web Design, HTML5 and CSS 6th edition. I

    This problem has been solved! You'll get a detailed solution from a subject matter expert that helps you learn core concepts. Question: Basics of Web Design, HTML5 and CSS 6th edition. I need help with Pacific Trails Resort Case Study Chapter 8. Coding for the case study ending with chapter 8. Basics of Web Design, HTML5 and CSS 6th edition.

  23. ICS 314 Spring 2024

    Case study: Crafting Code Responsibly: A Developer's Odyssey with ChatGPT. Before starting this experience, please go through all of the "Foundations" readings and experiences. Please read Crafting Code Responsibly: A Developer's Odyssey with ChatGPT. Questions for discussion. Choose one of the ethical discussion areas below:

  24. 2024 AP Exam Dates

    AP African American Studies Exam Pilot: For the 2024 AP Exam administration, only schools that are participating in the 2023-24 AP African American Studies Exam Pilot can order and administer the exam. AP Seminar end-of-course exams are only available to students taking AP Seminar at a school participating in the AP Capstone Diploma Program.

  25. Cisco Expert certifications

    The misuse of this CCIE Technical Assistance Center (TAC) case privilege and TAC Support Services is considered a violation of the Candidate Certification and Confidentiality Agreement (NDA), ... The Cisco Learning Network is more than just an online platform — it's your global study group. Connect with peers, learn from other experts, and ...