HTML (HyperText Markup Language) is the predominant markup language used for creating web pages. In modern web pages, HTML is used to markup the contents of the website, while CSS and Javascript are used to define the styles and behaviors respectively.

learn more… | top users | synonyms (1)

3
votes
2answers
202 views

How can you have a hotel to have a Schema.org rating based on the hotel star rating system?

How would you write microdata for hotels with ratings classified as "1-star" to "5-star" hotels? Looking at http://schema.org/Hotel, I see no "Rating" property but only an "aggregateRating" one which ...
8
votes
3answers
410 views

When using a stacked font-family, what does the browser use when NONE of the specified fonts are present?

Simple HTML code example: <p>font family</p> Simple CSS code example: p { font-family: Arial, Helvettica, sans-serif; } Browser looks for Arial Arial is not present then it ...
1
vote
2answers
122 views

Difference between px and em in html5 [closed]

Check this sample code <p style="font-size:30px">HTML</p> <br> <p style="font-size:30em">HTML</p> What is the difference between em and px ? In which place should I ...
1
vote
1answer
21 views

How to properly make a custom 404 page in apache2

My .htaccess ErrorDocument 404 http://www.mywebsite.com/error_404.php My error_404.php header <?php header("HTTP/1.1 404 Not Found");?> Redirection works well but it seems like this ...
2
votes
2answers
64 views

Header Tags with image and SEO

Is this bad for SEO? The designers came up with it. Basically there is an icon next to each Header Text. So for each page and the respective header there is an icon associated with the page. ...
4
votes
1answer
108 views

SEO and the use of ellipsis CSS property

I have a Q&A service and in every question details page, there is a section named "related questions". Every question in there has the title and the initial lines of the answer. We are limiting ...
2
votes
2answers
43 views

Will googlebot misinterpret my site if I had no spacing between anchor tags?

Some sections of my website involve displaying a list of photo thumbnails. The source code to that is similar to the following when condensed: <div> <a href="1">1</a> <a ...
2
votes
1answer
33 views

Can I create a MediaWiki without Wiki Syntax (only HTML)?

My company likes to use a MediaWiki. But they are using special WYSIWYG editors (CKeditor) with special parsing algorithm to transfer HTML to WikiSystax. Is there a way, to include other editors ...
3
votes
3answers
192 views

Using PHP inside .html files not working as expected

Apache2, Linux, php5 I have added this line to my .htaccess file AddType application/x-httpd-php5 .htm .html running apace2ctl -m, shows this module loaded A php5_module (shared) I have a ...
1
vote
0answers
24 views

How to do SEO for dynamically loaded videos

I got an vimeo-video which is loaded into an overlay-div, if the user clicks a button. How can I provide SEO on my website for the dynamically inserted video-iframe? Can I just meta-tags in the markup ...
1
vote
2answers
52 views

Importance of minimal markup on a page?

Having minimal HTML on a page used to be believed to be a ranking factor (not necessarily a huge one, but still something). For example, Moz.com's 2013 SEO study assigned a degree of value to "Total ...
1
vote
2answers
44 views

Forcing page-speed insights to rescan my page

I'm trying to get google to rescan my page at page-speed insights. After the initial scan, I get results along with the following at the bottom: *The results are cached for 30s. If you have made ...
4
votes
2answers
99 views

Should URLs with UTF8 characters be encoded in HTML?

I'm thinking of names and stuff containing accented characters. E.g.is there a difference between: <a href="http://example.com/thing?name=forêt">link</a> and <a ...
0
votes
0answers
47 views

If I used CSS to size an image, would google understand the new size?

Say I have this html code (replace x and y with actual numbers): <html> <head> <style> IMG {width: 100%;height: auto; max-width:xpx; max-height:ypx;} </style> ...
2
votes
1answer
87 views

A large image placed at top of page causes page-speed insights to complain

I made a site that's basically a site asking people to vote for a person and the first page mostly shows a picture of a person which is what the site is about. Most of the text is underneath and ...
-5
votes
3answers
194 views

what does the <hr /> tag do in wordpress?

