Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timerSALE ENDS IN
0Days
:
00Hours
:
00Minutes
:
00Seconds
Arrow up icon
GO TO TOP
Responsive Web Design with HTML5 and CSS

You're reading from  Responsive Web Design with HTML5 and CSSBuild future-proof responsive websites using the latest HTML5 and CSS techniques

Arrow left icon
Product typePaperback
Published inSep 2022
PublisherPackt
ISBN-139781803242712
Length498 pages
Edition4th Edition
Languages
Concepts
Arrow right icon
Author (1):
Arrow left icon
Ben Frain Ben Frain
Author Profile IconBen Frain
Ben Frain
Arrow right icon
View More author details
Toc

Table of Contents (21) ChaptersClose

Preface1. Section I: The Fundamentals of Responsive Web DesignFREE CHAPTER
    2. The Essentials of Responsive Web Design3. Writing HTML Markup4. Media Queries and Container Queries5. Fluid Layout and Flexbox6. Layout with CSS Grid7. Section II: Core Skills for Effective Front-End Web Development
      8. CSS Selectors, Typography, and More9. CSS Color10. Stunning Aesthetics with CSS11. Responsive Images12. SVG13. Transitions, Transformations, and Animations14. Custom Properties and CSS Functions15. Forms16. Section III: Latest Platform Features and Parting Advice
        17. Cutting-Edge CSS Features18. Bonus Techniques and Parting Advice19. Other Books You May Enjoy
          20. Index

            HTML text-level semantics

            Before HTML5, text-level semantic elements were referred to in the specifications as inline elements. Therefore, if you are familiar with that description, be aware that we are talking about the same thing here.

            The section of the HTML specification that details text-level semantics can be found here: https://html.spec.whatwg.org/multipage/text-level-semantics.html#text-level-semantics.

            Let’s take a look at the most common and useful text-level elements.

            The <span> element

            A span element is the text-level equivalent of a div. It is unopinionated and is the perfect element to reach for when you merely want to wrap text in an element for styling purposes.

            The <b> element

            Historically, visuals were defined in the markup and the b element meant “make this bold” (https://www.w3.org/TR/html4/present/graphics.html#edef-B). However, the specification now describes the b element like this:

            The b element...

            lock iconThe rest of the chapter is locked
            Register for a free Packt account to unlock a world of extra content!
            A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
            Unlock this book and the full library FREE for 7 days
            Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
            Renews at $19.99/month. Cancel anytime
            close