Skip to content
Courses
DSA to Development
Get IBM Certification
Newly Launched!
Master Django Framework
Become AWS Certified
For Working Professionals
Interview 101: DSA & System Design
Data Science Training Program
JAVA Backend Development (Live)
DevOps Engineering (LIVE)
Data Structures & Algorithms in Python
For Students
Placement Preparation Course
Data Science (Live)
Data Structure & Algorithm-Self Paced (C++/JAVA)
Master Competitive Programming (Live)
Full Stack Development with React & Node JS (Live)
Full Stack Development
Data Science Program
All Courses
Tutorials
Data Structures & Algorithms
ML & Data Science
Interview Corner
Programming Languages
Web Development
CS Subjects
DevOps And Linux
School Learning
Practice
Build your AI Agent
GfG 160
Problem of the Day
Practice Coding Problems
GfG SDE Sheet
Contests
Accenture Hackathon (Ending Soon!)
GfG Weekly [Rated Contest]
Job-A-Thon Hiring Challenge
All Contests and Events
DSA
Practice Problems
Python
C
C++
Java
Courses
Machine Learning
DevOps
Web Development
System Design
Aptitude
Projects
Sign In
▲
Similar Topics
Web Technologies
40.2k+ articles
DSA
22.3k+ articles
Python
20.1k+ articles
Experiences
17k+ articles
Interview Experiences
13.6k+ articles
School Learning
11.6k+ articles
JavaScript
11.5k+ articles
PHP
3.8k+ articles
PHP-function
2.2k+ articles
Computer Subject
1.7k+ articles
PHP-DOM
81 posts
Popular Articles
Recent Articles
PHP | DOMXPath evaluate() Function
Last Updated: 13 July 2021
The DOMXPath::evaluate() function is an inbuilt function in PHP which is used to execute the given XPath expression which is a pattern defin
...read more
Web Technologies
PHP-function
PHP
PHP-DOM
PHP | DOMNode replaceChild() Function
Last Updated: 17 March 2020
The DOMNode::replaceChild() function is an inbuilt function in PHP which is used replace the old child node with the passed new node. Furthe
...read more
Web Technologies
PHP-function
PHP
PHP-DOM
PHP | DOMXPath query() Function
Last Updated: 13 March 2020
The DOMXPath::query() function is an inbuilt function in PHP which is used to evaluate the given XPath expression.Syntax:DOMNodeList DOMXPat
...read more
Web Technologies
PHP-function
PHP
PHP-DOM
Similar Topics
Web Technologies
40.2k+ articles
DSA
22.3k+ articles
Python
20.1k+ articles
Experiences
17k+ articles
Interview Experiences
13.6k+ articles
School Learning
11.6k+ articles
JavaScript
11.5k+ articles
PHP
3.8k+ articles
PHP-function
2.2k+ articles
Computer Subject
1.7k+ articles
PHP | DOMElement setAttribute() Function
Last Updated: 05 March 2020
The DOMElement::setAttribute() function is an inbuilt function in PHP which is used to set an attribute with given name to the given value.
...read more
Web Technologies
PHP-function
PHP
PHP-DOM
PHP | DOMElement removeAttribute() Function
Last Updated: 26 February 2020
The DOMElement::removeAttribute() function is an inbuilt function in PHP which is used to remove a attribute with specific name from the ele
...read more
Web Technologies
PHP-function
PHP
PHP-DOM
PHP | DOMDocument validate() Function
Last Updated: 26 February 2020
The DOMDocument::validate() function is an inbuilt function in PHP which is used to validate the document based on its DTD (Document Type De
...read more
Web Technologies
PHP-function
PHP
PHP-DOM
PHP | DOMElement getElementsByTagName() Function
Last Updated: 25 April 2025
The DOMElement::getElementsByTagName() function is an inbuilt function in PHP which is used to get the elements by tagname.Syntax: DOMNodeL
...read more
Web Technologies
PHP-function
PHP
PHP-DOM
PHP | DOMDocument getElementById() Function
Last Updated: 20 February 2020
The DOMDocument::getElementById() function is an inbuilt function in PHP which is used to search for an element with a certain id.Syntax:DOM
...read more
Web Technologies
PHP-function
PHP
PHP-DOM
PHP | DOMElement getAttribute() Function
Last Updated: 20 February 2020
The DOMElement::getAttribute() function is an inbuilt function in PHP which is used to get the value of the attribute with name for the curr
...read more
Web Technologies
PHP-function
PHP
PHP-DOM
PHP | DOMDocument loadHTMLFile() Function
Last Updated: 30 August 2019
The DOMDocument::loadHTMLFile() function is an inbuilt function in PHP which is used to load HTML from a file.Syntax:bool DOMDocument::loadH
...read more
Web Technologies
PHP-function
PHP
PHP-DOM
PHP | DOMDocument loadHTML() Function
Last Updated: 30 August 2019
The DOMDocument::loadHTML() function is an inbuilt function in PHP which is used to load HTML file from a string. Syntax:bool DOMDocument::l
...read more
Web Technologies
PHP-function
PHP
PHP-DOM
PHP | DOMDocument loadXML() Function
Last Updated: 30 August 2019
The DOMDocument::loadXML() function is an inbuilt function in PHP which is used to load the XML file from a string.Syntax:mixed DOMDocument:
...read more
Web Technologies
PHP-function
PHP
PHP-DOM
PHP | DOMDocument save() Function
Last Updated: 29 August 2019
The DOMDocument::save() function is an inbuilt function in PHP which is used to create an XML document from the DOM representation. This fun
...read more
Web Technologies
PHP-function
PHP
PHP-DOM
PHP DOMDocument saveHTML() Function
Last Updated: 05 April 2023
The DOMDocument::saveHTML() function is an inbuilt function in PHP that is used to create an HTML document from the DOM representation. This
...read more
Web Technologies
PHP-function
PHP
PHP-DOM
PHP | DOMDocument load() Function
Last Updated: 29 August 2019
The DOMDocument::load() function is an inbuilt function in PHP which is used to load an XML document from a file. Syntax:mixed DOMDocument::
...read more
Web Technologies
PHP-function
PHP
PHP-DOM
1
2
3
4
5
6
>>
Last
1
2
3
4
5
6
>>
Last
1
2
3
4
>>
Last
We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our
Cookie Policy
&
Privacy Policy
Got It !