I saw that using <hr /> before and after some content sort of lifts the content. Could anybody share what does the tag do and does it come/have antecedent from HTML 4.0 or is a tag ...
0
votes
2answers
36 views

Is it ok to use HTML comment in order to remove a meta directive?

I am working on this new site, and the original creator used meta keywords. I want to remove them but for various reasons it cannot be done through PHP. Long story. The easiest way to remove them is ...
0
votes
0answers
20 views

Repeated site content in multiple php pages [duplicate]

I have 3 pages: a.php <p id="block1">text1</p> b.php <p id="block1">text2</p> c.php <? include('a.php'); include('b.php'); ?> So, we have access to ...
3
votes
2answers
68 views

Getting Google to index main section instead of nav in SERPs

I have a problem here where Google shows my <nav> instead of my main section in the SERPs. On top of that, because my nav is made up of inline elements, the result gets really messy: ...
3
votes
1answer
233 views

XSRF Error when link is opened via an <a> tag with target attribute set to “_blank”

I've run into a peculiar bug that I have not faced before. I can provide any details that are needed but I'll try to be as generic as possible. We have a intranet portal that links off to other ...
1
vote
0answers
58 views

checking for duplicate title and meta description tags across multiple subdomains

I know in Google Webmaster Tools, under "search appearance" for any domain, there's an "HTML Improvements" section which only checks crawled URLs specifically for that domain. My website has ...
1
vote
1answer
53 views

For a given web page, what is the order of appearance in the HTML code for SEO?

In terms of SEO, we typically want to put the most important content as near to the top of the HTML code as possible. This means that the order of visual appearance will differ from the order of ...
0
votes
1answer
89 views

HELP! my login session is returning the users password instead of their username! [closed]

I have my code set up to display the username in the nav bar however its displaying their password? nav.php <li> <a href class="userName"><?php echo ...
0
votes
1answer
119 views

Can ContactPoint markup be made with Microdata or only JSON?

I read this question, How to define phone types using Schema.org, but it uses JSON. And then Google's Instructions for Corporate Contacts uses JSON and finally Schema.org Contactpoint only shows ...
0
votes
1answer
18 views

Why use meta for some Schema markup?

I don't quite understand why some Schema.org examples use <meta> instead of say <span>. For example: <meta itemprop="startDate" content="2016-04-21T20:00"> Thu, 04/21/16 ...
0
votes
1answer
50 views

optimal cache setting for dynamic page

My webpages on my website may appear static to the user, but they're actually dynamic since data is retrieved from a database and may be changed at anytime. Additionally, users may customize some ...
0
votes
0answers
16 views

Multiple touchscreen setup/display

