Skip to main content

Chapter -4 Page Layout in HTML - Technology369kk

 

Creating Page Layout

  • When we use the right tag in right place, it result in a better page layout, better indexing by search engine and better uses experience this is the most important point attributes in HTML.
  • So Following the tag for the better job in HTML the create a page layout. 
<header>
    <main> //Contains nav tag websites layout
        <footer>


  • Inside the main tag we insert the following tags:-
<main> The main opening tag
    <section> A Page section
        <article> A self-contained content
            <aside> Content aside from the content , eg ads etc.
</main> The main closing tag


  • Creating a page like this is not necessary but creates a readers & structure layout also they are useful for CEO.

   Like Attributes:

<a href="https://technology369kk.blogspot.com/">Contect us</a>
//Contect page opening in same tab

<a href="https://technology369kk.blogspot.com" target="_blank">Contect us</a>
// Open in new tab

  • We can put any content inside an anchor tag (image, heading etc are all allowed)
  • If the page is inside a directory, we need to make sure that to the content page(Same applies to image tag as well)

<a href="https://technology369kk.blogspot.com" target="_main">
    <image /img src="mypic .JPG" alt="Create New Line for visit websites with pic " width="500" </a> <br>
        When access image in directory

  • We can add links to image like this :


<a href="https://technology369kk.blogspot.com" target="_main"> <img src="mypic .JPG"
        alt="  Create New Line for visit websites with pic " width="500" </a> <br>
    <!-- Height will be set automatically arange  -->


The div tag :- 

  • div tag is often used as a container for other elements div is a block (always takes full width or place)of level elements 

The Span Tag :-

  •  Span is an inline (Takes as much width or place as necessary )container 


Practice Set - 4: 

  • Q1. Create an SEO Friendly websites using HTML.

<p> <b>Q1. Ans:- </b> </p>
<header>
 <!-- THis is Header include  -->
</header>
<main>
    <section></section>
    I am section tag
    <section></section>
<!-- THis is a main body of websites -->
    <aside>
        <div></div>
    </aside>
</main>
<footer>
    I am footer in semantic tag
</footer>


  • Q2. Create an HTML page which opens google when clicked an image.


<p> <b>Q2. Ans:- </b> </p>
<a href="https://technology369kk.blogspot.com" target="_main"><img src="image/mypic .JPG" alt="Your work doesn't work"
        width="150"> </a>


  • Q3. Create a website which has your 5 top used websites bookmarked. The links should open in a new tab.
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <p> <b>Q3. Ans:- Enter your Social Media Site manimum 5 links </b> </p> <br>
    <header>
        <li>Home</li>
        <li>About Me</li>

    </header>
    <a href="https://Facebook.com" target="_main">Facebook </a> <br>
    <hr>

    <a href="https://Instagram.com" target="_main">Instagram </a> <br>
    <hr>

    <a href="https://Twitter.com " target="_main">Twitter </a> <br>
    <hr>

    <a href="https://google.com" target="_main">google</a> <br>
    <hr>

    <a href="https://technology369kk.blogspot.com" target="_main">Blog</a> <br>

    <hr>
    <a href="https://YouTube.com" target="_main">YouTube </a><br>
    <hr>
</body>

</html>





Let's see the next chapter in details: 

Comments

Popular posts from this blog

Assignment of ITA/ Information Technology and Application BCA- Technology369kk

Q1. What is  computer Explain basic computer architecture and Difference components.  2. Discuss the use of memory in computer system, Explain memory hierarchy  in details. 3. What is software? Explain difference types of software with explain. 4. Write short notes on the given:- (I) Internet. (II) LAN (Local area network ) (III) Search engine (IV) Web browser  Q 1.What is computer Explain basic computer architecture, Difference components of computer.   Computer :- Computer is defined as an electronic device that takes input data and instructions from the user and after processing them, it generates useful and desired output quickly.   A computer is designed to execute applications and provides a variety of solutions through integrated hardware and software components.                            It is fast and automatic device. It works with the help of programs and represents the d...

C++ and Java Practical All Questions Answers - BCA -Technology369kk

C++ and Java  In this post see most important questions for practical questions given by college all questions with answers . Guys I want to say that this is only for suggested post for your practical please request to you change same alphabets, words or anything  methods name and variables name because if you write all words same then this is copy paste for another peoples.  Used Topics:  Keywords, Variables, Condition Statements, Function , Array, Structure, Pointer.                           In OOPs, Class and Objects, Constructor, Poly morph, Encapsulation, Access Specifiers,                               Inheritance etc.  So, Without Time Lose Come to the Points, let's go start Now:        *************************************************************************  C++ 12 ...

Assignment of PMO (Principal of Management and Organization) - Technology369kk

 ** Assignment Of PMO ** Agenda: -  4 Questions discuss in this post. Question 1. Write a d etails note on selection why it Called. negative process.  Question 2. Write a details note on 'span of control. Question 3. Planning is an essential process, do you agree ? Discuss  Question 4. Write a note on management function. Q 1. Write a d etails note on selection why it called negative process.  Ans :-  Selection is the process of choosing the most suitable candidates out of the several candidates available.          Selection is a negative process because there may be more rejected then those selected in most of the candidates that is called selection is a negative process. → Selection process has the following steps:-  [ A .] Screening of applicants - Based on the screening of applicants only those candidates. It Called further process of selection. Who are found eligible for the job Standards of the the organization. [ B .] S...