Which HTML tag is used to create an ordered list?

  •  
  •  
    1.  
      •  
      The

        tag is used in HTML to create an ordered list. An ordered list typically displays elements in a numbered format. For example, it could be used to present a step-by-step guide or a ranked list of items. 

What is the purpose of the method attribute in a form element?

  • To define how long the form should be displayed. 
  • To define the type of browser to open the form in. 
  • To specify the HTTP method to use when sending form data. 
  • To specify the way data is displayed on submission. 
The method attribute in an HTML form specifies the HTTP method to use when sending form data. Common values for this attribute include "GET" and "POST". The "GET" method appends form data to the URL in name/value pairs, which is ideal for non-sensitive data and when you want to bookmark the result. The "POST" method, on the other hand, sends the form data as the HTTP message body, making it more suitable for sending large amounts or sensitive data. 

How can you adjust the spacing between paragraphs in HTML?

  • By altering the font-size. 
  • By changing the HTML version. 
  • By modifying the margin or padding CSS properties. 
  • By using the resize attribute. 
In HTML, the spacing between elements, such as paragraphs, can be adjusted using CSS properties like margin and padding. Specifically, the margin-bottom property on a

element or the margin-top property on the subsequent paragraph can determine the space between two paragraphs. Adjusting these properties allows for precise control over the layout and visual flow of content. 

How does the cite element behave when nested inside a blockquote or q element?

  • It adds interactive behavior to the quoted content. 
  • It makes the quotation a hyperlink. 
  • It modifies the style of the quoted content. 
  • It specifies the source of the quoted content. 
The element represents a reference to a creative work and must include the title of that work or the name of the author (or an URL). When nested inside a

or element, it gives a reference to the source of the quoted content, providing context to the user. However, browsers do not typically render it as a hyperlink by default. 

To ensure that table headers are associated with their corresponding cells for screen readers, use the ______ attribute.

  • bind 
  • data-header 
  • headers 
  • linked-header 
The headers attribute is used to associate table headers with their corresponding data cells. It's especially useful for accessibility as screen readers can better announce the data by referencing its associated header. This way, people with visual impairments can understand the structure and content of the table more effectively. 

Visually impaired users navigating with screen readers pay particular attention to ______ tags to understand the structure of the content.

  •  
  •  
  •  
  •  
Screen readers heavily rely on semantic tags to interpret and narrate the structure of web content. While doesn't exist in HTML,

,

The _____ tag can be used to represent variables in a mathematical expression.

  •  
  •  
  •  
  •  
The tag in HTML is used to denote a variable in a mathematical expression or a programming context. For instance, in the equation a2+b2=c2a2+b2=c2, "a," "b," and "c" can be wrapped in the tag to signify that they are variables in this context. 

Why was the DOCTYPE declaration simplified in HTML5 compared to HTML 4.01?

  • To encourage the use of the latest standards without needing frequent DOCTYPE changes for new HTML versions. 
  • To make it compatible with XML parsers. 
  • To make the declaration more human-readable. 
  • To reduce the file size of web pages. 
HTML5 aimed to be a simpler, more streamlined language that was both backward-compatible and forward-looking. The DOCTYPE was simplified to to avoid the various complications and confusions that arose from having multiple DOCTYPEs in previous versions of HTML. This change also promotes the idea of "one web" where the same content can be served to all devices, regardless of the HTML version, without having to regularly update the DOCTYPE as standards evolve. 

What are the implications of using multiple h1 tags within a single webpage for SEO and semantic HTML?

  • It can dilute the main topic focus and confuse search engines, potentially impacting page ranking. 
  • It can lead to a decrease in page load times. 
  • It enhances the site's mobile responsiveness. 
  • It makes the website look visually appealing. 
Historically, it was a best practice to use a single h1 tag per page to represent the primary topic or focus. With the advent of HTML5 and the section element, it's now semantically correct to use multiple h1 tags in different sections of a page. However, overusing the h1 tag or using it without proper semantic structuring can dilute the main topic focus of the page. Search engines could get confused about the primary content, potentially affecting the page's SEO ranking. 

