HTML

58K

Solutions

30K

Contributors

HTML (HyperText Markup Language) is the main markup language for creating web pages and other information to be displayed in a web browser, providing both the structure and content for what is sent from a web server through the use of tags. The current implementation of the HTML specification is HTML5.

Share tech news, updates, or what's on your mind.

Sign up to Post

Hi, I hope I can explain this well enough.

My folder structure looks like the attached. In each folder, I have src/pages, results, dev/gulp.

pages contains the nunjucks files, results are the resulting html files from running gulp nunjucks, and dev/gulp is where the gulpfile.js is.

When I want to make a change across the board, say to the navigation, I have to use the command line to go into each folder, gulp nunjucks, upload, then back out by changing directories, navigate to the next one, gulp nunjucks, and on through all 13. So my command line looks like the attached.

Can you help me find a way to speed that up?
Capture.JPG
cmd.txt
0
Free Tool: SSL Checker
LVL 9
Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

I have a modalPopupExtender control with a Panel and inside the Panel I have an iFrame thats source is another form. This is the way my boss wanted it done. So in the other form where I have 3 different html tables. So whenever this form gets called up it will know which table  should be visible and which should not. This is all fine. My only problem is resizing my panel and iFrame. When the modalPopupExtender gets called the iFrame is either too big and the Panel too small or vice cersa. Now, in my calling form I have a procedure that checks the browser and sets the height accordingly(the width of the iFrame is set to 95% and that, for some reason, works?? But the height is my nemesis and, like I said, depending on which html table will show is dependent on the height that should be set.
This CANT be so hard that I have to deal with major gaps in my form/popup. It looks horrble. I have attached a pictures of the 3 different heights I need and Im hoping that someone can let me know what Im doing wrong and an easy way to go about fixing it...

FYI, the 3 pics I have attached are in IE and they are worse in the other browsers.
I can deal with 1 and 3 but the 2nd pic attached is unacceptable....

Thanks in advance....And anything needed from me please ask and I will send it right over

PLEASE HELP ME!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Problem 1Problem 2Problem 3
0
Hi. I'm trying to re-use a bit of code on my site but am struggling to get it to do what I'd like it to do. I want to have a semi transparent white background around my text for a new section ID on my homepage. It's working for the Header section ID - with the following set up in the CSS styles file:
#header .header-left{
 background:rgba(255,255,255,0.5);
 padding-top:30px;
 margin-top:80px;
 border-radius:10px;
 }

Open in new window


I think this is a class of the section ID header , which has the following criteria set up in the CSS styles file:
 #header{
 background:url('../img/frontimage.jpg') center center no-repeat;
 background-size:cover; /*used to cover the entire page*/
 height:100%;
 color:#000000;
 display:flex;
 align-items:right;
 }

Open in new window


It is implemented in the HTML like this:

<div class="col-md-6 header-left">
<h1>Orangutan Japan</h1>
<br />
<h4>Teach English in Japan</h4>
 </div>  

Open in new window


I want to create the same thing for my contact section ID

I have set up the following in the CSS Style Sheet:
 /*CONTACT*/
 #contact{
 background:url('../img/people.jpg') center center no-repeat;/*Image we display in the header - top part of the webapge*/
 background-size:cover; /*used to cover the entire page*/
 height:100%;
 color:#000000;
 display:flex;
 align-items:center;
 padding:5rem 0;
}

 #contact .boxy{
 background:rgba(255,255,255,0.5);
 padding-top:30px;
 margin-top:80px;
 border-radius:10px;
}

Open in new window


And I tried to implement in the HTML like this:
<div class="container text-xs-center">
	 		 <div class ="row">
	 	 	   		<div class ="col-md-12 boxy">
						
						<h1>Contact Us</h1>
						<hr width="30%">
			  			<br><br>
						<h1><a href="contact.php">Get in touch</a></h1>
						<p><a href="contact.php">Contact us at OrangutanJapan</a></p>
			
     				</div>	
			  </div>
		
 </div><!--end the container -->  

