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

I have an unordered list that has some wacky formatting caused by some padding for a div that it is contained in. How can I clear out the padding or fix the vertical alignment of the list itself?
0
On Demand Webinar: Networking for the Cloud Era
LVL 9
On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

I need to scrap a portion of the text from a table that is created after I enter an "ID" and and click search on a web page. The table is also located on 1 of 3 tabs that are created after the search is complete. I am currently able to enter the product "ID" and click search creating the table but  am not able to extract the data.
I have been trying to to use:

 Container = IE.document.getElementsByClassName("contId")(0).innertext
Worksheets("Sheet1").Cells(2, 3) = Container 

Open in new window

 

For some reason it seems like VBA doesn't read any of the HTML code on tab-1 which is where the text that I need to scrap is. I think this because as I work my way through the elements of the HTML code using getElementById("").outerHtml or getElementByClassName("").outerHtml I can return the line of code. However when I reach the tab I require "tab-1" it skips past to "tab-2". If I use an element that is unique to tab-1 I get Automation Error: Object variable or With block variable not set.

I have attached the HTML code.

Thanks in advance for your help
HTML.jpg
0
Hello Experts,

I am working on creating a PHP test/quiz program.

How would I compare the user's answer to the correct answer? If my form uses radio buttons, would I assign the correct answer's value to "1"?

Upon the user hitting the submit button, would I $_POST all their answers into an array using a for loop and then compare the data?

I'm really kind of stuck/confused on how to go about doing this... I would appreciate any and all ideas.
0
Hi,
I am working on a project where I have a MySQL database with +6.000 lines. The database is designed to search and find genealogical books from various sources.
I display data from the database in a table, and I need to be able define some of the rows as rows that can be expanded with a subrows (not a fixed number of rows), and that can be collapsed again when the expanded view is no longer needed.
All rows in the table has exactly the same content structure, and should be presented exactly alike in the table.
So it just the feature to expand and collapse chosen rows in the table I am after here.

This is the code I use right now to display my table (not collapsible):

            echo "<table><tr><th>Sogn</th> <th>Kirkebog</th> <th>Herred</th> <th>Amt</th> <th>Info</th> </tr>  " .$results['Sogn'];
 
            while($row = $result=mysqli_fetch_array($raw_results)) {
            echo "<tr><td>" . $row["Sogn"]. "</td><td>";
            if ($row["URL"]=="")
            echo  $row["Kirkebog"]."<td>". $row["Herred"]. "<td>" . $row["Amt"]. $row["Info"]."<td>";  
              else
            echo "<a href=\"".$row["URL"]."\"target=\"_blank\">" . $row["Kirkebog"]."<td>" .  $row["Herred"]. "<td>" . $row["Amt"]. "<td>"."<a href=\"".$row["Infourl"]."\"target=\"_blank\">" .$row["Info"]. "<td>". "</a>";
            echo "</td></tr>";
    }
             echo "</table>";
0
Hello,

I'm trying to use Notepad++ to clean up HTML where <p> and <li> tags are not closed properly.

However, when I run it with default config, it messes up some other ASP code.

How can I configure it to only focus on <p> and <li> type tags?
0
How do I download data from this page?
http://www.cmegroup.com/trading/agricultural/spot-call-data.html
I tried the following, but it only seems to give headers.
If it can be downloaded using a batch file that would be great.  Otherwise C# is fine.

Dim uriString As String = "http://www.cmegroup.com/trading/agricultural/spot-call-data.html"
        ' Create a new WebClient instance.
        Dim myWebClient As New WebClient()

        Console.WriteLine(("Searching " + uriString + " ......."))

        myWebClient.DownloadFile(uriString, "C:\temp\searchresult.htm")

Open in new window

0
Hi - I wrote the below functions/html to create 10 more dropdowns upon clicking the button, but for some reason it is not working.
what am i doing wrong ?

My requirement:
I have 5 dropdowns on left side and right side by default
when i click on add 10 rows button i should see 10 more dropdowns on left side and 10 more  dropdowns on right side (total 15)

<!DOCTYPE html>
<html>
<body>