I hope this is in the correct SE area. I have been tasked with designing a touchscreen interface for multiple display screens. I have successfully designed this using html, css & php (a simple ...
1
vote
2answers
55 views

Is there a way to mark unusual words as spelled correctly so search engines don't think the site has poor spelling?

I want to know how to indicate a particular word or work is not spelt incorrectly. Spelling does affect SEO but the common spellcheckers usually come up with around 10-20 errors per page, but these ...
3
votes
2answers
117 views

Is it against Google's policies to have an AdSense advertisement in an HTML table?

On my site, I have a section where people can view a large image along with a few options underneath it. I placed each option in its own table cell and I reserved one table cell for the advertisement. ...
4
votes
3answers
154 views

Which element (h2, p, em) for this text? (SEO vs. correct formatting)

What is the correct tag to use in the middle section of the image below, keeping in mind correct site structure and SEO? There have been some discussions and these are the arguments I have heard: ...
0
votes
0answers
18 views

Is it okay to have multiple <h1> tags on a single page? [duplicate]

I have a product category page and if user clicks on that category he/she will be taken to the products page that are available in that specific category. Now, while users is on product listing page, ...
0
votes
1answer
81 views

Using the <strong/> tag as a call to action

I'm creating a subscription page and there are four packages available for purchase. At the bottom of the package description there's a button link to Learn More about the package. In general, is it ...
0
votes
1answer
55 views

Is it good to have HTML tags between anchor tags?

The code used is: <a href="%viewurl%?download=%title%"><div class="m"> <table><tr><td width="104px"><img class="thumb" src="%thumburl%" height="100px" width="100px" ...
1
vote
2answers
29 views

Semantically labelling the author/creator of an object

I have a page where the object (music album) is the main focus. Directly underneath the title of the album is the artist of the album. Semantically I'm debating what would be the most appropriate tag ...
0
votes
0answers
10 views

multiple iFrame embedding [duplicate]

I've got a single page on my blog for the pdf publications embedded from sites like Issuu.com Each of these publications is embedded using the iFrame. These are slowly piling up and I will very ...
2
votes
2answers
118 views

Can img alt tag replace only one word and have good SEO optimization?

I've seen that it is OK to have <img alt="Company name" src="path..."> in, for example, h1 tag and still look like "Company name" (like tekst) in search engines. My question is can we use it to ...
0
votes
0answers
77 views

Does image dimensions outside image tag also slow page loading?

I am using height and width for images in css before img tag (css in same page header) so I think there is no need to set dimensions in img tag. But when I checked speed in different online tools, ...
2
votes
3answers
38 views

Custom Advertisement above website content. Proper standard semantic format wanted

Until recently, my website was following proper semantic standards with H1 tags before H2 and H3 tags. Now, on my site I was asked to put an advertisement of a festival for the owner at the top of ...
1
vote
1answer
29 views

Is `<wbr></wbr>` the same as `<wbr>`?

When viewing the source of a website I realized that it is different in Firefox and Chrome. A single tag <wbr> in Chrome is displayed as <wbr></wbr> in Firefox. Are they the same? ...
1
vote
2answers
39 views

Character coding on Tumblr: how it affects SEO?

So I have a blog on Tumblr I use with my own domain name. I started it to try out how can I SEO it on my own money so I can learn new stuff. So far so good. As I started to use HTML edit mode on ...
2
votes
2answers
158 views

Maximizing Structured Data (Schema.org) in an Artist's Page

For a very long time I've been trying to make use of microformats, microdata, and general markup enhancements for SEO purposes. Lately structured data is really starting to "take" and I would like to ...
0
votes
0answers
33 views

Is text in a link crawable

I have a product box that is encapsulated in a hyperlink so that the entire box is clickable. Within this box I have text about the product (e.g. product name, price, etc). However, as the text is ...
0
votes
1answer
49 views

Do I really need to support older browsers?

When an automatic update hits Windows, it updates all software to the latest, stable version. When you update Linux, it does the same. Why should I worry about writing code for older browsers when ...
3
votes
2answers
214 views

Images as hyperlinks and SEO implications

I manage several websites, one of which is an e-commerce site with a lot of images. At the top of some product category pages, there are image links to specific products (think image banners). I am ...
0
votes
1answer
46 views

What technologies do i need to learn to make a blog? [closed]

I am making my first website which will be my personal blog. My main purpose to make this is to learn website development. I know a fair amount of HTML, CSS and JavaScript. I understand these are all ...
2
votes
1answer
32 views

After change to new software stack, Chinese pages require setting encoding in browser

We changed to a new server with a completely upgraded software stack, including apache 2.4 and php 5.6.9. We have a page in Simplified Chinese. On our old server (apache 2.2, php 5.3.5), the pages ...
1
vote
1answer
137 views

Must the image url in a sitemap file begin with the same domain the file is stored on?

I remember when making a sitemap, all URLs defined in between <loc> and </loc> must be part of the same domain as the domain the file is stored on. For example, I can use this line in my ...
0
votes
1answer
32 views

I had loaded my index.html on webserver previously. Now as I am replacing it with the new index.html, the changes are not showing up now

I used the filezilla client to delete the index.html from webserver and upload the new one. P.S. When I open the domain, I can view the previously loaded index.html now. I tried to hard reload. But ...
3
votes
1answer
185 views

Does Google index images declared using 'srcset'?

As of Chrome 40, the srcset attribute is supported, but will Google index the images within it?
0
votes
2answers
958 views

How to trace origin of script injected in my webpage

I was looking through a static site I created on my local server, in my web browser, and found a curious call to an external script <script ...