Home  >  Article  >  Web Front-end  >  How to set the width and height of hyperlinks

How to set the width and height of hyperlinks

php中世界最好的语言
php中世界最好的语言Original
2018-01-27 10:06:002958browse

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!

Statement:
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