@
@
@Richswitch2017-07-11 17:05:23
PHP
@Richswitch, 2017-07-11 17:05:23

Do I need to write all HTML5 tags for other pages of a dynamic site?

Hey!
I am building a website with dynamic content.
Is it necessary for each page, for example for 'signup.php' (the page with the registration form), to do full HTML5 markup, like

<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Document</title>
</head>
<body>
  
</body>
</html>

or you can
just add
<form>
  <input type="..." name="..">
  <input type="..." name="..">
  <input type="..." name="..">
</form>

How is it correct?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
Nikolai Kargin, 2017-07-11
_

Although the browser will understand by the headers that this is an html page, it is necessary and correct to indicate the "framework".

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question