<script>
function addDataRows(divname) {
   var newDiv=document.createElement('div');
   var html = '<select>
		<option value="volvo">Volvo</option>
		<option value="saab">Saab</option>
		<option value="opel">Opel</option>
		<option value="audi">Audi</option>
		</select>';
   newDiv.innerHTML= html;
   document.getElementById(divname).appendChild(newDiv);
}
function addLRows(divname) {
   var newDiv=document.createElement('div');
   var html = '<select>
				<option value="volvo">Volvo</option>
				  <option value="saab">Saab</option>
				  <option value="opel">Opel</option>
				  <option value="audi">Audi</option>
				</select>';
   newDiv.innerHTML= html;
   document.getElementById(divname).appendChild(newDiv);
}
function add10rows(Container1, Container2){
	var rowCnt;
	for(rowCnt = 1; rowCnt<11; rowCnt++) {
		addDataRows(Container1)
		addLRows(LocContainer)
	}
}
</script>
<table>
<tr>
	<table>
		<td align="left" nowrap width="40%" style="padding-left: 10px; padding-bottom: 10px">
				<select>
				<option value="volvo">Volvo</option>
					<option value="saab">Saab</option>
				  

Open in new window

0
visual studios express latest edition

I tried to run javacript or html code but there is no "run" button

I know I can find file on a browser but that takes too long
0
Hi Experts,

Is there a simple way to do a callout box (div) with CSS

Thank you.
0
jquery
node.js
css
javascript
html5

great to learn on w3schools.com because code editor is provided and examples are short


is there another w3schools.com so I can become a better beginner
not looking for 500+ characters code samples where i create entire websites
0
Technology Partners: We Want Your Opinion!
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

https://mva.microsoft.com/en-us/training-courses/preparing-for-exam-mta-98375-html5-app-development-fundamentals-academic-edition-12434?l=lPZgNs8OB_9405192806

microsoft html 5 certification

in this lesson
code editor: microsoft web matrix was used
but this code editor does not exist any more

I think visual studios is next but this code editor may be too big and confusing
what code editor replaced microsoft web matrix
0
Hi,

I have inherited some code and and am making some changes to re-sequence HTML tables.

In the code in this fiddle https://jsfiddle.net/SimonPrice/6e9acbo6/5/ you will see that there are nested tables and nested tables within alredy nested tables.

You will see from the first set of nested tables the symptoms that I am experiencing where if I click the up \ down arrow I have to double click in order for the event to fire when this should just be a single click.

Any and all help in resolving this to a single click would be gratefully received.
0
i have emailed a html document as MS word document in attachment in c# code. So while opening the attahment in my local machine it is opening in MS word 2010(installed in my local). earlier we used to open it in MS word 2003 .So in 2010 ,the margins of the page are getting changed . how can i fx the margins of the page as Microsoft office 2003 default margins (1.25 inches right and left)? so that everytime the attachment is opened in any version of Microsoft word ,the margins remain same.
Also ,if i open the same document in 2003 ,the margins are correct(right and left 1.25") while opening in 2010 the margins are getting changed to 2010 default margins(right and left 1")   .I want it to be 1.25" in 2010 also.

if i open in 2003 and save it then if i open the saved doc in 2010 then the margin is coming as default 2003 margin. Soi want to do this by code.
0
Hello Experts-

Wondering if there is a way for me to only show the first 30 characters when using a tooltip?  I am using the following.....

<style>
/* Tooltip container */
.tooltip {
    position: relative;
    display: inline-block;
}

/* Tooltip text */
.tooltip .tooltiptext {
    visibility: hidden;
    width: 220px;
    background-color: black;
    color: #fff;
    text-align: center;
    padding: 5px 0;
    border-radius: 6px;
 
    position: absolute;
    z-index: 1;
}

/* Show the tooltip text */
.tooltip:hover .tooltiptext {
    visibility: visible;
}
</style>

Open in new window


And this in my HTML....
<div class="tooltip"><a href="#scriptURL#" target="_blank">#scriptURL#</a>
  										<span class="tooltiptext">
                                    #scriptURL#</span>

Open in new window

0
Hello I've read it is possible in SSRSto add HTMl to text boxes to change the font size colour with in a line of text is it possible to do this in a data label on a chart ?

If so how?

Thanks
0
Hi,

I have created a simple landing page for several sites which contain data (health of SCCM server, health of Exchange server, health of VMWare, Windows etc).
The landing page is made in Word.

Example:

Welcome to our Monitoring Site!

Linkto VMWare
Linkto Exchange
Linkto Windows: Windows7/Windows10 ...


It is very basic and I like to pimp it. Got also older version of DreamWeaver which I can work with (limited).
Please advise howto.

J.
0
I am in need for a method to convert from a richtextbox to html so I can run a RDLC report. It hs to be in the following format:

