Maven (famous)@lemmy.zip to Programmer Humor@programming.dev · 3 months agoCensorship is getting out of handlemmy.zipimagemessage-square101fedilinkarrow-up1909arrow-down111
arrow-up1898arrow-down1imageCensorship is getting out of handlemmy.zipMaven (famous)@lemmy.zip to Programmer Humor@programming.dev · 3 months agomessage-square101fedilink
minus-squaredan@upvote.aulinkfedilinkarrow-up45·edit-23 months agoHTML isn’t compiled, and unknown attributes are allowed. The best practice is to prefix non-standard attributes with data- (e.g. <div>) but nothing enforces that. Custom attributes can be retrieved in JavaScript or targeted in CSS rules. </div>
HTML isn’t compiled, and unknown attributes are allowed. The best practice is to prefix non-standard attributes with
data-
(e.g.<div>
) but nothing enforces that. Custom attributes can be retrieved in JavaScript or targeted in CSS rules. </div>