• Matéria: Informática
  • Autor: isadoralaranja9350
  • Perguntado 3 anos atrás

Como centralizar cabeçalho html.

Respostas

respondido por: raphaelmunizvarela
0

Resposta:

<!DOCTYPE html>

<html>

<head>

 <title>Cabeçalho centralizado</title>

</head>

<body style="width: 100%;">

 <h1 style="width: fit-content;height: fit-content;margin: 0 auto;">Cabeçalho</h1>

</body>

</html>

Explicação:

Perguntas similares