Skip to content

Tag: html

Onclick function in the tag instead of the not working

I’m trying to use the onClick() function inside the script tag. When I looked on the internet to find the syntax to do this it looked something like the above. However when I run this script it doesn’t work and I have no clue why and Any other way I’ve tried becomes a syntax error. Answer Yo…

Single-selectable listview in pure HTML/CSS?

By default a <select> element is a dropdown menu which I don’t want: I want to display the full list. This is possible with multiple: but then obviously the user can select multiple elements. How to have a full list view (like with multiple, i.e. no dropdown menu), but have only one possible selec…

Unable to make responsive aligment

Screenshot (The layout i look for) : My codes My current code : Works fine with large desktop, big screen and resolution But, When i check it with small desktop, mobile and small resolution screen, than the layout getting missed up. How to i make this responsive? Answer Removed most of the code from your CSS …