A news article is a written work focused on one topic, often organized into several subtopics. On the web, an article page gives that writing a clear home within a larger page layout. section 12.0 section 12.2
A typical article page places the article alongside supporting site elements:
- A header with a logo, title, and tagline. section 12.1
- A navigation bar linking to other areas of the site. section 12.1
- A main area containing the article title, sections, headings, and paragraphs. section 12.1
- A sidebar with related information and a footer with a copyright notice. section 12.1
Choosing the layout
Use an article layout when the news writing focuses on one subject and divides that subject into multiple subtopics. Build the page skeleton with HTML, arrange the article and sidebar in two CSS Grid columns, then add the article sections manually. Keeping lengthy content out of the generation prompt makes the page easier to create and edit. section 12.2 section 12.2.10 section 12.2.4
Figure 12.1 An article page generated by ChatGPT
Use the page preview to recognize how the header, navigation, article, sidebar, and footer fit together. section 12.1