The ______ element is used to provide a title for the table, which will be displayed above the table.

  •  
  •  
  •  
  •  </li> </ul> <div class="answer" data-value="1">The </p> <caption> element is specifically designed to provide a title or caption for a table. This title will be displayed just above the table. While </p> <thead> is used for grouping header content, <title> sets the document's title (visible in browser tabs), and </p> <header> is a container for introductory content. </div> </div> <div class="discuss"> <a class="btn btn-sm btn-secondary" rel="bookmark" href="/quiz/33169/">Discuss it</a> </div> </div> <div class="card quiz mb-4"> <h1 class="h5 mx-4 mt-3 mb-0 quizid" data-id="33168">Which attribute is used in the video tag to make sure the video controls like play, pause, and the seek bar are available to the user?</h1> <!-- star --> <div class="star d-flex align-items-center"> <svg aria-hidden="true" width="100%" height="100%" viewBox="0 0 70 14" fill="none" xmlns="http://www.w3.org/2000/svg"> <mask id="star-mask-33168"> <rect x="0" y="0" width="90%" height="100%" fill="white"></rect> </mask> <g class="star-filled" mask="url(#star-mask-33168)"> <use xlink:href="#icon-star" width="14" height="14" x="0"></use> <use xlink:href="#icon-star" width="14" height="14" x="14"></use> <use xlink:href="#icon-star" width="14" height="14" x="28"></use> <use xlink:href="#icon-star" width="14" height="14" x="42"></use> <use xlink:href="#icon-star" width="14" height="14" x="56"></use> </g> <g fill="transparent" class="star-bordered" stroke-width="2"> <use xlink:href="#icon-star" width="12" height="12" x="1" y="1"></use> <use xlink:href="#icon-star" width="12" height="12" x="15" y="1"></use> <use xlink:href="#icon-star" width="12" height="12" x="29" y="1"></use> <use xlink:href="#icon-star" width="12" height="12" x="43" y="1"></use> <use xlink:href="#icon-star" width="12" height="12" x="57" y="1"></use> </g> </svg> <span aria-hidden="true" class="visually-hidden">Difficulty level</span> </div> <div class="option"> <ul> <li>controls </li> <li>features </li> <li>operations </li> <li>playback </li> </ul> <div class="answer" data-value="1">The controls attribute is used with the <video> tag to provide video controls like play, pause, volume, and the seek bar to the user. When this attribute is present, the browser will display the default video controls to the end-user, allowing them to interact with the video content easily. </div> </div> <div class="discuss"> <a class="btn btn-sm btn-secondary" rel="bookmark" href="/quiz/33168/">Discuss it</a> </div> </div> <div class="card quiz mb-4"> <h1 class="h5 mx-4 mt-3 mb-0 quizid" data-id="33167">Inline quotations are typically represented using the _______ element in HTML.</h1> <!-- star --> <div class="star d-flex align-items-center"> <svg aria-hidden="true" width="100%" height="100%" viewBox="0 0 70 14" fill="none" xmlns="http://www.w3.org/2000/svg"> <mask id="star-mask-33167"> <rect x="0" y="0" width="66.666666666667%" height="100%" fill="white"></rect> </mask> <g class="star-filled" mask="url(#star-mask-33167)"> <use xlink:href="#icon-star" width="14" height="14" x="0"></use> <use xlink:href="#icon-star" width="14" height="14" x="14"></use> <use xlink:href="#icon-star" width="14" height="14" x="28"></use> <use xlink:href="#icon-star" width="14" height="14" x="42"></use> <use xlink:href="#icon-star" width="14" height="14" x="56"></use> </g> <g fill="transparent" class="star-bordered" stroke-width="2"> <use xlink:href="#icon-star" width="12" height="12" x="1" y="1"></use> <use xlink:href="#icon-star" width="12" height="12" x="15" y="1"></use> <use xlink:href="#icon-star" width="12" height="12" x="29" y="1"></use> <use xlink:href="#icon-star" width="12" height="12" x="43" y="1"></use> <use xlink:href="#icon-star" width="12" height="12" x="57" y="1"></use> </g> </svg> <span aria-hidden="true" class="visually-hidden">Difficulty level</span> </div> <div class="option"> <ul> <li><inquote> </li> <li><iquote> </li> <li><q> </li> <li><quote> </li> </ul> <div class="answer" data-value="3">For shorter quotations that don't require a block-level distinction, the <q> element is used. It's an inline element, so it doesn't start on a new line and doesn't take up the full width of its container. Browsers typically render the content of the <q> element with quotation marks. </div> </div> <div class="discuss"> <a class="btn btn-sm btn-secondary" rel="bookmark" href="/quiz/33167/">Discuss it</a> </div> </div> <nav class="my-4" aria-label="Page navigation" role="navigation"><span class="visually-hidden">Page navigation</span><ul class="pagination justify-content-center"><li class="page-item disabled"><span class="page-link">Page 697 of 3329</span></li><li class="page-item"><a class="page-link" href="/quiz/" aria-label="First Page">«<span class="d-none d-lg-inline-block"> First</span></a></li><li class="page-item"><a class="page-link" href="/quiz/page/696/" aria-label="Previous Page">‹<span class="d-none d-lg-inline-block"> Previous</span></a></li><li class="page-item"><a class="page-link" href="/quiz/page/695/"><span class="visually-hidden">Page </span>695</a></li><li class="page-item"><a class="page-link" href="/quiz/page/696/"><span class="visually-hidden">Page </span>696</a></li><li class="page-item active"><span class="page-link"><span class="visually-hidden">Current Page </span>697</span></li><li class="page-item"><a class="page-link" href="/quiz/page/698/"><span class="visually-hidden">Page </span>698</a></li><li class="page-item"><a class="page-link" href="/quiz/page/699/"><span class="visually-hidden">Page </span>699</a></li><li class="page-item"><a class="page-link" href="/quiz/page/698/" aria-label="Next Page"><span class="d-none d-lg-inline-block">Next </span>›</a></li><li class="page-item"><a class="page-link" href="/quiz/page/3329/" aria-label="Last Page"><span class="d-none d-lg-inline-block">Last </span>»</a></li></ul></nav></main> <aside class="sidebar col-lg-4"> <!-- Tags --> <div class="border rounded-1 bg-white px-3 pt-3 pb-2 mb-4"> <h3 class="h6 border-bottom pb-2 mb-3">Book Topics</h3> <div class="d-flex flex-wrap gap-2"><a href="/topic/science/" class="badge rounded-pill text-bg-light link-primary fw-normal">Science</a><a href="/topic/nature-maths/" class="badge rounded-pill text-bg-light link-primary fw-normal">Nature & Maths</a><a href="/topic/computing-internet/" class="badge rounded-pill text-bg-light link-primary fw-normal">Computing & Internet</a><a href="/topic/politics/" class="badge rounded-pill text-bg-light link-primary fw-normal">Politics</a><a href="/topic/philosophy-social-sciences/" class="badge rounded-pill text-bg-light link-primary fw-normal">Philosophy & Social Sciences</a><a href="/topic/mathematics/" class="badge rounded-pill text-bg-light link-primary fw-normal">Mathematics</a><a href="/topic/reference/" class="badge rounded-pill text-bg-light link-primary fw-normal">Reference</a><a href="/topic/social-sciences/" class="badge rounded-pill text-bg-light link-primary fw-normal">Social Sciences</a><a href="/topic/programming/" class="badge rounded-pill text-bg-light link-primary fw-normal">Programming</a><a href="/topic/engineering-technology/" class="badge rounded-pill text-bg-light link-primary fw-normal">Engineering & Technology</a><a href="/topic/computer-science/" class="badge rounded-pill text-bg-light link-primary fw-normal">Computer Science</a><a href="/topic/education/" class="badge rounded-pill text-bg-light link-primary fw-normal">Education</a><a href="/topic/scientific/" class="badge rounded-pill text-bg-light link-primary fw-normal">Scientific</a><a href="/topic/technical-medical/" class="badge rounded-pill text-bg-light link-primary fw-normal">Technical & Medical</a><a href="/topic/machine-learning/" class="badge rounded-pill text-bg-light link-primary fw-normal">Machine Learning</a><a href="/topic/business/" class="badge rounded-pill text-bg-light link-primary fw-normal">Business</a><a href="/topic/finance-law/" class="badge rounded-pill text-bg-light link-primary fw-normal">Finance & Law</a><a href="/topic/python/" class="badge rounded-pill text-bg-light link-primary fw-normal">Python</a><a href="/topic/higher-education/" class="badge rounded-pill text-bg-light link-primary fw-normal">Higher Education</a><a href="/topic/ai-machine-learning/" class="badge rounded-pill text-bg-light link-primary fw-normal">AI & Machine Learning</a></div> </div> <div class="border rounded-1 bg-white px-3 pt-3 pb-2 mb-4"> <h3 class="h6 border-bottom pb-2 mb-3">Hot Quiz</h3> <div class="d-flex flex-wrap gap-2"><a href="/quizzes/php-quiz/" class="badge rounded-pill text-bg-light link-primary fw-normal">PHP Quiz</a><a href="/quizzes/go-quiz/" class="badge rounded-pill text-bg-light link-primary fw-normal">Go Quiz</a><a href="/quizzes/machine-learning-quiz/" class="badge rounded-pill text-bg-light link-primary fw-normal">Machine Learning Quiz</a><a href="/quizzes/react-js-quiz/" class="badge rounded-pill text-bg-light link-primary fw-normal">React.js Quiz</a><a href="/quizzes/cyber-security-quiz/" class="badge rounded-pill text-bg-light link-primary fw-normal">Cyber Security Quiz</a><a href="/quizzes/python-quiz/" class="badge rounded-pill text-bg-light link-primary fw-normal">Python Quiz</a><a href="/quizzes/node-js-quiz/" class="badge rounded-pill text-bg-light link-primary fw-normal">Node.js Quiz</a><a href="/quizzes/asp-net-core-quiz/" class="badge rounded-pill text-bg-light link-primary fw-normal">ASP.NET Core Quiz</a><a href="/quizzes/data-science-statistics-quiz/" class="badge rounded-pill text-bg-light link-primary fw-normal">Data Science Statistics Quiz</a><a href="/quizzes/css-quiz/" class="badge rounded-pill text-bg-light link-primary fw-normal">CSS Quiz</a><a href="/quizzes/etl-testing-quiz/" class="badge rounded-pill text-bg-light link-primary fw-normal">ETL Testing Quiz</a><a href="/quizzes/ado-net-quiz/" class="badge rounded-pill text-bg-light link-primary fw-normal">ADO.NET Quiz</a><a href="/quizzes/db2-quiz/" class="badge rounded-pill text-bg-light link-primary fw-normal">DB2 Quiz</a><a href="/quizzes/checkpoint-quiz/" class="badge rounded-pill text-bg-light link-primary fw-normal">Checkpoint Quiz</a><a href="/quizzes/servlet-quiz/" class="badge rounded-pill text-bg-light link-primary fw-normal">Servlet Quiz</a><a href="/quizzes/hadoop-quiz/" class="badge rounded-pill text-bg-light link-primary fw-normal">Hadoop Quiz</a><a href="/quizzes/data-modelling-quiz/" class="badge rounded-pill text-bg-light link-primary fw-normal">Data Modelling Quiz</a><a href="/quizzes/api-testing-quiz/" class="badge rounded-pill text-bg-light link-primary fw-normal">API Testing Quiz</a><a href="/quizzes/algorithm-quiz/" class="badge rounded-pill text-bg-light link-primary fw-normal">Algorithm Quiz</a><a href="/quizzes/database-testing-quiz/" class="badge rounded-pill text-bg-light link-primary fw-normal">Database Testing Quiz</a></div> </div> <!-- top 10 --> <div class="border rounded-1 bg-white px-3 pt-3 pb-2 mb-4"> <h3 class="h6 border-bottom pb-2 mb-3">Hot Books of This Week</h3> <ol class="ps-4 mb-0 small"><li class="pb-2"><a class="visit" href="https://opentechbook.com/book/the-orange-book-of-machine-learning/" title="The Orange Book of Machine Learning" class="d-block text-truncate">The Orange Book of Machine Learning</a></li><li class="pb-2"><a class="visit" href="https://opentechbook.com/book/dive-into-deep-learning/" title="Dive into Deep Learning" class="d-block text-truncate">Dive into Deep Learning</a></li><li class="pb-2"><a class="visit" href="https://opentechbook.com/book/interpretable-machine-learning/" title="Interpretable Machine Learning" class="d-block text-truncate">Interpretable Machine Learning</a></li><li class="pb-2"><a class="visit" href="https://opentechbook.com/book/numerical-recipes-in-python-4th-edition/" title="Numerical Recipes in Python, 4th Edition" class="d-block text-truncate">Numerical Recipes in Python, 4th Edition</a></li><li class="pb-2"><a class="visit" href="https://opentechbook.com/book/intro-to-journalism-handbook/" title="Intro to Journalism Handbook" class="d-block text-truncate">Intro to Journalism Handbook</a></li><li class="pb-2"><a class="visit" href="https://opentechbook.com/book/introduction-to-modern-statistics/" title="Introduction to Modern Statistics, 2nd Edition" class="d-block text-truncate">Introduction to Modern Statistics, 2nd Edition</a></li><li class="pb-2"><a class="visit" href="https://opentechbook.com/book/entrepreneurship-by-openstax/" title="Entrepreneurship by OpenStax" class="d-block text-truncate">Entrepreneurship by OpenStax</a></li><li class="pb-2"><a class="visit" href="https://opentechbook.com/book/introduction-to-python-programming/" title="Introduction to Python Programming" class="d-block text-truncate">Introduction to Python Programming</a></li><li class="pb-2"><a class="visit" href="https://opentechbook.com/book/the-recursive-book-of-recursion/" title="The Recursive Book of Recursion" class="d-block text-truncate">The Recursive Book of Recursion</a></li><li class="pb-2"><a class="visit" href="https://opentechbook.com/book/active-calculus-multivariable/" title="Active Calculus Multivariable" class="d-block text-truncate">Active Calculus Multivariable</a></li></ol> </div> </aside></div> </div> <footer class="footer pt-5 mt-auto"> <div class="container"> <div class="d-flex flex-column flex-sm-row justify-content-between border-top py-3 my-4"> <div id="google-ad" class="me-auto py-2">Copyright © 2026 Open Tech Book</div> <ul class="list-inline mb-0"> <li class="list-inline-item"><a href="/about/" class="nav-link p-2 text-muted">About</a></li> <li class="list-inline-item"><a href="/contact/" class="nav-link p-2 text-muted">Contact</a></li> <li class="list-inline-item"><a href="/faq/" class="nav-link p-2 text-muted">FAQ</a></li> <li class="list-inline-item"><a href="/dmca/" class="nav-link p-2 text-muted">DMCA</a></li> <li class="list-inline-item"><a href="/disclaimer/" class="nav-link p-2 text-muted">Disclaimer</a></li> <li class="list-inline-item"><a href="/privacy-policy/" class="nav-link p-2 text-muted">Privacy Policy</a></li> </ul> </div> </div> </footer> <a id="back-to-top" href="#" class="d-none d-lg-block"><span class="iconfont icon-chevron-up-outline"></span></a> <script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap/5.3.0/js/bootstrap.bundle.min.js" integrity="sha512-VK2zcvntEufaimc+efOYi622VN5ZacdnufnmX7zIhCPmjhKnOi9ZDMtg1/ug5l183f19gG1/cBstPO4D8N/Img==" crossorigin="anonymous" referrerpolicy="no-referrer"></script> <script src="https://opentechbook.com/wp-content/themes/book/assets/js/site.min.js"></script> <script type="speculationrules"> {"prefetch":[{"source":"document","where":{"and":[{"href_matches":"/*"},{"not":{"href_matches":["/wp-*.php","/wp-admin/*","/wp-content/uploads/*","/wp-content/*","/wp-content/plugins/*","/wp-content/themes/book/*","/*\\?(.+)"]}},{"not":{"selector_matches":"a[rel~=\"nofollow\"]"}},{"not":{"selector_matches":".no-prefetch, .no-prefetch a"}}]},"eagerness":"conservative"}]} </script> </body> </html>