How to set the width and height of hyperlinks

php中世界最好的语言
Release: 2018-01-27 10:06:00
Original
2951 people have browsed it

This time I will show you how to set the width and height of hyperlinks, what are the notes for setting the width and height of hyperlinks, the following is a practical case, let's take a look.

We know that it is not feasible to set the attribute of a hyperlink directly using width and height
adddisplay:block; or display:inline-block;
Change it to a block attribute and it will be ok

I believe you have mastered the method after reading these cases, please come for more exciting information Pay attention to other related articles on php Chinese website!

Related reading:

How to set focus to HTML elements

How to use the title attribute of html to display text on mouse hover

How to write an html input drop-down menu

The above is the detailed content of How to set the width and height of hyperlinks. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!