diff --git a/templates/tag.html b/templates/tag.html
index 30b034a..6a7d031 100644
--- a/templates/tag.html
+++ b/templates/tag.html
@@ -87,11 +87,11 @@ function showList(jsonData,tag){
if(!(tagList.includes(jsonData["postListJson"][i]['label']))){
tagList.push(jsonData["postListJson"][i]['label']);
- let showLabels=document.createElement("a");
+ let showLabels=document.createElement("button");
showLabels.setAttribute("class","Label");
showLabels.setAttribute("style","background-color:"+jsonData["postListJson"][i]['labelColor']);
showLabels.innerHTML=jsonData["postListJson"][i]['label'];
- showLabels.setAttribute("onclick",'javascript:updateShowTag("'+jsonData["postListJson"][i]['label']+'");');
+ showLabels.setAttribute("onclick","javascript:updateShowTag('"+jsonData["postListJson"][i]['label']+"');");
tagLable.appendChild(showLabels);
}