this question is a follow-up of previous post Create URL hyperlink in R Shiny? .
I'm using the solution shared there, namely:
runApp(
list(ui = fluidPage(
uiOutput("tab")
),
server = function(input, output, session){
url <- a("Google Homepage", href="https://www.google.com/")
output$tab <- renderUI({
tagList("URL link:", url)
})
})
)
The solution above works fine. However, I would need to:
- customize the font size and color
- make sure the link opens up a new page in a new browser tab. I can't find a way to achieve these two goals and I'm not familiar with HTML. Any help would be much appreciated. Thanks