</section>

Open in new window


But it doesn't work and I don't get the background around the text (I don't get anything). Is there something obvious I'm not doing correctly? I've been playing around with it for three hours now and can't seem to configure it correctly.
Any help would be greatly appreciated.

Many thanks.
0
Hi there.

I moved a website with classic asp/VB/Javascript/MySQL from a standard webhotel to a dedicated server with SQL Server and all the asp/asp-net etc.. A page that used to work stops with this error in the F12 debugger:

HTML1527: DOCTYPE expected. Consider adding a valid HTML5 doctype: "<!DOCTYPE html>".
web_login.asp (1,1)

I always - with no issues so far - had these lines around the <head>-tag:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" href="css/style.css" type="text/css">

Any wrong stuff here or things I should edit to get rid of the error? It's a login page, and it's after I post a login that I just get a blank page with the HTML1527 error.
I hope someone can help me. :-)

Best regards

Ulrich
0
I have a website with a link back to a YouTube video.  I have various other you tube videos on the website that show without a problem.  I recently loaded anew one and got this message. It only shows in Explorer.  No message in chrome.  Just a blank space.

http://www.kingjames3music.com/artist-epk.html



This content can’t be shown in a frame
There is supposed to be some content here, but the publisher doesn’t allow it to be displayed in a frame. This is to help protect the security of any information you might enter into this site.
Try this

Here is the code.

<div class="videos-container">
          <div class="col-md-12">
          	<iframe class="videos-item-lg sec-q-pad-b" width="854" height="480" src="https://www.youtube.com/watch?v=bmHX722dY8g&feature=youtu.be" frameborder="0" allowfullscreen></iframe>
            
            
            
          </div>

Open in new window

0
Hello, Experts,

I built a PHP script that queries a database and outputs the results in JS/HTML form. If you could review the code below, I need help how to make the result field URL clickable.

Example:

Name: John Doe
URL: http://google.com

When results display for John, he is able to see the result set for his name and click on http://google.com

Let me know if you need further clarification.

<?php
//fetch.php
$connect = stuff
$output = '';
if(isset($_POST["query"]))
{
 $search = mysqli_real_escape_string($connect, $_POST["query"]);
 $query = "
  SELECT * FROM emp_details 
  WHERE dept LIKE '%".$search."%'
  OR fname LIKE '%".$search."%' 
  OR lname LIKE '%".$search."%' 
  OR pkid LIKE '%".$search."%' 
  OR url LIKE '%".$search."%'
 ";
}
else
{
 $query = "
  SELECT * FROM emp_details;
 ";
}
$result = mysqli_query($connect, $query);
if(mysqli_num_rows($result) > 0)
{
 $output .= '
  <div class="table-responsive">
   <table class="table table bordered">
    <tr>
     <th>pkid</th>
     <th>fname</th>
     <th>lname</th>
     <th>department Code</th>
     <th>url</th>
    </tr>
 ';
 while($row = mysqli_fetch_array($result))
 {
  $output .= '
   <tr>
    <td>'.$row["pkid"].'</td>
    <td>'.$row["fname"].'</td>
    <td>'.$row["lname"].'</td>
    <td>'.$row["DEPT"].'</td>
    <td>'.$row["url"].'</td>
   </tr>
  ';
 }
 echo $output;
}
else
{
 echo 'Data Not Found';
}

?>

Open in new window

0
I had this question after viewing Need If Logic Help That Assigns Different Unique Values.

On the earlier question
// simulate your post
$post = array('illness','fruits');

Open in new window

 these questions are selected manually but I need them to be dynamic based on the users form input.

I have read that if a checkbox isn't selected no values are transmitted but it seems I have something miscoded in my code.  

I thought this line for the immune column
// simulate your post
$post = array('illness','difficulty','odor','antibiotics');

Open in new window

