0%

Hey! Do you have any query related to front end?

Sign in Sign up

Before and after vs empty tagBack

    • 7
    • 1
    • 51
    • facebook icon
    • twitter icon
    • google plus

Explanation:

Adding before and after to a non container element is not possible, because before and after are applied on the elements which can contain some data inside it, such as div, span, p etc., means non empty tag.

How to comment:

  • Create an account in discuss by clicking on login next to arrow.
  • Create password for discuss and varify your email id, through your mail.
  • Refresh page and comment.

You might also like

  • Get index of an element

    Get index of an element

    • 206
    • 2
    • 206
    • facebook icon
    • twitter icon
    • google plus
  • Side pusher hamburger menu

    Side pusher hamburger menu is a better way put more content on the page.

    • 454
    • 8
    • 454
    • facebook icon
    • twitter icon
    • google plus
  • Css3 solar system

    Css3 keyframe animation is an awesome feature, which facilitate us to animate element on the page.

    • 307
    • 12
    • 307
    • facebook icon
    • twitter icon
    • google plus

Latest quries posted

gopa kumarabout 3 years ago

amit singhabout 3 years ago

rahmat aliabout 3 years ago

mandavi tiwariabout 3 years ago

rahul sharmaabout 3 years ago

Ask question
Latest video
Learn Angular
Profile pic
Guest Back
Username
Password