MockReal Logo
Home
BlogPricing
For Employers β†’
  1. Home
  2. Questions
  3. Does a <section> go inside an <article>, or is it the other way around? Explain please, give us some use cases.

Does a <section> go inside an <article>, or is it the other way around? Explain please, give us some use cases.

Technicaljunior full stack developerFrontend DeveloperBackend Developer

A section can indeed go inside an article. The

element represents a self-contained piece of content, like a blog post, while a is used to group related content within that article.

For example, in a news article, I might use a

for the main body, another for quotes, and yet another for related links. This improves semantic structure and makes it easier for search engines to understand the content hierarchy.

More Questions

  • Can a file with a filename different than index.php/index.html be set as directory default and explain briefly how?
  • Consider the following JS function. What will the following code do?
  • Consider the functions below. Will they return the same thing? Select the most accurate response.
  • Did you ever have a client who was really tough to work with? Talk about your experience.
  • Did you ever use GULP, LESS, SASS, GRUNT, NPM, GIT, BOWER, WEBPACK, ELIXIR?
  • Did you happen to use flexbox and explain a few different use scenarios?
  • Did you have any experience with uncommon types of redirections, why did you use them and what were the drawbacks?
  • Do you know of any different conventions of naming CSS elements and selectors?
  • Explain in length the difference between call and apply.
  • Explain in length the difference between map and forEach.
MockReal Logo

Spoken interview practice for technical professionals

Product

  • Pricing
  • Questions
  • Positions
  • Resumes
  • For Employers β†’

Company

  • Careers
  • About Us
  • Contact
  • Blog

Legal

  • Privacy Policy
  • Terms of Service
  • Cookie Policy

Β© 2025 MockReal. Spoken interview practice. All rights reserved.