<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Scott Fuller on Medium]]></title>
        <description><![CDATA[Stories by Scott Fuller on Medium]]></description>
        <link>https://medium.com/@scottfuller_41304?source=rss-b7636b0f5803------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*7nOqtVMf5LvhBNoZaJKh3g.jpeg</url>
            <title>Stories by Scott Fuller on Medium</title>
            <link>https://medium.com/@scottfuller_41304?source=rss-b7636b0f5803------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Thu, 03 Dec 2026 20:17:23 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@scottfuller_41304/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[How to make your <a> tags look like buttons — and when to use them]]></title>
            <link>https://medium.com/@scottfuller_41304/how-to-make-your-a-tags-look-like-buttons-and-when-to-use-them-24432f3c2b1?source=rss-b7636b0f5803------2</link>
            <guid isPermaLink="false">https://medium.com/p/24432f3c2b1</guid>
            <category><![CDATA[web-development]]></category>
            <dc:creator><![CDATA[Scott Fuller]]></dc:creator>
            <pubDate>Sun, 04 Nov 2018 16:23:01 GMT</pubDate>
            <atom:updated>2018-11-04T16:23:01.760Z</atom:updated>
            <content:encoded><![CDATA[<h3>How to make your &lt;a&gt; tags look like buttons — and when to use them</h3><p>The internet was built on links. In the simplest terms, the foundation of the internet is the ability to transfer from webpage to webpage by clicking through links. In our code, these links are declared by using the anchor element, or <em>&lt;a&gt;</em> tag as it appears in our code. We encounter anchor tags on nearly every web page we visit, but depending on the design of the site they may not look like what you’ve come to expect.</p><p>Let’s start with the default styling of anchor elements — the text that you put between the opening and closing <em>&lt;a&gt;</em> tags will naturally turn a bright blue and be underlined on your page. When we come across these while browsing the internet, we know that by clicking on the text that we’ll be brought to another page. But anchor tags can be much more sophisticated than their default styles, and there are often many anchor tags that are hiding in plain sight. Through a few simple lines of code in our CSS, we can completely transform the look and feel of our <em>&lt;a&gt;</em> tags to match our site design.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/996/1*eMR48Gm1n6hN7F9BlgLneQ.png" /><figcaption>Default link styles</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RgQh9FraoqC4I9RwywuGPQ.png" /></figure><p>One of the easiest ways to do this is to style your links to look like buttons. It has been <em>scientifically proven*</em> that humans cannot resist pushing a button — if you’re from Toronto and have been to the bathroom at Otto’s Bierhalle, you know what I’m talking about — and the same is true on the web. Have a button on your site, and people will click. Okay… I can’t guarantee that someone will click, but the point is that we expect to be able to click a button when we see one.</p><p>To start making your links look like buttons, go to your code and remove the default styling of your anchor elements. To do this, in your CSS target the <em>&lt;a&gt;</em> tags and take off text decoration and set the font color to whatever works with your design.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/638/1*jGm7MRufSDTP-io6dMDtTQ.png" /><figcaption>Removing the default styles</figcaption></figure><p>From here, give your link some padding to increase the clickable area that will soon become your button. Set a background color and any other styles that go along with your design — in this example I’ve used text transform to make the content uppercase, aligned the text to the center, and given our button a border. And just like that, you quickly and easily have a basic button!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/810/1*rQXyPEra0lJc4-3q0dJl0w.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/470/1*qPuJrTyBmj7EP9zy9P0vvQ.png" /><figcaption>Looking pretty clickable!</figcaption></figure><p>There are a couple other quick tips to make your buttons look even more realistic, thanks to our psuedo-class friend <em>:hover</em>. If you target your anchor tag to change in some way while the user hovers their mouse over it, it further encourages the user to click. Some easy ways to do this is to change the background or font color on hover, or add a box shadow. This is one of my favourite ways to help signal to the user the click-ability of the link; box shadows add a three dimensional effect to your page in a subtle way that rarely impacts the site design.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/373/1*xxDUQhGV1MBzLmq2mu04ww.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/738/1*FfkLTK82neu3TcW7EPqGyg.png" /></figure><p>Now, you may be thinking to yourself “Hey, isn’t there a <em>&lt;button&gt;</em> tag that I could use instead?”. Although it’s true that there is a button tag that can similarly be styled, it should not be used to replace the <em>&lt;a&gt;</em> tag. Each of these tags has a unique purpose, and it’s important to use the <em>&lt;a&gt;</em> tag when directing the user to another page. It’s often tempting to use the <em>&lt;button&gt;</em> tag, since you’re styling your link to look like a button, but those are best left for specific purposes on your site (some examples of times to use <em>&lt;button&gt;</em> are for submitting a form, or when adding an item to a cart in an e-commerce shop). Think about how your user will be interacting with the site and what will happen when they click on your button, and that should make the decision on whether to use <em>&lt;a&gt;</em> or <em>&lt;button&gt;</em> easy as pie!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=24432f3c2b1" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>