would only produce the value of 3 if I checked the illness question.  Instead it gives a value of 7.  3 for illness + 3 for antibiotics and 1 for difficulty.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
 "http://www.w3.org/TR/html4/loose.dtd">

<html>
<head>
<title>Count Checks</title>
</head>
<body>
<h1>Count Checks</h1>
<form method="post">
General Health & Vitality<br />
Please check all that apply<br />
Illness More Than Twice A Year:<input type="checkbox" name="illness[]" value=""><br />
Monthly Female Concerns:<input type="checkbox" name="female[]" value=0><br />
Difficulty Digesting Certain Foods:<input type="checkbox" name="difficulty[]" value=""><br />
Body Odor and/or Bad Breath:<input type="checkbox" name="odor[]" value=""><br />
Recent Or Frequent Use Of 

Open in new window

0
Oh dear experts
how to achive this

 mm.Body = Session("uno") & uno & "-" & dos & Session("dos") "< br />" Session("tres") & tres & "-" & cuatro & Session("cuatro")

Open in new window


regards!
0
hi all i cant get the cc to my cod, mark error in the cc line,
any advice for add cc!
regards you experts

 Dim mm As New MailMessage("info@talssdssfesms.com", txtEmail)
        mm.Subject = "Registro Quiniela NFL"
        mm.Body = "Username:  " & username & "<br /> Password:  " & password & "<br /> "
        mm.CC= "sdjsdssj@gmail.com"
        mm.IsBodyHtml = True
        Dim smtp As New SmtpClient()
        smtp.Host = "smtp.lisdspsa-indussdftrial.com"
        smtp.EnableSsl = False
        Dim NetworkCred As New System.Net.NetworkCredential()
        NetworkCred.UserName = "edeobadsdsldia@dsds-indsdsdustrial.com"
        NetworkCred.Password = "sdsdkksdskds"
        smtp.UseDefaultCredentials = True
        smtp.Credentials = NetworkCred
        smtp.Port = 25
        Try
            smtp.Send(mm)
        Catch ex As Exception
        End Try

Open in new window

0
Hi Experts, I'm using the code below to print data in div. However, I noticed that the approached would open other window and that be able to show other page to print or to save. My problem is that I could no longer run my web site once this window will not close. This Untitled page would stop me from re-running my site. Is there anyone who can explain me why this thing is happen? What's the solution to prevent this problem? Thanks!

function printData(id){
   var divToPrint = document.getElementById('Prolist-A34');
   newWin= window.open();
   newWin.document.write(divToPrint.outerHTML);
   newWin.print();
   newWin.close();  
}

Open in new window

0
What does it mean to be "Always On"?
LVL 4
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Hi,

I have the following code from w3school:
<form action="/action_page.php">
  <select name="cars">
    <option value="volvo">Volvo</option>
    <option value="ford">Ford</option>
    <option value="fiat">Fiat</option>
    <option value="audi">Audi</option>
  </select>
  <input type="submit">
</form>

Open in new window


How can I make this options in a drop-down list to be sorted in ascending/descending order?
0
Hi EE community, just wondering if anyone can help me solve this problem.  Is there anyway to temporarily disable a function or class, until re-enabled. For example, See code below, if the first 'edit' is clicked, how to disable the second/third 'edit' until it is re-enabled.

<a class="edit">edit</a>
<a class="edit">edit</a>
<a class="edit">edit</a>

$('.edit').click(function(e){
  e.preventDefault();
  // do something 
  // once complete re-enable function
});

Open in new window


Thanks!
0
I am getting this message when I load my website.     "WOOT WOOT, done!"
www.kingjames3music.com   What is this?  And how do I get rid of it?
0
oh men, i need to improve a plain web page,
Need to add a heder, a sidebar and a footer, please you experts any idea o examples or already done layer for translate my info

regards!
0
I am trying to center my icon.  I tried text-align: center, margin: 0 auto; position: absolute.  I don't know how to center the icon.  Can you help me?

