Combine HTML and XHTML in your Head tag without errors
bfaschat
1 Tuesday 10,May/2016 2:34 pm
HTML or HTML5 as its now called stands for Hyper Text Markup Language which is the language for building web pages. In web development we encounter stiff problems like debugging, coding, cracking and keeping the system functioning well. Having time to code beautiful sites on the web needs a lot of time and sacrifices.

[img]http://bfasimg.xtgem.com/head.jpg[/img]


Today an going to be teaching a technique on how to use or apply HTML5 tags in your wapka site without seeing any errors.

If you source code my site http://bfaschat.com you will see tags like this


<link rel="sitemap" href="sitemap.xml" title="Bfaschat Inc Sitemap"/>
<link rel="shortcut icon" href="http://getbootstrap.com/favicon.ico" type="image/x-icon">
<link rel="icon" href="http://shapebootstrap.net/demo/html/corlate/images/ico/favicon.ico" type="image/x-icon">



But we all know that wapka default ending is XHTML and it will show an error on your site.

How to achieve this to work?

Now in HTML a document must have a DOC type so what i mean is that in order for this to work you must use this in your headtag

[php] <!DOCTYPE html>[/php]

that should be the first thing inside your headtag then add this updated google ajax code immidiately below it meaning it will be the second code.

[php]
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.0/jquery.min.js"></script>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">[/php]

MAKE SURE TO REMOVE PREVIOUS AJAX CODE IN YOUR HEADTAG IF YOU WANT IT TO WORK ELSE IT WILL SHOW ERROR

As you can see i didn't close my tags but it works. The purpose of this code is to prevent errors when adding scripts and codes to headtag.

That is all and i hope that you did enjoy this post as i did so just share with anyone you care for and hit the like button below.

Thanks
Copyright: Bfaschat.com
[img]http://ethio-pic.tk/601029/601029420_2b90f9cfd4.png[/img]
8 Vote · Reply · Quote · Report

yohans tesfaye
2 Tuesday 10,May/2016 5:00 pm
Falling hurts alot but it make make stronger for next attempt.
Nice tut thank you. I have a question. can explain
what is the benefit of using html5 instead of xhtml on wapka?
[img]http://ethio-pic.tk/601029/601029420_2b90f9cfd4.png[/img]
11 Vote · Reply · Quote · Report

bfaschat
3 Wednesday 11,May/2016 2:24 pm
the main difference is that with HTML 5 you don't need to close the tag but for XHTML we must close it. you know too well that if you visit any site that is not wapka some tags are not closed and you may like the script on their site so if you copy it you can use it
[img]http://ethio-pic.tk/601029/601029420_2b90f9cfd4.png[/img]
8 Vote · Reply · Quote · Report

Userbaze
4 Sunday 11,December/2016 5:15 pm
good tut
[img]http://ethio-pic.tk/601029/601029420_2b90f9cfd4.png[/img]
0 Vote · Reply · Quote · Report

Userbaze
5 Sunday 11,December/2016 5:32 pm
[php]<!DOCTYPE html>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.0/jquery.min.js"></script>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
[/php]
i added it like dis and its said
Syntax error in HEAD tags!
[img]http://ethio-pic.tk/601029/601029420_2b90f9cfd4.png[/img]
0 Vote · Reply · Quote · Report


Add Comment
bolditalicunderlineimageurlcodephp
Name:

Content:

Preview ( 0)
: ..››..1
Name:

Content:

Name:

Content:

Name:

Content:

Name:

Content:

Name:

Content:

Name:

Content:

Download Bollywood full movie for free
Download Android Game for Free
Android Games  Shareit  Vidmate  more