Тема: php код в html
Показать сообщение отдельно
  #1 (permalink)  
Старый 06.02.2019, 14:00
Новичок на форуме
Отправить личное сообщение для Annna Посмотреть профиль Найти все сообщения от Annna
 
Регистрация: 13.11.2018
Сообщений: 3

php код в html
почему браузер не отображает ничего при загрузке страницы
index.html
Код:
<!DOCTYPE html>
<!--[if lt IE 7 ]><html class="ie ie6" lang="en"> <![endif]-->
<!--[if IE 7 ]><html class="ie ie7" lang="en"> <![endif]-->
<!--[if IE 8 ]><html class="ie ie8" lang="en"> <![endif]-->
<!--[if (gte IE 9)|!(IE)]><!--><html lang="en"> <!--<![endif]-->
<head>

    <!-- Basic Page Needs
  ================================================== -->
        <meta charset="utf-8">
        <title>Start Page</title>


    <!-- Mobile Specific Metas
  ================================================== -->
        <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">

    <!-- CSS
  ================================================== -->


        <!--[if lt IE 8]>
       <div style=' clear: both; text-align:center; position: relative;'>
         <a href="http://windows.microsoft.com/en-US/internet-explorer/products/ie/home?ocid=ie6_countdown_bannercode">
           <img src="http://storage.ie6countdown.com/assets/100/images/banners/warning_bar_0000_us.jpg" border="0" height="42" width="820" alt="You are using an outdated browser. For a faster, safer browsing experience, upgrade for free today." />
        </a>
      </div>
    <![endif]-->
    <!--[if lt IE 9]>
                <script src="js/html5.js"></script>
                <script src="js/css3-mediaqueries.js"></script>
        <![endif]-->

</head>
<body>
<?php
         echo "Ïðèâåò, ÿ - ñêðèïò PHP!";
         ?>




</body></html>
Ответить с цитированием