Hello everyone, I am currently learning HTML by myself, and I encountered a problem when writing a page. After setting the display of the a tag to block, the content in the a tag cannot expand the width of the a tag. I checked I have the code and I don’t know where the problem is. I would like to ask some experienced experts for help. I would be very grateful! !
The code is attached below:
flex is only valid for child elements