Understanding Basic HTML & CSS Concepts for Beginners
The article discusses fundamental HTML and CSS concepts essential for beginners in web development. It covers topics such as the global selector, anchor tags, and the differences between margin and padding. Additionally, it explains block and inline elements, as well as ordered and unordered lists.
- ▪The global selector applies styles to all elements in a webpage.
- ▪The anchor tag is used to create links in HTML, with 'href' standing for Hypertext Reference.
- ▪Margin refers to space outside an element, while padding refers to space inside an element.
Opening excerpt (first ~120 words) tap to expand
try { if(localStorage) { let currentUser = localStorage.getItem('current_user'); if (currentUser) { currentUser = JSON.parse(currentUser); if (currentUser.id === 3937249) { document.getElementById('article-show-container').classList.add('current-user-is-article-author'); } } } } catch (e) { console.error(e); } Ezhil Abinaya K Posted on May 25 Understanding Basic HTML & CSS Concepts for Beginners #css #html #frontend While learning Full Stack Web Development, I explored some important HTML and CSS concepts that help in building clean and responsive websites. Global Selector (*) The global selector is used to apply styles to all elements in a webpage. { margin: 0; padding: 0; box-sizing: border-box; } It helps maintain consistent spacing and layout throughout the website.
…
Excerpt limited to ~120 words for fair-use compliance. The full article is at DEV.to (Top).