Thanks
css.png
html.png
webpage-screenshot.png
0
I've converted HTML text with the Crystal formatting feature text interpretation, but some of the tags remain.  Example file is attached.  Is there anyway to remove these characters from the text in Crystal?  I've considered a replace formula, but I don't know how to get Crystal to recognize the dagger and double dagger.  Any help is very much appreciated.
Using Crystal Reports 2013.
76228--Progress-Note--12202016__exp.docx
0
I have this site: https://goo.gl/iwpDzp

I am having issues with the navigation drop down on touch devices only, IE: Dell Latitude E7250. To be clear, this does not include tablets or mobile devices, this problem only occurs when using these new hybrid laptop/touchscreen devices. When you "touch" an item in the navigation, nothing happens. The drop down navigation will not appear.

Navigation: https://www.dropbox.com/s/qsicl6h9knkixzq/Screenshot%202017-08-09%2017.16.10.png?dl=0
Example of screen: https://www.dropbox.com/s/0z4y7knf9var709/Screenshot%202017-08-09%2017.16.45.png?dl=0

I have searched high and low on how this can be fixed and cannot find a solution. Any help is appreciated.
0
Hi there, I have some code to define/use a font (from a file), however I want use multiple.

current code:
<html>
<head>
<style>
@font-face {
	font-family: "Futura BT";
	font-style: normal;
	font-weight: 400;
	src: url("ufonts.com_futura-md-bt-medium.woff");
}
p {
    font-family: "Futura BT";
}
</style>
</head>
<body>
<p>Hello World</p>
</body>
</html>

Open in new window


What I want to do is add more fonts from files, every time I add another (copying the existing code) all fonts default to Times Roman New.

Help?
0
Hi

Has anyone had any experience of exporting entire WordPress blog to html files

each post will have it's own folder named from 2 wp_terms entries
I need to grab the wp_terms associated with  the post and create metadata tags
all images and other post links will need to copied into its folder and the links made local

I suspect I'm going to need to write a custom script to do this

Any help with this greatly appreciated especially the  SQL to link the posts to the wp_terms

Thanx
0
WordPress Tutorial 2: Terminology
WordPress Tutorial 2: Terminology

An important part of learning any new piece of software is understanding the terminology it uses. Thankfully WordPress uses fairly simple names for everything that make it easy to start using the software.

I see Chrome has HTML 5 as it's preferred media utility.  I help with technology at a small Catholic school and I want to be able to head any conversion issues off.  Is there something I can do to prevent issues with Flash-based sites or will Chrome automatically adjust for me?

Thanks!
0
I'd like to think that there's an easy way to make one of Minicolors selectors readonly, but after googling for a while now, I can't find anything.

Here's a screenshot of what I'm trying to do. I'm betting there's someone out there who's been down this road before who can show me how to assert a "readonly" qualifier in the mix somewhere and get the desired affect.

Rock on!

This is what happens when you click on one of the color boxes. I would like one of the boxes (just one) to be read only so, although you get the box, when the user tries to click on it, they do not get the pallet that you see here.

Here's the way the HTML looks:

   <div class="row color-selectors">
			                    <div class="col s2 required">
			                        <label for="theme_header_bg">Header Background Color</label>
									<!--changed this value to a fixed #fffffff rather than allow user to change it and risk an unprofessional look when a logo with a white background is uploaded-->
									<!--value="{{ theme.ptHeaderBg }}"-->
[b]<!--this is the one that I want to be read only-->[/b]
			                        <input type="text" name="theme[ptHeaderBg]" class="field-color active" readonly style="color:#cccccc;" value="#ffffff">
			                    </div>
			                    
			                    <div class="col s2 required">
			                        <label for="theme_footer_bg">Footer Background Color</label>
			                        <input 

Open in new window

0
Hi EE,

How do I make the lines highlighted in the attached picture (pic 1) begin at the left of the respective cell? Code below:

