Yes. Beach tents in particular are made from fabrics that prevent UV rays from passing through. Most models can block over 90% of radiation, while regular camping tents also provide UV protection, albeit the factor is not always specified.