javascript
// Get all p elements by tag name
const allParagraphs = document.getElementsByTagName('p');
console.log(`All Paragraph Elements (by Tag Name):`, allParagraphs);