Transcripts are written records of spoken content. Speaker labels and timestamps help readers follow who said what and where the conversation changes.
What You Need to Know
Use headings for meaningful sections, not for every individual sentence. Include enough context that the transcript remains understandable without the original audio.
The goal is not to collect as many tags as possible. Pick the element that best describes what the content really is.
Example: See It in Action
Try this markup in a fresh practice file. The next section explains the parts worth paying attention to.
This is a short HTML fragment. To try it as a webpage, put it inside the body element of a complete HTML document.
<article>
<h1>Interview Transcript</h1>
<section>
<h2>00:12 — Introduction</h2>
<p><strong>Host:</strong> What inspired this project?</p>
<p><strong>Guest:</strong> Curiosity!</p>
</section>
</article>
Let’s Understand the Example
- Article marks a piece that could make sense on its own, such as a news post or recipe.
- An h1 introduces the main subject of the page. Use the heading level for structure rather than font size.
- Section groups content around a shared topic and usually has a heading.
You should see a readable heading and its related content. The heading level tells readers how the ideas fit together, not merely how large the letters look.
What Should You See?
The page should display “Interview Transcript” as a heading, followed by its related content. Change the heading text and refresh the browser to see the result.
Read only the headings, from top to bottom. Do they tell a sensible story? If not, move sections or choose levels that match the content.
Try It Yourself
- Add a new exchange with a timestamp and two clear speaker labels.
- Save your changes, open or refresh the page, and compare the result with the original example.
- Tell a friend what your change did. If you are not sure, undo it, refresh the page, and compare.
Common Beginner Mistakes
- Leaving out speaker names when several people talk.
- Avoid picking tags just for their default bold, italic or spaced appearance. Use CSS for presentation.
Key Takeaways
- Transcripts are written records of spoken content.
- Article marks a piece that could make sense on its own, such as a news post or recipe.
- Use headings for meaningful sections, not for every individual sentence. Include enough context that the transcript remains understandable without the original audio.