font html css javascript code example Example: sans serif font family css <style> .sansserif { font-family: Arial, Helvetica, sans-serif; } </style>