-Annie-

07.ByTheCakeAddHead

Jan 29th, 2017
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 1.88 KB | None | 0 0
  1. namespace HTML_CSS_HTTP
  2. {
  3.     using System;
  4.  
  5.     public class ByTheCakeAddHead
  6.     {
  7.         static void Main()
  8.         {
  9.             Console.WriteLine("Content-Type: text/html\r\n");
  10.             Console.WriteLine("<!DOCTYPE html>\r\n<html>\r\n<head>\r\n\t<title>By The Cake</title>\r\n\t<meta charset=\"utf-8\">\r\n\t<meta name=\"description\" content=\"Buy the cake in By the Cake\">\r\n  \t<meta name=\"keywords\" content=\"cakes, buy\">\r\n \t<meta name=\"author\" content=\"Annie K.\">\r\n\t<link rel=\"stylesheet\" type=\"text/css\" href=\"http://localhost/styles.css\">\r\n</head>\r\n<body>\r\n\t<h1>By The Cake</h1>\r\n\t<h2>Enjoy our awesome cakes</h2>\r\n\t<hr>\r\n\t<ul>\r\n\t\t<li><a href=\"http://localhost/cgi-bin/Cake.exe\">Home</a> \r\n\t\t\t<ol>\r\n\t\t\t\t<li><a href=\"#cakes\">Our Cakes</a></li>\r\n\t\t\t\t<li><a href=\"#stores\">Our Stores</a></li>\r\n\t\t\t</ol>\r\n\t\t</li>\r\n\t\t<li><a href=\"\">Add Cake</a></li>\r\n\t\t<li><a href=\"\">Browse Cakes</a></li>\r\n\t\t<li>About Us</li>\r\n\t</ul>\r\n\t<h2>Home</h2>\r\n\t<section>\r\n\t\t<h3 id=\"cakes\">Our Cakes</h3>\r\n\t\t<p>Cake is a form of sweet dessert that is typically baked. In its oldest forms, cakes were modifications of breads, but cakes now cover a wide range of preparations that can be simple or elaborate, and that share features with other desserts such as pastries, meringues, custards, and pies.</p>\r\n\t\t<img src=\"http://localhost/images/cake1.jpg\" alt=\"cake1\" width=\"150\" height=\"150\">\r\n\t</section>\r\n\t<section>\r\n\t\t<h3 id=\"stores\">Our Stores</h3>\r\n\t\t<p>Our stores are located in 21 cities all over the world. Come and see what we have for you.</p>\r\n\t\t<img src=\"http://localhost/images/cake2.jpg\" alt=\"cake2\" width=\"150\" height=\"150\">\r\n\t</section>\r\n\t<footer>\r\n\t\t<hr>\r\n\t\t<p>&copy; All Rights Reserved.</p>\r\n\t</footer>\r\n</body>\r\n</html>");
  11.         }
  12.     }
  13. }
Advertisement
Add Comment
Please, Sign In to add comment