Render and populate a costumized table

Hello...

Im new in R and would like to know how can I render a table using . In ui.R it appears ok inside a panel, but the request would be send and processed in server.R, wouldn't ?
Im trying like this:
in ui.R :
wellPanel(
renderUI("table")
)
in server.R :
output$table <- renderUI({
tags$head(tags$table(border = 5,
tags$thead(
tags$tr(
tags$th(colspan = 7, height = 50, width = 200,
align = "center", "TABLE TITLE")
.... etc....etc...
I'm still so confused with the functions. What would be the correct pair in both files to render and populate a costumized table using ?

I think we need a FAQ: How to do a minimal reproducible example ( reprex ) for beginners