What is fake for frames?

Let's say I have a website with 50 web pages. Each page consists of

  • Headline
  • Navigation
  • Content on the left.
  • Right Content
  • Footer

Without use

  • Frames
  • Server side programming
  • Tools and software of the third part
  • Wireframes

Would I need to put code (HTML markup) for each of these 5 sections on each of these 50 pages? What happened to the term "Code once, use again and again"? Also, if I want to change something, I will need to change it to 50 seats. It is simply eloquent. May I use as such.

<object type="text/html" height="100%" width="100%" data="header.html"></object>

Sorry my silly questions. Studying the highway!

0
source share
5 answers

.

. , index.html 5 , object iframe, 6 (, , ).

:

  • index.html
  • , header.html
  • 5 htmls

index.php, ( PHP), PHP HTML ONE (, PHP, header.php), , .

, ( ). , :).

:

index.php

<!DOCTYPE html>
<html>
...
<body>

<?php include 'header.php'; ?>

<?php include 'navigation.php'; ?>

...

<?php include 'footer.php'; ?>

</body>
</html>

PHP HTML, . PHP <?php whatever ?>

+2

(HTML-) 5 50 ?

"Code Once, Use Again and Again"?

, HTML (, ( ) , ( ) JavaScript ( )).

. <object type="text/html" height="100%" width="100%" data="header.html"></object>

<iframe>, .

+4

, , , , , -. ( ). , ( UNIX)

cat header.html navigation.html body1.html > page1.html

, . - , - .

+1

( ), - AJAX .

, , , , , , .

.

0

Server Side Includes (SSI), html ( ). PHP, PHP: http://www.w3schools.com/php/php_includes.asp.

0

All Articles