<td class="infocell" onclick="uOutcome(4,1);">
			<li>Permanent harm unrelated to the natural course of the illness, loss of function and differing from the expected outcome of patient management or as a result of the incident:</li>
			<ul>
				- Significant disfigurement<br>
				- Patient at significant risk due to self discharge against medical advice<br>
				- Increased LOS  &gt; 6 days<br>
			<li>Long term high level care expected</li>
			<li>Immediate emergency treatment for life threatening event unrelated to the natural course of the illness</li>
			<li>Any matter with major harm and could potentially result in a claim</li>
			
			<ul><b>Serious Harm or Significant Events</b> include:
			<ul>
				<li>Inpatient fall resulting in a fracture (confirmed on x-ray)</li>
				<li>Inpatient fall resulting in a closed head injury (confirmed on CT)</li>
				<li>3rd degree perineal tear with anal sphincter involvement or 4th degree perineal tear</li>
				<li>Post partum haemorrhage &lt; 1500ml requiring massive blood transfusion or hysterectomy</li>
				<li>Hysterectomy post partum</li>
				<li>Neonatal birth trauma</li>  
			<ul>
				- Fracture<br>
				- Closed Head Injury / Brain trauma<br>
				- Haemorrhage<br>
				- Subcutaneous fat necrosis<br>
				- Organ trauma including any trauma to the eye<br>
				- Nerve trauma including 

Open in new window

0
Hi Experts,

I know I asked this before, but I am still having trouble making a top row stick.  I would like to avoid two <table" tags, as even though I'm using css, if the table data  is too big it messes up the lines.

Here's a simple prototype that I'd like to get working...
<!DOCTYPE html>
<!--
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
-->
<html>
    <head>
        <meta charset="UTF-8">
        <title></title>
        <style>
            #divData{
                outline: 1px solid red;
                height: 500px;
                width: 250px;
                position: relative;
                overflow: scroll;
            }
            #header{
               background-color: silver;
            }
        </style>
    </head>
    <body>
        <div id="divData">
            <table>
                <tr id="header">
                    <th>heading</th>
                </tr>
                                <tr>
                    <td>0.</td>
                </tr>
                                <tr>
                    <td>1.</td>
                </tr>
                                <tr>
                    <td>2.</td>
                </tr>
                                <tr>
                    <td>3.</td>
                </tr>
                                <tr>
                    <td>4.</td>
                </tr>
          

Open in new window

0
I have a website I am working which is hosted on GoDaddy.

The website enables users to input information into a HTML form and attach a document (can be a pdf or image) - part of the form is a drop down which pulls the options from one of the database tables.

I am trying to upload the form data to two different tables and upload the document/image to a folder on godaddy and store the file location in the mysql database.

I have set up a piece of code which uploads to one of the tables however seem to be having issues with both the upload of the file/image and uploading parts of the data to another table.

Also I would like the user to be navigated to another page and a message showing whether or not the upload was successful.

I have been using mysqli for the website so far.

Any help would be much appreciated.
0
I have a Wordpress post that when trying to save it just redirects to the 404 not found page.  

If I only have text in the post it works just fine, but when trying to show a code example of:
    $postTitle = str_replace(
        array("\xe2\x80\x98", "\xe2\x80\x99", "\xe2\x80\x9c", "\xe2\x80\x9d", "\xe2\x80\x93", "\xe2\x80\x94", "\xe2\x80\xa6"),
        array("'", "'", '"', '"', '-', '--', '...'),
        $postTitle);
    $postTitle = str_replace(
        array(chr(145), chr(146), chr(147), chr(148), chr(150), chr(151), chr(133)),
        array("'", "'", '"', '"', '-', '--', '...'),
        $postTitle);

Open in new window


In the post and saving it redirects to the 404 page, not sure why or what in this is causing the issue?
0

HTML

58K

Solutions

30K

Contributors

HTML (HyperText Markup Language) is the main markup language for creating web pages and other information to be displayed in a web browser, providing both the structure and content for what is sent from a web server through the use of tags. The current implementation of the HTML specification is HTML5.