Jak ustawić atrybut title za pomocą CSS.

0

Jak ustawić atrybut title za pomocą CSS.

3

https://www.google.com/search?q=atribute+setting+through+css&oq=atribute+setting+through+css&aqs=chrome..69i57.7033j0j7&sourceid=chrome&ie=UTF-8
https://stackoverflow.com/questions/52175595/setting-html-tag-attributes-from-css#:~:text=Attributes%20are%20set%20inline%20or,as%20opposed%20to%20element%20functionality.

Technically, you never set any HTML attribute with CSS. HTML attributes are used to configure aspects of an element's functionality, not style (though there is some stylistic crossover discussed later). Attributes are set inline or through JavaScript and can be used as selectors in CSS to style elements, but their values are never changed or affected by CSS.

https://www.google.com/search?ei=Po3gX5veNJDTkgWezKWADA&q=attribute+setting+title+through+css&oq=attribute+setting+title+through+css&gs_lcp=CgZwc3ktYWIQAzoECAAQRzoECCEQClDC9gNYlPsDYPL7A2gAcAF4AIABTYgBkQOSAQE2mAEAoAEBqgEHZ3dzLXdpesgBCMABAQ&sclient=psy-ab&ved=0ahUKEwib9fGZgt_tAhWQqaQKHR5mCcAQ4dUDCA0&uact=5
https://stackoverflow.com/questions/6136855/add-title-attribute-from-css

You can't. CSS is a presentation language. It isn't designed to add content (except for the very trivial with :before and :after).

1 użytkowników online, w tym zalogowanych: 0, gości: 1