<div><font face="Engravers MT" size=4>THE [OrgName] RECOGNIZES [FirstName] [LastName] FOR [HisHer] OUTSTANDING SERVICE TO THE [OrgName]. FROM THE PERIOD [StartDate] TO [PrintDate] WHILE ASSISGNED AS A [Title], [OrgName], [Title] [LastName] CONTRIBUTED COUTLESS HOURS OF VOLUNTEER SERVICE TO THE TOWN OF [OrgCity]. [Title] [LastName]'S DEDICATION AND SERVICE REFLECTS GREAT CREDIT UPON [HimHer]SELF, LAW ENFORCEMENT EXPLORING, [OrgName] AND THE TOWN OF [OrgCity]. </font></div>

<div><font face="Engravers MT" size=4>Given on this day [PrintDate]</font></div>,

OR does anyone know a better way to take a Richtextbox stored in the DB and print it to a RDLC. We are a nonprofit an paying for components is not a option

Thanks
0
https://mva.microsoft.com/en-us/training-courses/preparing-for-exam-mta-98375-html5-app-development-fundamentals-academic-edition-12434?l=lPZgNs8OB_9405192806

microsoft html 5 certification

could you find me a syllabus so I can check off what I know and dont know

please add zones
0
I need to open an form url into a certain page master page in asp.net.

    <form method="post" action="https://test.authorize.net/payment/payment" id="formAuthorizeNetPage1" >
can it be done to open checkout.aspx and have a iframe display the information or does it have to be on the same page?
0
Free Tool: ZipGrep
LVL 9
Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

I have a HTML code and i want to store that code in database in XML Format.
i also want to get that data in HTML.
How do i achieve this using Asp.net[VB.net]?
i'm using Oracle 9i for the database things.
0
Hi all

I am a Web designer, I have no more experience with PHP and mysql. I am a beginner on PHP platform I was working on bank ifsc code search engine which provides all branch details for every bank in India. I used static html to create a separate folder for each bank, state, city and branch. I have Indian banks ifsc code mysql database. how to make this on dynamically?

I want seo friendly url like this and i also want dynamically changing meta title,description and keywords

Reference link http://myifsccodes.com/state-bank-of-india/maharashtra

Please help me If i am going to static it will take more time
0
How to display html detail when clicking submipls
0
								   <select  id="select_weeks" style="width:100% " class="inps form-controls">
									  
									<?php 
									
									//$week_date = $row_meal_week['date'];
									for($i=0;$i< 13;$i++) {
								    $weekNumnew = $weekNum + $i;
								    $week_date = date('Y-m-d', strtotime("$thisYear-W$weekNumnew-1"));
								    
								    
								    ?>
										<option <?=$selected_week==$weekNumnew?'selected':''?> value ="<?php echo $weekNumnew?>" ><?php echo "Week of ". date('F dS', strtotime($week_date));?></option>
									<?php 
									} ?>
									</select>

Open in new window


I have this to do a dropdown of the days, however I want to write
"Please Chose a Day" without having it break the code, because alot of my code relies on weeknum
0
Hi. I have a folder structure like:
Untitled-1.jpg
Pages contains the nunjucks files, results contains the resulting html files from running gulp nunjucks, and templates are the usual.

Everything works fine with one exception. When I run gulp nunjucks. the resulting meta title and meta description look like this:
<title>Default Title</title>
<meta name="description" content="Default Description">

Everything looks set up correctly to me.

The pages say: {% extends "layout.html" %}. layout.html says:{% include "partials/head.html" %} and partials/head says:
  <title>{% block title %}Default Title{% endblock %}</title>
  <meta name="description" content="{% block description %}Default Description{% endblock %}">

I've attached the gulplfile. I'm sure it must be something in there that isn't set up correctly. I hope you can help.

Let me know if you need more info, snippets or other files.
gulpfile.js
0
This is my main.html codeThis is my main.html codeThis is my insert.php codeAnd this is the error which always arises whenver i use localhostHi There I have been getting this issue lately. I don't know where this error come from. Whenever I use my localhost(Obviously i need it for my php files to run) this error arises in console

Error in response to storage.get: SyntaxError: Unexpected token <
    at Object.callback (chrome-extension://nkeimhogjdpnpccoofpliimaahmaaome/js/content.js:1:50)
    at chrome-extension://nkeimhogjdpnpccoofpliimaahmaaome/js/content.js:1:22

This error occurs for all files which i open using localhost.But when I used without localhost ie simply open the html file it works just fine.
Currently I'm learning Angular.js
Here I want to insert data in database using ANGULAR & PHP
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.