The Best Cyprus Community

Skip to content


html code help

Anything related to the Internet, computers and technology in general.

html code help

Postby Lordo » Sun Jan 29, 2017 5:30 pm

i want to add a meta tag that says cyprus is great on to a web page

what is the code for this. if anybody can help there is a glass of zivania in it
User avatar
Lordo
Leading Contributor
Leading Contributor
 
Posts: 21470
Joined: Wed Oct 05, 2011 2:13 pm
Location: From the river to the sea, Palestine will be free. Walk on Swine walk on

Re: html code help

Postby Get Real! » Sun Jan 29, 2017 5:53 pm

If you mean the website description that appears in search engines then use this...

<meta name="description" content="Cyprus is great!">

If you mean the title that appears at the top of a website then use this... (choose size)

<h1>Cyprus is great!</h1>
<h2>Cyprus is great!</h2>
<h3>Cyprus is great!</h3>
<h4>Cyprus is great!</h4>
<h5>Cyprus is great!</h5>


If you mean just text to appear anywhere on the site, then use this...

<div style="position:absolute; left:200px; top:300px;">Cyprus is great!</div>
User avatar
Get Real!
Forum Addict
Forum Addict
 
Posts: 48333
Joined: Mon Feb 26, 2007 12:25 am
Location: Nicosia

Re: html code help

Postby Lordo » Sun Jan 29, 2017 8:14 pm

Thaks for that gr
Sorry I did not word my question very well

I don't want the text to appear on the web page. What I want is when people type the phrase cyprus is great for search on their search engine for the web page to appear in the list delived by the search engine.
User avatar
Lordo
Leading Contributor
Leading Contributor
 
Posts: 21470
Joined: Wed Oct 05, 2011 2:13 pm
Location: From the river to the sea, Palestine will be free. Walk on Swine walk on

Re: html code help

Postby kmwit » Thu Apr 27, 2017 10:29 am

so you want this in the keywords for search engine to find this but not only there but also in the poage content as google and others will check you have this in relation to your website.
This being said your website may not list with just this in the search results - this is down to popularity of your website.
Adding this to a website does not guarantee results.
User avatar
kmwit
New Member
New Member
 
Posts: 5
Joined: Thu Apr 27, 2017 9:58 am

Re: html code help

Postby Lordo » Sat May 06, 2017 8:48 pm

kmwit wrote:so you want this in the keywords for search engine to find this but not only there but also in the poage content as google and others will check you have this in relation to your website.
This being said your website may not list with just this in the search results - this is down to popularity of your website.
Adding this to a website does not guarantee results.

i dont expect any gurantees i just want to improve the hit rate. the only way to guarantee is to pay google and advertise. but my subject matter is so specialist that it is not a problem, just improving a little will cause it to be listed in the firat page instead of the 10th page.
User avatar
Lordo
Leading Contributor
Leading Contributor
 
Posts: 21470
Joined: Wed Oct 05, 2011 2:13 pm
Location: From the river to the sea, Palestine will be free. Walk on Swine walk on

Re: html code help

Postby Get Real! » Sat May 06, 2017 10:14 pm

Lordo wrote:i dont expect any gurantees i just want to improve the hit rate. the only way to guarantee is to pay google and advertise. but my subject matter is so specialist that it is not a problem, just improving a little will cause it to be listed in the firat page instead of the 10th page.

There are a lot of things you can do to help your ranking and probably just as many that can lower it.

The rules (read fashion) also change over time. For example… at the moment if your site is “mobile friendly” it tends to elevate your ranking (as daft as it is) so by adding the following it should help…

<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=1.0">


<meta name="HandheldFriendly" content="true">


In your CSS section something like this helps… (I just pulled this out of my website as an example but you’ll have to modify it for your classes…)

@media screen and (max-width:799px){
.InfoBox{display:none;}
.LogoBox{left:0.5%; top:0.5%; height:98.5%; width:98.5%;}
.LogoFlower{width:50px; height:50px;}
.ImgBox{display:none;}
.TitleStyle{font-size:35px;}}


So basically, you need the “@media” bullshit to specify styling on small screens to help elevate your ranking.

Some people also add similar printer-related info but I can’t be bothered.

But… at the end of the day money talks and bullshit walks. Amazingly my browser always comes up in the top 3-4 entries so I’m happy for achieving that without spending a dime. :lol:

Anyways, good luck with everything.
User avatar
Get Real!
Forum Addict
Forum Addict
 
Posts: 48333
Joined: Mon Feb 26, 2007 12:25 am
Location: Nicosia

Re: html code help

Postby Sotos » Sat May 06, 2017 11:12 pm

To get a high ranking for specific key-phrase you first need to optimize your page. The basic thing to do is (1) the title should be "Cyprus is Great", (2) the main heading (h1) should be "Cyprus is great", and then (3) you could add that phrase 1-2 more times in the text of your document (but don't overdo it). Example:

Code: Select all
<!doctype html>
<html>
    <head>
        <meta charset="utf-8">
        <title>Cyprus is Great</title>
        <meta name="viewport" content="width=device-width, initial-scale=1">
    </head>
    <body>
        <h1>Cyprus is Great!</h1>
        <p>Blah blah blah .... Cyprus is great ... blah blah blah</p>
    </body>
</html>


Secondly you need other websites to link to your website using the anchor text "Cyprus is great" and variations of that:

Example:
Code: Select all
Check out this new website to learn why <a href="https://www.lordos-website.com">Cyprus is great</a>.


The more websites linking to you, especially those linking to you using that and similar key-phrases, the higher you will rank. Links from major websites with a lot of authority have a lot more weight than links from small websites. Keep in mind that links in comments and forum posts usually don't count since most systems add a rel="nofollow" tag on the links to discourage spammers. It also helps if your domain is cyprus-is-great.com (or similar) because very often the domain is used as the anchor text, so in this way you will get more links with the anchor text of your preferred key-phrase.
User avatar
Sotos
Leading Contributor
Leading Contributor
 
Posts: 11357
Joined: Wed Aug 17, 2005 2:50 am

Re: html code help

Postby Get Real! » Sat May 06, 2017 11:38 pm

Lordos' website seems to be down... :?

https://www.lordos-website.com/

He must be working on it... :lol:

Lordo.png
You do not have the required permissions to view the files attached to this post.
User avatar
Get Real!
Forum Addict
Forum Addict
 
Posts: 48333
Joined: Mon Feb 26, 2007 12:25 am
Location: Nicosia

Re: html code help

Postby Lordo » Sun May 07, 2017 2:09 am

Get Real! wrote:Lordos' website seems to be down... :?

https://www.lordos-website.com/

He must be working on it... :lol:

Lordo.png

ise delya gubronosmenos gavole

in the mean time thanks for all the help to all it is appreciated.
User avatar
Lordo
Leading Contributor
Leading Contributor
 
Posts: 21470
Joined: Wed Oct 05, 2011 2:13 pm
Location: From the river to the sea, Palestine will be free. Walk on Swine walk on


Return to Internet, Computers and Technology

Who is online

Users browsing this forum: No registered users and 0 guests