Poll: was it Helpful?
You do not have permission to vote in this poll.
yes
100.00%
1 100.00%
No
0%
0 0%
Total 1 vote(s) 100%
* You voted for this item. [Show Results]

Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Marking UP the Blog in HTML5
#1
Brick 
we will build Simple blog in HTML CSS JS and Jquery which can fall under JS category 
lets start by Marking it up 

Code:
<html>
  <head>
      <link rel="icon" href="assets/icons/derp.jpeg" type="image/jpeg" sizes="16x16">
              <meta charset="utf-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>Derp Blog</title>
    <link rel = "stylesheet" type = "text/css" href = "style.css" />
  </head>
  <body>
<!-- The sidebar -->
<div class="sidebar">
  <a class="active" href="index.html">Home</a>
  <a href="faceboob.html">Facebook News</a>
  <a href="about.html">About</a>
</div>

<!-- Page content -->
<div class="content">
HOME PAGE
<div class="post1">
    <p> welcome to my simple blog its simple for sure ?</p>
    <p> well help yourself here am just expressing how much derps exist in this <i>BEEEEEEEB</i> world ?</p>

     </div>
</div>


  </body>
</html>

here we added simple sidebar and the
Code:
<div>
 tag defines a division or a section in an HTML document and is used as a container for HTML elements which is then styled with CSS or manipulated with JavaScript and easily styled by using the class or id attribute as we here using the class 


Code:
<link rel = "stylesheet" type = "text/css" href = "style.css" />

the link tag here used to simply link my css file that contains my CSS codes to get applied during the page load and it should be between the 

Code:
<head> </head>
 
tags or it will not work 


Code:
<meta name="viewport" content="width=device-width, initial-scale=1">
this meta tags here used to make the page responsive on mobile phones or small screens by scaling the page for it 


Code:
<link rel="icon" href="assets/icons/derp.jpeg" type="image/jpeg" sizes="16x16">
the link tags here used to link my favicon which you can see at the right of browser tab as small icon 


Code:
<a class="active" href="index.html">Home</a>
are anchor tags they used to link a page on the website ... in nutshell 
while the active class is when you select home page from CSS you will define the background color and text color of the selected 
page in the sidebar or navigation bar 


Code:
<p> welcome to my simple blog its simple for sure ?</p>

tags are the paragraph tags just add text in between to be seen in the bag 




Code:
<i>BEEEEEEEB</i>
  tags that showing text in ITALIC font 
Reply


Messages In This Thread
Marking UP the Blog in HTML5 - by Derp - 08-29-2020, 08:51 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Creating hyperlinks in HTML5 Qomplainerz 0 801 07-27-2023, 01:23 PM
Last Post: Qomplainerz
  What's new in HTML5? Qomplainerz 0 529 07-27-2023, 12:48 PM
Last Post: Qomplainerz
  What is HTML5? Qomplainerz 0 499 07-27-2023, 12:43 PM
Last Post: Qomplainerz
  Everything you need to know about HTML5 Qomplainerz 0 518 07-25-2023, 09:50 AM
Last Post: Qomplainerz
  Multi Line Comments in HTML5 Qomplainerz 0 1,898 02-21-2021, 07:00 PM
Last Post: Qomplainerz
  Single Line Comment in HTML5 Qomplainerz 0 1,785 02-21-2021, 06:58 PM
Last Post: Qomplainerz
  HTML5 Doctype declaration Qomplainerz 0 1,807 02-21-2021, 12:35 PM
Last Post: Qomplainerz
  Basic layout of a HTML5 document on a server Qomplainerz 0 1,833 02-21-2021, 11:38 AM
Last Post: Qomplainerz
  Forcing the browser to read the basic HTML layout as HTML5 Qomplainerz 0 1,795 02-21-2021, 11:22 AM
Last Post: Qomplainerz

Forum Jump:


Users browsing this thread: 2 Guest(s)